@@ -51,16 +51,28 @@ export default function HomePage() {
5151 < Center
5252 bg = "linear-gradient(-180deg, #9AE99D 0%, #FFF6DF 100%)"
5353 flexDir = "column"
54- h = " 1080px"
54+ h = { [ null , null , null , null , ' 1080px' ] }
5555 overflow = "hidden"
5656 pb = "60px"
5757 pos = "relative"
58- pt = "128px"
59- px = " 40px"
58+ pt = { [ '120px' , null , null , '148px' ] }
59+ px = { [ '20px' , null , null , ' 40px' ] }
6060 >
61- < VStack alignItems = "flex-start" gap = "50px" maxW = "1280px" w = "100%" >
62- < VStack alignItems = "flex-start" gap = "$spacingSpacing32" w = "100%" >
63- < Text color = "#10131F" textAlign = "center" typography = "displaySm" >
61+ < VStack
62+ alignItems = { [ 'center' , null , null , null , 'flex-start' ] }
63+ gap = "50px"
64+ maxW = "1280px"
65+ pos = "relative"
66+ w = "100%"
67+ >
68+ < VStack
69+ alignItems = "flex-start"
70+ gap = "$spacingSpacing32"
71+ pos = "relative"
72+ w = "100%"
73+ zIndex = "1"
74+ >
75+ < Text color = "#10131F" typography = "displaySm" >
6476 Lorem ipsum dolor sit amet, < br />
6577 consectetur adipiscing elit.
6678 </ Text >
@@ -72,15 +84,19 @@ export default function HomePage() {
7284 Etiam auctor cursus urna sit amet elementum.
7385 </ Text >
7486 </ VStack >
87+ < Box
88+ bg = "url(/images/hero-figure.webp) center/cover no-repeat"
89+ bgPosition = "center"
90+ bgSize = "contain"
91+ boxSize = { [ '350px' , null , null , null , '750px' ] }
92+ pos = { [ null , null , null , null , 'absolute' ] }
93+ right = "-150px"
94+ top = "50%"
95+ transform = { [ null , null , null , null , 'translateY(-50%)' ] }
96+ zIndex = "0"
97+ />
7598 < Button > Get started</ Button >
7699 </ VStack >
77- < Box
78- bg = "url(/images/hero-figure.webp) center/cover no-repeat"
79- boxSize = "750px"
80- left = "1028px"
81- pos = "absolute"
82- top = "173px"
83- />
84100 </ Center >
85101
86102 < Center
0 commit comments