From 779fae94655c2eefdf989b2d8f4f559c4d3dfd94 Mon Sep 17 00:00:00 2001 From: heheer <71265218+newfish-cmyk@users.noreply.github.com> Date: Tue, 31 Oct 2023 17:11:42 +0800 Subject: [PATCH] feat(web): footer add 'about us' page (#1622) --- web/public/locales/en/translation.json | 3 ++- web/public/locales/zh-CN/translation.json | 3 ++- web/public/locales/zh/translation.json | 3 ++- web/src/constants/index.ts | 1 + web/src/pages/homepage/footer.tsx | 12 ++++++++++++ 5 files changed, 19 insertions(+), 3 deletions(-) diff --git a/web/public/locales/en/translation.json b/web/public/locales/en/translation.json index 2e81a53860..51fb2b84ff 100644 --- a/web/public/locales/en/translation.json +++ b/web/public/locales/en/translation.json @@ -483,7 +483,8 @@ "item2_5": "Docs", "support": "Support", "item3_1": "Feedback", - "item3_2": "Forum" + "item3_2": "Forum", + "item3_3": "About us" } }, "ChatGPT example": "ChatGPT example", diff --git a/web/public/locales/zh-CN/translation.json b/web/public/locales/zh-CN/translation.json index 6e6993f32f..714f1a0d1f 100644 --- a/web/public/locales/zh-CN/translation.json +++ b/web/public/locales/zh-CN/translation.json @@ -483,7 +483,8 @@ "item2_5": "文档", "support": "支持", "item3_1": "问题反馈", - "item3_2": "开发者社区" + "item3_2": "开发者社区", + "item3_3": "关于我们" } }, "ChatGPT example": "ChatGPT 示例", diff --git a/web/public/locales/zh/translation.json b/web/public/locales/zh/translation.json index 4de857e634..2be9f5d5f0 100644 --- a/web/public/locales/zh/translation.json +++ b/web/public/locales/zh/translation.json @@ -483,7 +483,8 @@ "item2_5": "文档", "support": "支持", "item3_1": "问题反馈", - "item3_2": "开发者社区" + "item3_2": "开发者社区", + "item3_3": "关于我们" } }, "ChatGPT example": "ChatGPT 示例", diff --git a/web/src/constants/index.ts b/web/src/constants/index.ts index f2ed4de97e..4f03060da2 100644 --- a/web/src/constants/index.ts +++ b/web/src/constants/index.ts @@ -73,6 +73,7 @@ export const site_url = { laf_doc: "https://doc.laf.run/guide/", laf_github: "https://github.com/labring/laf", laf_index_video: "https://itceb8-video.oss.laf.run/laf-website.mp4", + laf_about_us: "https://sealos.run/zh-Hans/company/", }; export const CHAKRA_UI_COLOR_MODE_KEY = "chakra-ui-color-mode"; diff --git a/web/src/pages/homepage/footer.tsx b/web/src/pages/homepage/footer.tsx index 9a7da4bfa0..2f5c8390e6 100644 --- a/web/src/pages/homepage/footer.tsx +++ b/web/src/pages/homepage/footer.tsx @@ -148,6 +148,12 @@ const Footer = (props: Props) => { {t("HomePage.Footer.item3_2")} + +
  • + + {t("HomePage.Footer.item3_3")} + +
  • @@ -270,6 +276,12 @@ const Footer = (props: Props) => { {t("HomePage.Footer.item3_2")} + +
  • + + {t("HomePage.Footer.item3_3")} + +