@@ -223,8 +223,8 @@ const HomePage = ({
223
223
) ) }
224
224
</ div >
225
225
226
- { /* A new way to use the internet */ }
227
- < div
226
+ { /* Use Cases - A new way to use the internet */ }
227
+ < Section
228
228
className = { cn (
229
229
"max-lg:-mx-4 max-lg:w-[100vw] max-lg:overflow-hidden max-lg:px-4 sm:max-lg:-mx-6 sm:max-lg:px-6" , // Mobile: Swiper cards
230
230
"lg:grid lg:grid-cols-bento lg:gap-4" // Desktop: BentoBox grid
@@ -272,8 +272,9 @@ const HomePage = ({
272
272
className = { cn ( className , "max-lg:hidden" ) } // Desktop only
273
273
/>
274
274
) ) }
275
- </ div >
275
+ </ Section >
276
276
277
+ { /* Activity - The strongest ecosystem */ }
277
278
< Section >
278
279
< SectionBanner >
279
280
< TwImage src = { ActivityImage } alt = "" />
@@ -293,6 +294,7 @@ const HomePage = ({
293
294
</ SectionContent >
294
295
</ Section >
295
296
297
+ { /* Learn - Understand Ethereum */ }
296
298
< Section className = "md:flex-row-reverse" >
297
299
< SectionBanner >
298
300
< TwImage src = { LearnImage } alt = "" />
@@ -338,6 +340,7 @@ const HomePage = ({
338
340
339
341
{ /* TODO: Add "The Internet Is Changing" section */ }
340
342
343
+ { /* Builders - Blockchain's biggest builder community */ }
341
344
< Section >
342
345
< SectionBanner >
343
346
< TwImage src = { BuildersImage } alt = "" />
@@ -406,6 +409,7 @@ const HomePage = ({
406
409
</ SectionContent >
407
410
</ Section >
408
411
412
+ { /* Ethereum.org community - Built by the community */ }
409
413
< Section className = "md:flex-row-reverse" >
410
414
< SectionBanner >
411
415
< TwImage src = { CommunityImage } alt = "" />
@@ -494,6 +498,7 @@ const HomePage = ({
494
498
</ SectionContent >
495
499
</ Section >
496
500
501
+ { /* Recent posts */ }
497
502
< div className = "w-full" >
498
503
< h3 className = "mb-4 mt-2 text-4xl font-black lg:text-5xl" >
499
504
{ t ( "page-index:page-index-posts-header" ) }
@@ -551,6 +556,7 @@ const HomePage = ({
551
556
</ div >
552
557
</ div >
553
558
559
+ { /* Event */ }
554
560
< div className = "w-full" >
555
561
< h3 className = "mb-4 mt-2 text-4xl font-black lg:text-5xl" >
556
562
{ t ( "page-index:page-index-events-header" ) }
@@ -619,9 +625,10 @@ const HomePage = ({
619
625
</ div >
620
626
</ div >
621
627
628
+ { /* Join ethereum.org */ }
622
629
< div
623
630
className = { cn (
624
- "before:absolute before:-inset-px before:bottom-0 before:z-hide before:rounded-4xl before:content-['']" , // Border/gradient positioning
631
+ "before:absolute before:-inset-px before:bottom-0 before:z-hide before:rounded-[calc(theme(borderRadius. 4xl)+1px)] before:content-['']" , // Border/gradient positioning
625
632
"before:bg-gradient-to-b before:from-primary-hover/[0.24] before:to-primary-hover/[0.08] before:dark:from-primary-hover/40 before:dark:to-primary-hover/20" , // Border/gradient coloring
626
633
"relative inset-0 rounded-4xl bg-background" // Paint background color over card portion
627
634
) }
0 commit comments