@@ -225,6 +225,7 @@ const HomePage = ({
225
225
226
226
{ /* Use Cases - A new way to use the internet */ }
227
227
< section
228
+ id = "use"
228
229
className = { cn (
229
230
"max-lg:-mx-4 max-lg:flex max-lg:w-[100vw] max-lg:flex-col max-lg:overflow-hidden max-lg:px-4 sm:max-lg:-mx-6 sm:max-lg:px-6" , // Mobile: Swiper cards
230
231
"lg:grid lg:grid-cols-bento lg:gap-4" // Desktop: BentoBox grid
@@ -275,7 +276,7 @@ const HomePage = ({
275
276
</ section >
276
277
277
278
{ /* Activity - The strongest ecosystem */ }
278
- < Section >
279
+ < Section id = "activity" variant = "responsiveFlex" >
279
280
< SectionBanner >
280
281
< TwImage src = { ActivityImage } alt = "" />
281
282
</ SectionBanner >
@@ -295,7 +296,11 @@ const HomePage = ({
295
296
</ Section >
296
297
297
298
{ /* Learn - Understand Ethereum */ }
298
- < Section className = "md:flex-row-reverse" >
299
+ < Section
300
+ id = "learn"
301
+ variant = "responsiveFlex"
302
+ className = "md:flex-row-reverse"
303
+ >
299
304
< SectionBanner >
300
305
< TwImage src = { LearnImage } alt = "" />
301
306
</ SectionBanner >
@@ -341,7 +346,7 @@ const HomePage = ({
341
346
{ /* TODO: Add "The Internet Is Changing" section */ }
342
347
343
348
{ /* Builders - Blockchain's biggest builder community */ }
344
- < Section >
349
+ < Section id = "builders" variant = "responsiveFlex" >
345
350
< SectionBanner >
346
351
< TwImage src = { BuildersImage } alt = "" />
347
352
</ SectionBanner >
@@ -410,7 +415,11 @@ const HomePage = ({
410
415
</ Section >
411
416
412
417
{ /* Ethereum.org community - Built by the community */ }
413
- < Section className = "md:flex-row-reverse" >
418
+ < Section
419
+ id = "community"
420
+ variant = "responsiveFlex"
421
+ className = "md:flex-row-reverse"
422
+ >
414
423
< SectionBanner >
415
424
< TwImage src = { CommunityImage } alt = "" />
416
425
</ SectionBanner >
@@ -499,7 +508,7 @@ const HomePage = ({
499
508
</ Section >
500
509
501
510
{ /* Recent posts */ }
502
- < div className = "w-full ">
511
+ < Section id = "recent ">
503
512
< h3 className = "mb-4 mt-2 text-4xl font-black lg:text-5xl" >
504
513
{ t ( "page-index:page-index-posts-header" ) }
505
514
</ h3 >
@@ -554,10 +563,10 @@ const HomePage = ({
554
563
) ) }
555
564
</ div >
556
565
</ div >
557
- </ div >
566
+ </ Section >
558
567
559
- { /* Event */ }
560
- < div className = "w-full ">
568
+ { /* Events */ }
569
+ < Section id = "events ">
561
570
< h3 className = "mb-4 mt-2 text-4xl font-black lg:text-5xl" >
562
571
{ t ( "page-index:page-index-events-header" ) }
563
572
</ h3 >
@@ -623,10 +632,11 @@ const HomePage = ({
623
632
{ t ( "page-index:page-index-events-action" ) } < MdChevronRight />
624
633
</ ButtonLink >
625
634
</ div >
626
- </ div >
635
+ </ Section >
627
636
628
637
{ /* Join ethereum.org */ }
629
- < div
638
+ < Section
639
+ id = "join"
630
640
className = { cn (
631
641
"before:absolute before:-inset-px before:bottom-0 before:z-hide before:rounded-[calc(theme(borderRadius.4xl)+1px)] before:content-['']" , // Border/gradient positioning
632
642
"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
@@ -655,7 +665,7 @@ const HomePage = ({
655
665
) }
656
666
</ div >
657
667
</ div >
658
- </ div >
668
+ </ Section >
659
669
</ div >
660
670
</ Flex >
661
671
)
0 commit comments