feat: 页脚多语言

style
icefire 2024-10-14 18:05:17 +08:00
parent a80d3c7935
commit e45f8d654b
4 changed files with 33 additions and 14 deletions

View File

@ -33,7 +33,7 @@ export default async function Home (props: PropsType) {
{ img: '/home/case_3.png' }, { img: '/home/case_3.png' },
] ]
return <> return <>
<div> <div className="min-w-[1440px]">
<Header dict={dict} lang={lang} /> <Header dict={dict} lang={lang} />
<section id="home"> <section id="home">
<div className="w-full h-[770px] bg-[url('/home/img_header.png')] bg-right bg-no-repeat pt-[279px] pl-[172px]"> <div className="w-full h-[770px] bg-[url('/home/img_header.png')] bg-right bg-no-repeat pt-[279px] pl-[172px]">
@ -188,11 +188,11 @@ export default async function Home (props: PropsType) {
<Form /> <Form />
</div> </div>
<div className="w-full flex justify-center text-[19px] text-[#59676C] mb-[99px]"> <div className="w-full flex justify-center text-[19px] text-[#59676C] mb-[99px]">
/info@soyootech.com { dict.businessCooperation }info@soyootech.com
</div> </div>
</section> </section>
<div> <div>
<Footer /> <Footer dict={dict} />
</div> </div>
</div> </div>
</> </>

View File

@ -1,5 +1,6 @@
import Image from "next/image" import Image from "next/image"
export default function Footer() { export default function Footer(props: {dict: Record<string, string>}) {
const { dict } = props
return ( return (
<footer> <footer>
<div className="flex items-start justify-between w-full px-[304px]"> <div className="flex items-start justify-between w-full px-[304px]">
@ -11,21 +12,21 @@ export default function Footer() {
height={151} height={151}
alt="" alt=""
/> />
<div className="text-[#888888] text-[15px]"></div> <div className="text-[#888888] text-[15px]">{ dict.addWeChat }</div>
</div> </div>
<div > <div >
<div className="text-[#AFB2B9] text-[17px] font-medium mb-[45px]"></div> <div className="text-[#AFB2B9] text-[17px] font-medium mb-[45px]">{ dict.emailContact }</div>
<div className="text-[#333333] text-[15px] ">info@soyootech.com</div> <div className="text-[#333333] text-[15px] ">info@soyootech.com</div>
</div> </div>
<div> <div>
<div className="text-[#AFB2B9] text-[17px] font-medium mb-[45px]"></div> <div className="text-[#AFB2B9] text-[17px] font-medium mb-[45px]">{ dict.helpSupport }</div>
<div className="text-[#333333] text-[15px] mb-[23px]"></div> <div className="text-[#333333] text-[15px] mb-[23px]">{ dict.productCenter }</div>
<div className="text-[#333333] text-[15px] "></div> <div className="text-[#333333] text-[15px] ">{ dict.productPricing }</div>
</div> </div>
<div> <div>
<div className="text-[#AFB2B9] text-[17px] font-medium mb-[45px]"></div> <div className="text-[#AFB2B9] text-[17px] font-medium mb-[45px]">{ dict.legalAgreements }</div>
<div className="text-[#333333] text-[15px] mb-[23px]"></div> <div className="text-[#333333] text-[15px] mb-[23px]">{ dict.privacyPolicy }</div>
<div className="text-[#333333] text-[15px] "></div> <div className="text-[#333333] text-[15px] ">{ dict.userAgreement }</div>
</div> </div>
</div> </div>
<div className="text-[15px] text-[#888888] text-center"> <div className="text-[15px] text-[#888888] text-center">

View File

@ -18,6 +18,15 @@
"simplifyProcess": "Simplify the user decision-making process, easy to track the progress of each stage", "simplifyProcess": "Simplify the user decision-making process, easy to track the progress of each stage",
"clickNow": "Click on the icon to experience it now", "clickNow": "Click on the icon to experience it now",
"seeMore": "Want to see more?", "seeMore": "Want to see more?",
"contactUs!": "Contact us!" "contactUs!": "Contact us!",
"businessCooperation": "Business Cooperation/Job Hunting:",
"addWeChat": "Add WeChat to enjoy exclusive services",
"emailContact": "Email Contact",
"helpSupport": "Help & Support",
"productCenter": "Product Center",
"legalAgreements": "Legal & Agreements",
"privacyPolicy": "Privacy Policy",
"userAgreement": "User Agreement",
"productPricing": "Product Pricing"
} }

View File

@ -18,5 +18,14 @@
"simplifyProcess": "简化用户决策流程,方便追踪各阶段进度", "simplifyProcess": "简化用户决策流程,方便追踪各阶段进度",
"clickNow": "点击图标 立即体验", "clickNow": "点击图标 立即体验",
"seeMore": "想看更多?", "seeMore": "想看更多?",
"contactUs!": "联系我们!" "contactUs!": "联系我们!",
"businessCooperation": "商务合作/求职:",
"addWeChat": "添加微信,享受专属服务",
"emailContact": "邮件联系",
"helpSupport": "帮助与支持",
"productCenter": "产品中心",
"legalAgreements": "法律与协议",
"privacyPolicy": "隐私条款",
"userAgreement": "用户协议",
"productPricing": "产品定价"
} }