@@ -6,75 +6,58 @@ import { marked } from 'marked';
66const { content } = Astro .props as ContentProps ;
77const htmlContent = marked (content .body );
88const companies = content .data .companies || [];
9- const investors = content .data .investors || [];
10- const link = content .data .link ;
119---
1210
1311<section class =" bg-aurora-moss section--block section--block--pad" >
14- <div class =" section--block-inner" >
15- <!-- Team Header -->
16- <div class =" mb-16 md:mb-20" >
17- <div class =" flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between" >
18- <h2 class =" h2-section" >{ content .data .title } </h2 >
19- <div class =" section--block-content-text text-lg lg:max-w-2xl" >
20- <div set:html ={ htmlContent } />
21- </div >
22- </div >
23- </div >
12+ <div class =" max-width" >
13+ <div class =" border-midnight-fjord relative z-10 m-auto border" >
14+ <div
15+ class =" fade-in--pure relative z-10 flex flex-col px-6 pt-8 pb-6 md:px-11 md:pt-11 lg:px-16 lg:pt-16 xl:px-20 xl:pt-20"
16+ data-reveal =" fade-in--pure--visible"
17+ data-reveal-delay =" 100"
18+ >
19+ <!-- Team Header -->
2420
25- <!-- Companies Section -->
26- {
27- companies .length > 0 && (
28- <div >
29- <h3 class = " text-midnight-fjord/80 font-alliance mb-8 text-sm font-semibold tracking-wider uppercase md:text-base" >
30- Companies we've helped to build
31- </h3 >
32- <div class = " logo-grid logo-grid--3-6" >
33- { companies .map ((company ) => (
34- <div class = " logo-item logo-item--landscape" >
35- <Image
36- src = { company .img }
37- alt = { company .alt ?? ' ' }
38- class = " logo-img logo-img--standard"
39- />
40- </div >
41- ))}
21+ <div
22+ class =" mx-auto mb-10 flex w-full flex-col justify-between gap-9 text-center md:mb-20 md:flex-row md:text-left lg:mb-20 xl:mb-24"
23+ >
24+ <div class =" w-full max-w-none self-center md:max-w-55 lg:max-w-xs" >
25+ <h2 class =" datum-text-8xl" >{ content .data .title } </h2 >
26+ </div >
27+ <div class =" max-w-115 flex-grow self-center" >
28+ <span class =" datum-text-lg" >
29+ <div set:html ={ htmlContent } />
30+ </span >
4231 </div >
4332 </div >
44- )
45- }
4633
47- <!-- Investors Section -->
48- {
49- investors .length > 0 && (
50- <div >
51- <h3 class = " text-midnight-fjord/80 font-alliance mb-8 text-sm font-semibold tracking-wider uppercase md:text-base" >
52- Investors who have trusted us to execute
53- </h3 >
54- <div class = " logo-grid logo-grid--3-6" >
55- { investors .map ((investor ) => (
56- <div class = " logo-item logo-item--landscape" >
57- <Image
58- src = { investor .img }
59- alt = { investor .alt ?? ' ' }
60- class = " logo-img logo-img--standard"
61- />
62- </div >
63- ))}
34+ <div class =" mb-2.5 block w-full py-2.5" >
35+ <span
36+ class =" after:bg-midnight-fjord datum-docs-sidebar-headings flex flex-col items-center justify-center gap-7.5 align-middle uppercase after:block after:h-[1px] after:w-full after:content-[''] md:flex-row"
37+ >
38+ <p class =" mb-0 text-balance md:whitespace-nowrap" >Companies we've helped to build</p >
39+ </span >
40+ </div >
6441
65- { link && (
66- <div class = " logo-item logo-item--landscape" >
67- <a
68- href = { link .url }
69- class = " text-midnight-fjord/80 hover:text-midnight-fjord text-base transition-colors"
70- >
71- { link .label }
72- </a >
42+ <!-- Companies Section -->
43+ {
44+ companies .length > 0 && (
45+ <div >
46+ <div class = " grid grid-cols-3 overflow-x-auto md:grid-cols-6" >
47+ { companies .map ((company ) => (
48+ <div class = " flex aspect-29/21 items-center justify-center" >
49+ <Image
50+ src = { company .img }
51+ alt = { company .alt ?? ' ' }
52+ class = " logo-img logo-img--standard"
53+ />
54+ </div >
55+ ))}
7356 </div >
74- ) }
75- </ div >
76- </ div >
77- )
78- }
57+ </ div >
58+ )
59+ }
60+ </ div >
61+ </ div >
7962 </div >
8063</section >
0 commit comments