From f5adedf77bab5bc5a6256d011f9a2218ea64051b Mon Sep 17 00:00:00 2001 From: sanbuphy Date: Mon, 26 Jan 2026 13:00:54 +0800 Subject: [PATCH] feat(docs): refactor homepage layouts and add HomeFeatures component - Replace verbose inline HTML/CSS in multiple language homepages with reusable HomeFeatures component - Simplify hero section taglines and action links across all language versions - Add iOS/Apple style enhancements including glassmorphism effects and refined button animations - Register HomeFeatures component globally in Vue app for consistent usage - Remove redundant translation banners and GitHub star sections to streamline content --- docs/.vitepress/theme/Layout.vue | 4 +- .../theme/components/HomeFeatures.vue | 1197 +++++++++++++++++ docs/.vitepress/theme/index.js | 2 + docs/.vitepress/theme/style.css | 79 ++ docs/ar-sa/index.md | 96 +- docs/de-de/index.md | 98 +- docs/en-us/index.md | 253 +--- docs/es-es/index.md | 98 +- docs/fr-fr/index.md | 98 +- docs/ja-jp/index.md | 237 +--- docs/ko-kr/index.md | 96 +- docs/vi-vn/index.md | 98 +- docs/zh-cn/index.md | 263 +--- docs/zh-tw/index.md | 96 +- 14 files changed, 1359 insertions(+), 1356 deletions(-) create mode 100644 docs/.vitepress/theme/components/HomeFeatures.vue diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue index 92798d5..f81d486 100644 --- a/docs/.vitepress/theme/Layout.vue +++ b/docs/.vitepress/theme/Layout.vue @@ -195,12 +195,12 @@ watch(lineHeight, (next) => {