@@ -19,16 +19,32 @@ export const HeroSection = ({ textContent }: HeroSectionProps) => {
1919 >
2020 < div className = "absolute left-8 right-8 top-0 h-[1px] bg-neutral-35 lg:left-32 lg:right-32" />
2121
22- < div className = "hidden w-full items-center justify-between gap-8 lg:flex" >
23- < div className = "flex flex-col gap-8 lg:w-1/2" >
22+ < div className = "relative w-full " >
23+ < div className = "absolute inset-0 z-10 translate-x-96 transform lg:w-full" >
24+ < Image
25+ src = { getImage ( `/images/datacenters-and-certifications/datacenters-hero.webp` ) }
26+ alt = "Internxt data centers and certifications"
27+ width = { 841 }
28+ height = { 200 }
29+ quality = { 100 }
30+ className = "h-[393px] w-full"
31+ />
32+ < Image
33+ src = { getImage ( `/images/datacenters-and-certifications/datacenters.webp` ) }
34+ alt = "Internxt data centers and certifications"
35+ width = { 433 }
36+ height = { 200 }
37+ quality = { 100 }
38+ className = "absolute right-96 top-2 h-[433px] w-[433px]"
39+ />
40+ </ div >
41+ < div className = "relative z-10 flex flex-col gap-8 self-start p-4 lg:w-1/2" >
2442 < h1 className = "whitespace-pre-line text-30 font-semibold leading-tight text-gray-95 lg:text-5xl" >
2543 < HighlightText text = { textContent . title } />
2644 </ h1 >
27-
2845 < p className = "whitespace-pre-line text-lg font-normal leading-tight text-gray-55 lg:text-xl" >
2946 { textContent . description }
3047 </ p >
31-
3248 < ul className = "flex flex-col gap-2" >
3349 { textContent . features . map ( ( feat ) => (
3450 < li key = { feat } className = "flex items-center gap-2" >
@@ -38,19 +54,6 @@ export const HeroSection = ({ textContent }: HeroSectionProps) => {
3854 ) ) }
3955 </ ul >
4056 </ div >
41-
42- < div className = "lg:w-1/2" >
43- < Image
44- src = { getImage ( `/images/datacenters-and-certifications/hero.webp` ) }
45- alt = "Internxt data centers and certifications"
46- width = { 500 }
47- height = { 500 }
48- quality = { 100 }
49- className = "h-auto w-full"
50- priority
51- sizes = "(max-width: 1024px) 100vw, 50vw"
52- />
53- </ div >
5457 </ div >
5558
5659 < div className = "flex flex-col gap-6 lg:hidden" >
@@ -63,16 +66,6 @@ export const HeroSection = ({ textContent }: HeroSectionProps) => {
6366 { textContent . description }
6467 </ p >
6568 </ div >
66-
67- < Image
68- src = { getImage ( `/images/datacenters-and-certifications/hero.webp` ) }
69- alt = "Internxt data centers and certifications"
70- width = { 500 }
71- height = { 500 }
72- quality = { 100 }
73- className = "hidden h-auto w-full lg:flex"
74- sizes = "100vw"
75- />
7669 </ div >
7770 </ section >
7871 ) ;
0 commit comments