This commit is contained in:
2025-11-04 09:43:03 +08:00
parent 6c7384e8b4
commit 21cc9905b7
7 changed files with 34 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ function Hero2() {
<Stack
position="relative"
w="100%"
minH={{ base: "115vw", sm: "115vw", md: "90vw", lg: "73vw", xl: "65vw" }}
minH={{ base: "105vw", sm: "103vw", md: "82vw", lg: "66vw", xl: "57vw" }}
bgImage={"url('/images/new/hero2bg.webp')"}
bgSize="cover"
backgroundPosition="center"
@@ -54,7 +54,7 @@ function Hero2() {
zIndex={0}
position={'absolute'}
left="50%"
bottom={{ base: -10, sm: -10, md: -20, lg: -20, xl: -20 }}
bottom={0}
w={{ base: "80vw", sm: "70vw", md: "60vw", lg: "50vw", xl: "40vw" }}
initial={{ opacity: 0, y: 50, x: '-50%' }}
whileInView={{ opacity: 1, y: 0, x: '-50%' }}