From dd08019745c1701d29fca2a29caecb6dab79697a Mon Sep 17 00:00:00 2001 From: youbo <42180410+spongebody@users.noreply.github.com> Date: Thu, 7 Sep 2023 16:06:51 +0800 Subject: [PATCH] Initial completion of user page development (#1450) --- docs/i18n/zh/code.json | 16 ++++ docs/src/pages/{users.md => old_users.md} | 0 docs/src/pages/users.js | 101 ++++++++++++++++++++++ 3 files changed, 117 insertions(+) rename docs/src/pages/{users.md => old_users.md} (100%) create mode 100644 docs/src/pages/users.js diff --git a/docs/i18n/zh/code.json b/docs/i18n/zh/code.json index 3cb42849..8dec86f4 100644 --- a/docs/i18n/zh/code.json +++ b/docs/i18n/zh/code.json @@ -296,5 +296,21 @@ "homepage.introduction.thirdPartDesc": { "message": "支持自定义时长线程池运行数据采集存储,同时也支持 Prometheus、InfluxDB 等采集监控,通过 Grafana 或内置监控页面提供可视化大屏监控运行指标", "description": "the desc for the third introduction part" + }, + "companyPage.title": { + "message": "谁在使用 Hippo4j ?", + "description": "the title for the company page" + }, + "companyPage.descriptionText": { + "message": "非常感谢大家对 Hippo4j 的关注和支持,这是我们前进最大的动力。", + "description": "the description for the company page" + }, + "companyPage.questionText": { + "message": "正在使用Hippo4j ?", + "description": "the text for the company question" + }, + "companyPage.linkText": { + "message": "点击进行登记", + "description": "the text for the company page link" } } diff --git a/docs/src/pages/users.md b/docs/src/pages/old_users.md similarity index 100% rename from docs/src/pages/users.md rename to docs/src/pages/old_users.md diff --git a/docs/src/pages/users.js b/docs/src/pages/users.js new file mode 100644 index 00000000..be8b207c --- /dev/null +++ b/docs/src/pages/users.js @@ -0,0 +1,101 @@ +import React from "react"; +import Layout from "@theme/Layout"; +import companyData from "@site/static/json/company_logo.json"; +import useBaseUrl from "@docusaurus/useBaseUrl"; +import Translate from "@docusaurus/Translate"; +function CompanyCards({ companies }) { + return ( +
+
+