Skip to content

Commit 5ea6b8a

Browse files
feat: added case study (#11)
1 parent 6ea031f commit 5ea6b8a

4 files changed

Lines changed: 50 additions & 53 deletions

File tree

public/logos/collect.svg

Lines changed: 16 additions & 0 deletions
Loading

src/components/ui/sections/LogoSection.tsx

Lines changed: 28 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,41 @@
11
'use client'
22
import { content } from '@/content/homepage/data'
3-
import Marquee from 'react-fast-marquee'
43
import { motion } from 'motion/react'
54

65
const LogoSection = () => {
6+
const logos = content.logoSection.logos as any[]
77
return (
8-
<section className={'py-8 md:py-13'}>
8+
<section className={'py-12 md:py-16'}>
99
<div className={'container'}>
10-
<div className={'w-full flex justify-center'}>
11-
<div>
12-
<motion.h2
13-
initial={{ opacity: 0 }}
14-
whileInView={{ opacity: 1 }}
15-
transition={{ duration: 0.5, ease: 'easeInOut', delay: 0.2 }}
16-
viewport={{ once: true }}
17-
className={'text-xs! max-lg:text-center max-w-100'}>
18-
{content.logoSection.title}
19-
</motion.h2>
20-
</div>
21-
</div>
22-
</div>
23-
<div className={'w-full pt-8 overflow-hidden'}>
24-
<motion.div
25-
initial={{ opacity: 0 }}
26-
whileInView={{ opacity: 1 }}
27-
transition={{ duration: 0.5, ease: 'easeInOut', delay: 0.2 }}
28-
viewport={{ once: true }}>
29-
<Marquee
30-
autoFill={true}
31-
pauseOnHover={true}
32-
speed={100}
33-
loop={0}
34-
gradient={true}
35-
gradientColor={'#F3F4F4'}
36-
className={'flex'}>
37-
{content.logoSection.logos.map((logo, index) => (
38-
<div key={index}>
10+
<div className={'w-full flex flex-col items-center gap-8'}>
11+
<motion.h2
12+
initial={{ opacity: 0 }}
13+
whileInView={{ opacity: 1 }}
14+
transition={{ duration: 0.5, ease: 'easeInOut', delay: 0.2 }}
15+
viewport={{ once: true }}
16+
className={'text-xs! max-lg:text-center'}>
17+
{content.logoSection.title}
18+
</motion.h2>
19+
<motion.div
20+
initial={{ opacity: 0 }}
21+
whileInView={{ opacity: 1 }}
22+
transition={{ duration: 0.5, ease: 'easeInOut', delay: 0.3 }}
23+
viewport={{ once: true }}
24+
className={'flex flex-wrap justify-center gap-10'}>
25+
{logos.map((logo, index) => (
26+
<a
27+
key={index}
28+
href={logo.href || '#'}
29+
target="_blank"
30+
rel="noopener noreferrer"
31+
className={'h-10 md:h-12 transition-opacity hover:opacity-70'}>
3932
{logo.src && (
40-
<div className={'h-13 w-20 md:w-32 lg:w-40 px-4'}>
41-
<img
42-
src={logo.src}
43-
alt={logo.alt}
44-
width={300}
45-
height={300}
46-
className={'max-h-full max-w-full object-contain'}
47-
/>
48-
</div>
33+
<img src={logo.src} alt={logo.alt} className={'h-full w-auto object-contain'} />
4934
)}
50-
</div>
35+
</a>
5136
))}
52-
</Marquee>
53-
</motion.div>
37+
</motion.div>
38+
</div>
5439
</div>
5540
</section>
5641
)

src/content/homepage/data.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ export const content = {
1616
]
1717
},
1818
logoSection: {
19-
title:
20-
'Used by teams building agent payments, stablecoin settlement workflows, and always-on market plumbing.',
19+
title: 'Case Studies',
2120
logos: [
2221
{
23-
src: 'https://www.gstatic.com/marketing-cms/assets/images/86/b7/8533a624471c9666a0bb407af3ec/google-logo.png',
24-
alt: 'Celestia'
25-
},
26-
{
27-
src: '',
28-
alt: 'Celestia'
22+
src: '/logos/collect.svg',
23+
alt: 'Collect',
24+
href: 'https://drive.google.com/file/d/1ouTiEgSQfRDGZDUeWRr7nDlpR24JpMJ4/preview'
2925
}
3026
]
3127
},
@@ -269,7 +265,7 @@ export const content = {
269265
{
270266
title: 'ev-abci',
271267
text: 'Compatibility layer for Cosmos SDK execution environment.'
272-
},
268+
}
273269
],
274270
cta: [
275271
{

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import EcosystemSection from '@/components/ui/sections/EcosystemSection'
1313
title="Evolve"
1414
description="A production stack on Celestia for teams building systems that need deterministic processing, policy controls, and always-on operations without being a tenant on shared chains.">
1515
<HomeHeroSection client:load />
16-
<!-- <LogoSection client:only="react" /> -->
16+
<LogoSection client:only="react" />
1717
<ValuePropSection client:only="react" />
1818
<ArchitectureSection client:only="react" />
1919
<UseCasesSection client:only="react" />

0 commit comments

Comments
 (0)