updated the footer

This commit is contained in:
2025-11-02 16:36:30 +08:00
parent b190bf3357
commit 0718271246

View File

@@ -1,11 +1,13 @@
import { Stack, Flex, Image, Text, Box } from '@chakra-ui/react'; import { Stack, Flex, Image, Text, Box } from '@chakra-ui/react';
import { colors } from '../colors'; import { colors } from '../colors';
const footerText = `*獅球嘜品牌產品系列中首次推出之護心食用油 // const footerText = `*獅球嘜品牌產品系列中首次推出之護心食用油
+根據世界衛生組織建議每日人體脂肪酸攝取黃金比例而調製配方以每日25%的總攝取能量計算 // +根據世界衛生組織建議每日人體脂肪酸攝取黃金比例而調製配方以每日25%的總攝取能量計算
#每食用分量含0克反式脂肪 // #每食用分量含0克反式脂肪
▲Omega-6不飽和脂肪酸在體內代謝會產生花生四烯酸進而產生促發炎的前列腺素導致血管收縮及慢性發炎 // ▲Omega-6不飽和脂肪酸在體內代謝會產生花生四烯酸進而產生促發炎的前列腺素導致血管收縮及慢性發炎
▼營萃護心油的omega-3比例較一般花生油、粟米油高特別有助平衡外出用餐多的都市人其身體脂肪酸比例增加抗發炎維持心血管健康` // ▼營萃護心油的omega-3比例較一般花生油、粟米油高特別有助平衡外出用餐多的都市人其身體脂肪酸比例增加抗發炎維持心血管健康`
const footerText = `¹World Health Organization (2019). REPLACE trans fat: an action package to eliminate industrially produced transfatty acids. Geneva: World Health Organization. ISBN: 978-92-4-151499-6.
² 根據世界衛生組織建議每日人體脂肪酸攝取黃金比例而調製配方以每日25%的總攝取能量計算`
function Footer() { function Footer() {
const formatText = (text: string) => { const formatText = (text: string) => {
@@ -51,7 +53,8 @@ function Footer() {
<Flex <Flex
alignItems={'flex-end'} alignItems={'flex-end'}
w={{ base: '100%', sm: '100%', md: '60%', lg: '55%', xl: '55%' }} w={{ base: '100%', sm: '100%', md: '60%', lg: '55%', xl: '55%' }}
h={{ base: '180px', sm: '180px', md: '130px' }} h={{ base: '100px', sm: '80px', md: '130px' }}
//h={{ base: '180px', sm: '180px', md: '130px' }}
> >
@@ -64,7 +67,7 @@ function Footer() {
className='font-noto-sans font-regular' className='font-noto-sans font-regular'
color={colors.textColor} color={colors.textColor}
fontSize={'10px'} fontSize={'10px'}
mt={2} // mt={2}
ml={2} ml={2}
> >
{`Copyright © ${currentYear}合興食油(香港)有限公司 版權所有,不得轉載。`} {`Copyright © ${currentYear}合興食油(香港)有限公司 版權所有,不得轉載。`}