diff --git a/public/images/new/new_hero_mobile_bg.webp b/public/images/new/new_hero_mobile_bg.webp new file mode 100644 index 0000000..fb43551 Binary files /dev/null and b/public/images/new/new_hero_mobile_bg.webp differ diff --git a/public/images/new/new_hero_pc_bg.webp b/public/images/new/new_hero_pc_bg.webp new file mode 100644 index 0000000..a407b58 Binary files /dev/null and b/public/images/new/new_hero_pc_bg.webp differ diff --git a/src/components/new_ui/hero1.tsx b/src/components/new_ui/hero1.tsx index ac2573b..20b8b07 100644 --- a/src/components/new_ui/hero1.tsx +++ b/src/components/new_ui/hero1.tsx @@ -1,10 +1,11 @@ -import { Box, Image, Stack } from '@chakra-ui/react' +import { Box, Image, Stack, Text } from '@chakra-ui/react' import CyclingImage from './CyclingImage' import { useEffect, useState } from 'react' import { motion } from 'framer-motion' const MotionImage = motion.create(Image) - +const MotionStack = motion.create(Stack) +const MotionText = motion.create(Text) function Hero1() { const [headerHeight, setHeaderHeight] = useState(80); const bigWarningSize = { base: "17vw", sm: "15vw", md: "9vw", lg: "9vw", xl: "8vw" }; @@ -96,20 +97,20 @@ function Hero1() { {/* Hero 1 title */} - + + + {/* title */} + + {/* + {'你要注意!'} + */} + + {'身體健康響起警號!'} + + + {'好多時係同'} + + + + + {'日常飲食習慣'} + + + {'有關!'} + + + + {'簡單到喺你屋企'} + + + + + {'其實已經日積月累'} + + + {'咁影響緊你!'} + + + {/* signs */} + + + + + + + + + + diff --git a/src/components/new_ui/hero2.tsx b/src/components/new_ui/hero2.tsx index ba1182d..0bc4f92 100644 --- a/src/components/new_ui/hero2.tsx +++ b/src/components/new_ui/hero2.tsx @@ -16,7 +16,7 @@ function Hero2() { - + {/* */}