From 3479e02194bd4160f8fa2eda472e39c88242e8ba Mon Sep 17 00:00:00 2001 From: Oreo Yang <2167young@163.com> Date: Fri, 27 Feb 2026 13:13:00 +0800 Subject: [PATCH 1/4] netlify route Case insensitive --- docusaurus.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index 89bfbad..32c6427 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -77,6 +77,17 @@ const config = { i18n: { defaultLocale: 'en', locales: ['en', 'zh-CN'], + localeConfigs: { + en: { + label: 'English', + htmlLang: 'en', + }, + 'zh-CN': { + label: '中文', + htmlLang: 'zh-CN', + path: 'zh-CN', // 使用小写路径,确保yarn build 一致 + }, + }, }, themeConfig: ({ From aa5ba50fbe11055bd0021e8b9df7a23aba81b156 Mon Sep 17 00:00:00 2001 From: Oreo Yang <2167young@163.com> Date: Fri, 27 Feb 2026 13:16:34 +0800 Subject: [PATCH 2/4] netlify route Case insensitive --- blog/2025-05-27-ivorysql-wasm/index.md | 2 +- .../2025-05-27-ivorysql-wasm/index.md | 2 +- .../news/index.mdx | 32 ++++++++--------- .../webinars-page.mdx | 34 +++++++++---------- static/_redirects | 6 ++-- 5 files changed, 38 insertions(+), 38 deletions(-) diff --git a/blog/2025-05-27-ivorysql-wasm/index.md b/blog/2025-05-27-ivorysql-wasm/index.md index e0eba42..7a3d5dd 100644 --- a/blog/2025-05-27-ivorysql-wasm/index.md +++ b/blog/2025-05-27-ivorysql-wasm/index.md @@ -76,4 +76,4 @@ Task Manager observations show that IvorySQL’s browser-based operation consume ## Community Edition Coming Soon -The IvorySQL-WASM Community Edition will be released alongside IvorySQL 4.5. For details, follow the [IvorySQL Official Website](https://www.ivorysql.org/zh-cn/). \ No newline at end of file +The IvorySQL-WASM Community Edition will be released alongside IvorySQL 4.5. For details, follow the [IvorySQL Official Website](https://www.ivorysql.org/zh-CN/). \ No newline at end of file diff --git a/i18n/zh-CN/docusaurus-plugin-content-blog/2025-05-27-ivorysql-wasm/index.md b/i18n/zh-CN/docusaurus-plugin-content-blog/2025-05-27-ivorysql-wasm/index.md index e9060f7..2a1503d 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-blog/2025-05-27-ivorysql-wasm/index.md +++ b/i18n/zh-CN/docusaurus-plugin-content-blog/2025-05-27-ivorysql-wasm/index.md @@ -76,4 +76,4 @@ IvorySQL-WASM 核心技术: ## 社区版即将发布 -IvorySQL-WASM 社区版将会伴随 IvorySQL 4.5 一起发布,详情请关注 [IvorySQL 官网](https://www.ivorysql.org/zh-cn/)信息。 \ No newline at end of file +IvorySQL-WASM 社区版将会伴随 IvorySQL 4.5 一起发布,详情请关注 [IvorySQL 官网](https://www.ivorysql.org/zh-CN/)信息。 \ No newline at end of file diff --git a/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx b/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx index 2feccd5..6e0decf 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx +++ b/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx @@ -13,7 +13,7 @@ export const NewsData = [ date: "2025-12-18", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-v5-1-released", + link: "/zh-CN/news/ivorysql-v5-1-released", img: "/img/news/ivorysql-v5-1-released.png" }, { @@ -22,7 +22,7 @@ export const NewsData = [ date: "2025-11-25", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-v5-0-released", + link: "/zh-CN/news/ivorysql-v5-0-released", img: "/img/news/ivorysql-v5-0-released.png" }, { @@ -31,7 +31,7 @@ export const NewsData = [ date: "2025-11-13", category: "community", categoryLabel: "社区动态", - link: "/zh-cn/news/ivorysql-ospp-2025", + link: "/zh-CN/news/ivorysql-ospp-2025", img: "/img/news/ivorysql-ospp-2025.png" }, { @@ -40,7 +40,7 @@ export const NewsData = [ date: "2025-10-20", category: "community", categoryLabel: "社区动态", - link: "/zh-cn/news/detail-pg18-contributors", + link: "/zh-CN/news/detail-pg18-contributors", img: "/img/news/detail-pg18-contributors.png" }, { @@ -49,7 +49,7 @@ export const NewsData = [ date: "2025-09-26", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-kylin-cert", + link: "/zh-CN/news/ivorysql-kylin-cert", img: "/img/news/ivorysql-kylin-cert.png" }, { @@ -58,7 +58,7 @@ export const NewsData = [ date: "2025-09-17", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-deepin-cert", + link: "/zh-CN/news/ivorysql-deepin-cert", img: "/img/news/ivorysql-deepin-cert.png" }, { @@ -67,7 +67,7 @@ export const NewsData = [ date: "2025-09-12", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-loongarch-cert", + link: "/zh-CN/news/ivorysql-loongarch-cert", img: "/img/news/ivorysql-loongarch-cert.png" }, { @@ -76,7 +76,7 @@ export const NewsData = [ date: "2025-09-11", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-v4-6-released", + link: "/zh-CN/news/ivorysql-v4-6-released", img: "/img/news/ivorysql-v4-6-released.png" }, { @@ -85,7 +85,7 @@ export const NewsData = [ date: "2025-08-04", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-navicat", + link: "/zh-CN/news/ivorysql-navicat", img: "/img/news/ivorysql-navicat.png" }, { @@ -94,7 +94,7 @@ export const NewsData = [ date: "2025-07-15", category: "community", categoryLabel: "社区动态", - link: "/zh-cn/news/ivorysql-expert-advisory-committee", + link: "/zh-CN/news/ivorysql-expert-advisory-committee", img: "/img/news/ivorysql-expert-advisory-committee.png" }, { @@ -103,7 +103,7 @@ export const NewsData = [ date: "2025-06-28", category: "community", categoryLabel: "社区动态", - link: "/zh-cn/news/ivorysql-ospp-students", + link: "/zh-CN/news/ivorysql-ospp-students", img: "/img/news/ivorysql-ospp-students.png" }, { @@ -112,7 +112,7 @@ export const NewsData = [ date: "2025-06-05", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-v4-5-released", + link: "/zh-CN/news/ivorysql-v4-5-released", img: "/img/news/ivorysql-v4-5-released.png" }, { @@ -121,7 +121,7 @@ export const NewsData = [ date: "2025-05-07", category: "community", categoryLabel: "社区动态", - link: "/zh-cn/news/ivorysql-pku-course", + link: "/zh-CN/news/ivorysql-pku-course", img: "/img/news/ivorysql-pku-course.png" }, { @@ -130,7 +130,7 @@ export const NewsData = [ date: "2025-03-14", category: "community", categoryLabel: "社区动态", - link: "/zh-cn/news/ivorysql-deepseek-assistant", + link: "/zh-CN/news/ivorysql-deepseek-assistant", img: "/img/news/ivorysql-deepseek-assistant.png" }, { @@ -139,7 +139,7 @@ export const NewsData = [ date: "2025-03-10", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-v4-4-released", + link: "/zh-CN/news/ivorysql-v4-4-released", img: "/img/news/ivorysql-v4-4-released.png" }, { @@ -148,7 +148,7 @@ export const NewsData = [ date: "2025-01-13", category: "product", categoryLabel: "产品动态", - link: "/zh-cn/news/ivorysql-v4-2-released", + link: "/zh-CN/news/ivorysql-v4-2-released", img: "/img/news/ivorysql-v4-2-released.png" } ]; diff --git a/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx b/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx index 870aa58..9681934 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx +++ b/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx @@ -13,7 +13,7 @@ export const EventsData = [ startTime: "2025-12-25", endTime: "2025-12-25", location: "线上活动", - link: "/zh-cn/webinars/event-202517", + link: "/zh-CN/webinars/event-202517", img: "/img/events/event-202517.jpg" }, { @@ -22,7 +22,7 @@ export const EventsData = [ startTime: "2025-12-13", endTime: "2025-12-13", location: "线上活动", - link: "/zh-cn/webinars/event-202516", + link: "/zh-CN/webinars/event-202516", img: "/img/events/event-202516.png" }, { @@ -31,7 +31,7 @@ export const EventsData = [ startTime: "2025-11-29", endTime: "2025-11-29", location: "线下活动", - link: "/zh-cn/webinars/event-202515", + link: "/zh-CN/webinars/event-202515", img: "/img/events/event-202515.png" }, { @@ -40,7 +40,7 @@ export const EventsData = [ startTime: "2025-10-16", endTime: "2025-10-16", location: "线上活动", - link: "/zh-cn/webinars/event-202514", + link: "/zh-CN/webinars/event-202514", img: "/img/events/event-202514.png" }, { @@ -49,7 +49,7 @@ export const EventsData = [ startTime: "2025-09-29", endTime: "2025-09-29", location: "线上活动", - link: "/zh-cn/webinars/event-202513", + link: "/zh-CN/webinars/event-202513", img: "/img/events/event-202513.png" }, { @@ -58,7 +58,7 @@ export const EventsData = [ startTime: "2025-09-23", endTime: "2026-12-23", location: "线上活动", - link: "/zh-cn/webinars/event-202512", + link: "/zh-CN/webinars/event-202512", img: "/img/events/event-202512.png" }, { @@ -67,7 +67,7 @@ export const EventsData = [ startTime: "2025-09-16", endTime: "2026-02-28", location: "线上活动", - link: "/zh-cn/webinars/event-202511", + link: "/zh-CN/webinars/event-202511", img: "/img/events/event-202511.png" }, { @@ -76,7 +76,7 @@ export const EventsData = [ startTime: "2025-08-30", endTime: "2025-08-30", location: "线下活动", - link: "/zh-cn/webinars/event-202510", + link: "/zh-CN/webinars/event-202510", img: "/img/events/event-202510.png" }, { @@ -85,7 +85,7 @@ export const EventsData = [ startTime: "2025-07-18", endTime: "2025-07-18", location: "线下活动", - link: "/zh-cn/webinars/event-202509", + link: "/zh-CN/webinars/event-202509", img: "/img/events/event-202509.png" }, { @@ -94,7 +94,7 @@ export const EventsData = [ startTime: "2025-06-27", endTime: "2025-06-28", location: "线下活动", - link: "/zh-cn/webinars/event-202508", + link: "/zh-CN/webinars/event-202508", img: "/img/events/event-202508.jpg" }, { @@ -103,7 +103,7 @@ export const EventsData = [ startTime: "2025-06-07", endTime: "2025-06-07", location: "线下活动", - link: "/zh-cn/webinars/event-202507", + link: "/zh-CN/webinars/event-202507", img: "/img/events/event-202507.png" }, { @@ -112,7 +112,7 @@ export const EventsData = [ startTime: "2025-05-13", endTime: "2025-05-16", location: "线下活动", - link: "/zh-cn/webinars/event-202506", + link: "/zh-CN/webinars/event-202506", img: "/img/events/event-202506.png" }, { @@ -121,7 +121,7 @@ export const EventsData = [ startTime: "2025-05-09", endTime: "2025-06-09", location: "线上活动", - link: "/zh-cn/webinars/event-202505", + link: "/zh-CN/webinars/event-202505", img: "/img/events/event-202505.png" }, { @@ -130,7 +130,7 @@ export const EventsData = [ startTime: "2025-04-24", endTime: "2025-04-24", location: "线上活动", - link: "/zh-cn/webinars/event-202504", + link: "/zh-CN/webinars/event-202504", img: "/img/events/event-202504.png" }, { @@ -139,7 +139,7 @@ export const EventsData = [ startTime: "2025-04-19", endTime: "2025-04-19", location: "线下活动", - link: "/zh-cn/webinars/event-202503", + link: "/zh-CN/webinars/event-202503", img: "/img/events/event-202503.png" }, { @@ -148,7 +148,7 @@ export const EventsData = [ startTime: "2025-02-26", endTime: "2026-12-31", location: "线上活动", - link: "/zh-cn/webinars/event-202502", + link: "/zh-CN/webinars/event-202502", img: "/img/events/event-202502.png" }, { @@ -157,7 +157,7 @@ export const EventsData = [ startTime: "2025-01-04", endTime: "2025-01-04", location: "线下活动", - link: "/zh-cn/webinars/event-202501", + link: "/zh-CN/webinars/event-202501", img: "/img/events/event-202501.png" } ]; diff --git a/static/_redirects b/static/_redirects index c16dd16..7fd3be6 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,4 +1,4 @@ # Redirect users from China to chinese version at /zh-CN. -/ /zh-cn 302! Country=cn -# Also users with Chinese language should be redirected to /zh-cn -# / /zh-cn 302! Language=zh +# / /zh-CN 302! Country=cn +# Also users with Chinese language should be redirected to /zh-CN +# / /zh-CN 302! Language=zh From a2ad66cbccba976cc5fc4e9146aac19e7e7ec64a Mon Sep 17 00:00:00 2001 From: Oreo Yang <2167young@163.com> Date: Fri, 27 Feb 2026 13:35:23 +0800 Subject: [PATCH 3/4] netlify route Case insensitive --- docusaurus.config.js | 4 +-- .../news/index.mdx | 32 ++++++++--------- .../webinars-page.mdx | 34 +++++++++---------- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 32c6427..05f5c6e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -76,13 +76,13 @@ const config = { ], i18n: { defaultLocale: 'en', - locales: ['en', 'zh-CN'], + locales: ['en', 'zh-cn'], localeConfigs: { en: { label: 'English', htmlLang: 'en', }, - 'zh-CN': { + 'zh-cn': { label: '中文', htmlLang: 'zh-CN', path: 'zh-CN', // 使用小写路径,确保yarn build 一致 diff --git a/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx b/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx index 6e0decf..2feccd5 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx +++ b/i18n/zh-CN/docusaurus-plugin-content-pages/news/index.mdx @@ -13,7 +13,7 @@ export const NewsData = [ date: "2025-12-18", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-v5-1-released", + link: "/zh-cn/news/ivorysql-v5-1-released", img: "/img/news/ivorysql-v5-1-released.png" }, { @@ -22,7 +22,7 @@ export const NewsData = [ date: "2025-11-25", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-v5-0-released", + link: "/zh-cn/news/ivorysql-v5-0-released", img: "/img/news/ivorysql-v5-0-released.png" }, { @@ -31,7 +31,7 @@ export const NewsData = [ date: "2025-11-13", category: "community", categoryLabel: "社区动态", - link: "/zh-CN/news/ivorysql-ospp-2025", + link: "/zh-cn/news/ivorysql-ospp-2025", img: "/img/news/ivorysql-ospp-2025.png" }, { @@ -40,7 +40,7 @@ export const NewsData = [ date: "2025-10-20", category: "community", categoryLabel: "社区动态", - link: "/zh-CN/news/detail-pg18-contributors", + link: "/zh-cn/news/detail-pg18-contributors", img: "/img/news/detail-pg18-contributors.png" }, { @@ -49,7 +49,7 @@ export const NewsData = [ date: "2025-09-26", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-kylin-cert", + link: "/zh-cn/news/ivorysql-kylin-cert", img: "/img/news/ivorysql-kylin-cert.png" }, { @@ -58,7 +58,7 @@ export const NewsData = [ date: "2025-09-17", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-deepin-cert", + link: "/zh-cn/news/ivorysql-deepin-cert", img: "/img/news/ivorysql-deepin-cert.png" }, { @@ -67,7 +67,7 @@ export const NewsData = [ date: "2025-09-12", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-loongarch-cert", + link: "/zh-cn/news/ivorysql-loongarch-cert", img: "/img/news/ivorysql-loongarch-cert.png" }, { @@ -76,7 +76,7 @@ export const NewsData = [ date: "2025-09-11", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-v4-6-released", + link: "/zh-cn/news/ivorysql-v4-6-released", img: "/img/news/ivorysql-v4-6-released.png" }, { @@ -85,7 +85,7 @@ export const NewsData = [ date: "2025-08-04", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-navicat", + link: "/zh-cn/news/ivorysql-navicat", img: "/img/news/ivorysql-navicat.png" }, { @@ -94,7 +94,7 @@ export const NewsData = [ date: "2025-07-15", category: "community", categoryLabel: "社区动态", - link: "/zh-CN/news/ivorysql-expert-advisory-committee", + link: "/zh-cn/news/ivorysql-expert-advisory-committee", img: "/img/news/ivorysql-expert-advisory-committee.png" }, { @@ -103,7 +103,7 @@ export const NewsData = [ date: "2025-06-28", category: "community", categoryLabel: "社区动态", - link: "/zh-CN/news/ivorysql-ospp-students", + link: "/zh-cn/news/ivorysql-ospp-students", img: "/img/news/ivorysql-ospp-students.png" }, { @@ -112,7 +112,7 @@ export const NewsData = [ date: "2025-06-05", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-v4-5-released", + link: "/zh-cn/news/ivorysql-v4-5-released", img: "/img/news/ivorysql-v4-5-released.png" }, { @@ -121,7 +121,7 @@ export const NewsData = [ date: "2025-05-07", category: "community", categoryLabel: "社区动态", - link: "/zh-CN/news/ivorysql-pku-course", + link: "/zh-cn/news/ivorysql-pku-course", img: "/img/news/ivorysql-pku-course.png" }, { @@ -130,7 +130,7 @@ export const NewsData = [ date: "2025-03-14", category: "community", categoryLabel: "社区动态", - link: "/zh-CN/news/ivorysql-deepseek-assistant", + link: "/zh-cn/news/ivorysql-deepseek-assistant", img: "/img/news/ivorysql-deepseek-assistant.png" }, { @@ -139,7 +139,7 @@ export const NewsData = [ date: "2025-03-10", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-v4-4-released", + link: "/zh-cn/news/ivorysql-v4-4-released", img: "/img/news/ivorysql-v4-4-released.png" }, { @@ -148,7 +148,7 @@ export const NewsData = [ date: "2025-01-13", category: "product", categoryLabel: "产品动态", - link: "/zh-CN/news/ivorysql-v4-2-released", + link: "/zh-cn/news/ivorysql-v4-2-released", img: "/img/news/ivorysql-v4-2-released.png" } ]; diff --git a/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx b/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx index 9681934..870aa58 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx +++ b/i18n/zh-CN/docusaurus-plugin-content-pages/webinars-page.mdx @@ -13,7 +13,7 @@ export const EventsData = [ startTime: "2025-12-25", endTime: "2025-12-25", location: "线上活动", - link: "/zh-CN/webinars/event-202517", + link: "/zh-cn/webinars/event-202517", img: "/img/events/event-202517.jpg" }, { @@ -22,7 +22,7 @@ export const EventsData = [ startTime: "2025-12-13", endTime: "2025-12-13", location: "线上活动", - link: "/zh-CN/webinars/event-202516", + link: "/zh-cn/webinars/event-202516", img: "/img/events/event-202516.png" }, { @@ -31,7 +31,7 @@ export const EventsData = [ startTime: "2025-11-29", endTime: "2025-11-29", location: "线下活动", - link: "/zh-CN/webinars/event-202515", + link: "/zh-cn/webinars/event-202515", img: "/img/events/event-202515.png" }, { @@ -40,7 +40,7 @@ export const EventsData = [ startTime: "2025-10-16", endTime: "2025-10-16", location: "线上活动", - link: "/zh-CN/webinars/event-202514", + link: "/zh-cn/webinars/event-202514", img: "/img/events/event-202514.png" }, { @@ -49,7 +49,7 @@ export const EventsData = [ startTime: "2025-09-29", endTime: "2025-09-29", location: "线上活动", - link: "/zh-CN/webinars/event-202513", + link: "/zh-cn/webinars/event-202513", img: "/img/events/event-202513.png" }, { @@ -58,7 +58,7 @@ export const EventsData = [ startTime: "2025-09-23", endTime: "2026-12-23", location: "线上活动", - link: "/zh-CN/webinars/event-202512", + link: "/zh-cn/webinars/event-202512", img: "/img/events/event-202512.png" }, { @@ -67,7 +67,7 @@ export const EventsData = [ startTime: "2025-09-16", endTime: "2026-02-28", location: "线上活动", - link: "/zh-CN/webinars/event-202511", + link: "/zh-cn/webinars/event-202511", img: "/img/events/event-202511.png" }, { @@ -76,7 +76,7 @@ export const EventsData = [ startTime: "2025-08-30", endTime: "2025-08-30", location: "线下活动", - link: "/zh-CN/webinars/event-202510", + link: "/zh-cn/webinars/event-202510", img: "/img/events/event-202510.png" }, { @@ -85,7 +85,7 @@ export const EventsData = [ startTime: "2025-07-18", endTime: "2025-07-18", location: "线下活动", - link: "/zh-CN/webinars/event-202509", + link: "/zh-cn/webinars/event-202509", img: "/img/events/event-202509.png" }, { @@ -94,7 +94,7 @@ export const EventsData = [ startTime: "2025-06-27", endTime: "2025-06-28", location: "线下活动", - link: "/zh-CN/webinars/event-202508", + link: "/zh-cn/webinars/event-202508", img: "/img/events/event-202508.jpg" }, { @@ -103,7 +103,7 @@ export const EventsData = [ startTime: "2025-06-07", endTime: "2025-06-07", location: "线下活动", - link: "/zh-CN/webinars/event-202507", + link: "/zh-cn/webinars/event-202507", img: "/img/events/event-202507.png" }, { @@ -112,7 +112,7 @@ export const EventsData = [ startTime: "2025-05-13", endTime: "2025-05-16", location: "线下活动", - link: "/zh-CN/webinars/event-202506", + link: "/zh-cn/webinars/event-202506", img: "/img/events/event-202506.png" }, { @@ -121,7 +121,7 @@ export const EventsData = [ startTime: "2025-05-09", endTime: "2025-06-09", location: "线上活动", - link: "/zh-CN/webinars/event-202505", + link: "/zh-cn/webinars/event-202505", img: "/img/events/event-202505.png" }, { @@ -130,7 +130,7 @@ export const EventsData = [ startTime: "2025-04-24", endTime: "2025-04-24", location: "线上活动", - link: "/zh-CN/webinars/event-202504", + link: "/zh-cn/webinars/event-202504", img: "/img/events/event-202504.png" }, { @@ -139,7 +139,7 @@ export const EventsData = [ startTime: "2025-04-19", endTime: "2025-04-19", location: "线下活动", - link: "/zh-CN/webinars/event-202503", + link: "/zh-cn/webinars/event-202503", img: "/img/events/event-202503.png" }, { @@ -148,7 +148,7 @@ export const EventsData = [ startTime: "2025-02-26", endTime: "2026-12-31", location: "线上活动", - link: "/zh-CN/webinars/event-202502", + link: "/zh-cn/webinars/event-202502", img: "/img/events/event-202502.png" }, { @@ -157,7 +157,7 @@ export const EventsData = [ startTime: "2025-01-04", endTime: "2025-01-04", location: "线下活动", - link: "/zh-CN/webinars/event-202501", + link: "/zh-cn/webinars/event-202501", img: "/img/events/event-202501.png" } ]; From 20f1491aa1669a8bea0361cd090bfec518b03432 Mon Sep 17 00:00:00 2001 From: Oreo Yang <2167young@163.com> Date: Fri, 27 Feb 2026 13:36:51 +0800 Subject: [PATCH 4/4] netlify route Case insensitive --- static/_redirects | 1 + 1 file changed, 1 insertion(+) diff --git a/static/_redirects b/static/_redirects index 7fd3be6..734d268 100644 --- a/static/_redirects +++ b/static/_redirects @@ -2,3 +2,4 @@ # / /zh-CN 302! Country=cn # Also users with Chinese language should be redirected to /zh-CN # / /zh-CN 302! Language=zh +