From e45f8d654bc1d9cd5b12d636bcba2fd85deb007a Mon Sep 17 00:00:00 2001 From: icefire <1028247921@qq.com> Date: Mon, 14 Oct 2024 18:05:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=A1=B5=E8=84=9A=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/[lang]/home/page.tsx | 6 +++--- src/app/components/footer.tsx | 19 ++++++++++--------- src/dictionaries/en.json | 11 ++++++++++- src/dictionaries/zh.json | 11 ++++++++++- 4 files changed, 33 insertions(+), 14 deletions(-) diff --git a/src/app/[lang]/home/page.tsx b/src/app/[lang]/home/page.tsx index 519154b..22b15d3 100644 --- a/src/app/[lang]/home/page.tsx +++ b/src/app/[lang]/home/page.tsx @@ -33,7 +33,7 @@ export default async function Home (props: PropsType) { { img: '/home/case_3.png' }, ] return <> -
+
@@ -188,11 +188,11 @@ export default async function Home (props: PropsType) {
- 商务合作/求职:info@soyootech.com + { dict.businessCooperation }info@soyootech.com
-
+
diff --git a/src/app/components/footer.tsx b/src/app/components/footer.tsx index f1fdf2b..45eef35 100644 --- a/src/app/components/footer.tsx +++ b/src/app/components/footer.tsx @@ -1,5 +1,6 @@ import Image from "next/image" -export default function Footer() { +export default function Footer(props: {dict: Record}) { + const { dict } = props return (
diff --git a/src/dictionaries/en.json b/src/dictionaries/en.json index 2f3a22c..2849835 100644 --- a/src/dictionaries/en.json +++ b/src/dictionaries/en.json @@ -18,6 +18,15 @@ "simplifyProcess": "Simplify the user decision-making process, easy to track the progress of each stage", "clickNow": "Click on the icon to experience it now", "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" } \ No newline at end of file diff --git a/src/dictionaries/zh.json b/src/dictionaries/zh.json index 8741dfe..0e311f2 100644 --- a/src/dictionaries/zh.json +++ b/src/dictionaries/zh.json @@ -18,5 +18,14 @@ "simplifyProcess": "简化用户决策流程,方便追踪各阶段进度", "clickNow": "点击图标 立即体验", "seeMore": "想看更多?", - "contactUs!": "联系我们!" + "contactUs!": "联系我们!", + "businessCooperation": "商务合作/求职:", + "addWeChat": "添加微信,享受专属服务", + "emailContact": "邮件联系", + "helpSupport": "帮助与支持", + "productCenter": "产品中心", + "legalAgreements": "法律与协议", + "privacyPolicy": "隐私条款", + "userAgreement": "用户协议", + "productPricing": "产品定价" } \ No newline at end of file