ui udated
This commit is contained in:
@@ -16,7 +16,7 @@ function Hero2() {
|
||||
<Stack
|
||||
position="relative"
|
||||
w="100%"
|
||||
minH={{ base: "105vw", sm: "103vw", md: "82vw", lg: "66vw", xl: "57vw" }}
|
||||
minH={{ base: "110vw", sm: "110vw", md: "72vw", lg: "66vw", xl: "50vw" }}
|
||||
bgImage={"url('/images/new/hero2bg.webp')"}
|
||||
bgSize="cover"
|
||||
backgroundPosition="center"
|
||||
@@ -29,8 +29,8 @@ function Hero2() {
|
||||
src="/images/new/hero2title.webp"
|
||||
position={'absolute'}
|
||||
left="50%"
|
||||
top={{ base: "10px", sm: "50px", md: "50px", lg: "50px", xl: "50px" }}
|
||||
w={{ base: "70vw", sm: "60vw", md: "50vw", lg: "35vw", xl: "35vw" }}
|
||||
top={{ base: "10px", sm: "20px", md: "30px", lg: "30px", xl: "40px" }}
|
||||
w={{ base: "70vw", sm: "70vw", md: "35vw", lg: "35vw", xl: "28vw" }}
|
||||
initial={{ opacity: 0, y: -30, x: '-50%' }}
|
||||
whileInView={{ opacity: 1, y: 0, x: '-50%' }}
|
||||
viewport={{ once: true, amount: 0.3 }}
|
||||
@@ -40,9 +40,9 @@ function Hero2() {
|
||||
src="/images/new/hero2subtitle.webp"
|
||||
position={'absolute'}
|
||||
zIndex={1}
|
||||
top={{ base: "30vw", sm: "35vw", md: "24vw", lg: "20vw", xl: "18vw" }}
|
||||
right={{ base: "15vw", sm: "15vw", md: "20vw", lg: "28vw", xl: "30vw" }}
|
||||
w={{ base: "30vw", sm: "30vw", md: "25vw", lg: "18vw", xl: "18vw" }}
|
||||
top={{ base: "30vw", sm: "30vw", md: "17vw", lg: "15vw", xl: "12vw" }}
|
||||
right={{ base: "55vw", sm: "55vw", md: "24vw", lg: "25vw", xl: "30vw" }}
|
||||
w={{ base: "30vw", sm: "30vw", md: "22vw", lg: "22vw", xl: "18vw" }}
|
||||
initial={{ opacity: 0, x: 30 }}
|
||||
whileInView={{ opacity: 1, x: 0 }}
|
||||
viewport={{ once: true, amount: 0.3 }}
|
||||
@@ -55,7 +55,7 @@ function Hero2() {
|
||||
position={'absolute'}
|
||||
left="50%"
|
||||
bottom={0}
|
||||
w={{ base: "80vw", sm: "70vw", md: "60vw", lg: "50vw", xl: "40vw" }}
|
||||
w={{ base: "85vw", sm: "85vw", md: "58vw", lg: "53vw", xl: "40vw" }}
|
||||
initial={{ opacity: 0, y: 50, x: '-50%' }}
|
||||
whileInView={{ opacity: 1, y: 0, x: '-50%' }}
|
||||
viewport={{ once: true, amount: 0.3 }}
|
||||
|
||||
Reference in New Issue
Block a user