diff --git a/public/images/new/buttons.webp b/public/images/new/buttons.webp new file mode 100644 index 0000000..ff990e7 Binary files /dev/null and b/public/images/new/buttons.webp differ diff --git a/public/images/new/heart.webp b/public/images/new/heart.webp index e70d5e4..ef6f69c 100644 Binary files a/public/images/new/heart.webp and b/public/images/new/heart.webp differ diff --git a/src/components/new_ui/advantages.tsx b/src/components/new_ui/advantages.tsx index 1af094e..b57a793 100644 --- a/src/components/new_ui/advantages.tsx +++ b/src/components/new_ui/advantages.tsx @@ -1,4 +1,4 @@ -import { Box, Stack, Image, Flex, Text, SimpleGrid } from '@chakra-ui/react' +import { Box, Stack, Image, Flex, Text, SimpleGrid, HStack } from '@chakra-ui/react' import { motion, useInView } from 'framer-motion' import { useRef } from 'react' const MotionImage = motion.create(Image) @@ -139,18 +139,24 @@ function Advantages() { - + + + + {'四大優勢,世一選擇!'} + diff --git a/src/components/new_ui/hero1.tsx b/src/components/new_ui/hero1.tsx index f9d4ce4..ac2573b 100644 --- a/src/components/new_ui/hero1.tsx +++ b/src/components/new_ui/hero1.tsx @@ -200,7 +200,7 @@ function Hero1() { { + const isOnRecipePage = location.pathname === '/recipe'; + + if (isOnRecipePage) { + // Already on recipe page + return; + } + + // Navigate from main page - force reload to ensure Instagram embeds work + window.location.href = '/recipe'; + }; return ( diff --git a/src/components/new_ui/truth.tsx b/src/components/new_ui/truth.tsx index faf9401..27cf105 100644 --- a/src/components/new_ui/truth.tsx +++ b/src/components/new_ui/truth.tsx @@ -135,6 +135,7 @@ function Truth() { {igPosts.map((post) => ( + color={'#3F8C04'} + + className='font-noto-sans' + fontWeight={'400'} + fontSize={{ base: "2xl", md: "2xl", lg: "2xl", xl: "2xl" }}> {post.title} - + + + {post.subTitle} + + ))}