From 0c1bcd6237c3434c3c495df096b20818a7653d7b Mon Sep 17 00:00:00 2001 From: chenchun Date: Wed, 29 Apr 2026 21:39:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A6=96=E9=A1=B5):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=90=88=E4=BD=9C=E4=BC=99=E4=BC=B4=E5=92=8C=E4=BD=9C=E5=93=81?= =?UTF-8?q?=E9=9B=86=E5=B1=95=E7=A4=BA=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加新的HomePartnersWork组件,包含合作伙伴列表和作品集展示区 更新中英文翻译文件,新增相关文案 移除首页占位内容,使用新组件替代 --- app/components/home/HomePartnersWork.vue | 251 +++++++++++++++++++++++ app/pages/index.vue | 9 +- i18n/locales/en.json | 17 +- i18n/locales/zh.json | 17 +- 4 files changed, 285 insertions(+), 9 deletions(-) create mode 100644 app/components/home/HomePartnersWork.vue diff --git a/app/components/home/HomePartnersWork.vue b/app/components/home/HomePartnersWork.vue new file mode 100644 index 0000000..ab89478 --- /dev/null +++ b/app/components/home/HomePartnersWork.vue @@ -0,0 +1,251 @@ + + + diff --git a/app/pages/index.vue b/app/pages/index.vue index ef5158b..2db7a38 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -6,6 +6,7 @@ import { useAppStore } from '~/stores/app' import { usePageScrollLock } from '~/composables/usePageScrollLock' import HomeIntro from '~/components/home/HomeIntro.vue' import HomeHero from '~/components/home/HomeHero.vue' +import HomePartnersWork from '~/components/home/HomePartnersWork.vue' const { t } = useI18n() const appStore = useAppStore() @@ -51,12 +52,6 @@ watch(
- -
-

Next Section

-
-
-

{{ t('home.welcome') }}

-
+
diff --git a/i18n/locales/en.json b/i18n/locales/en.json index 4bd6bf1..3c5c85d 100644 --- a/i18n/locales/en.json +++ b/i18n/locales/en.json @@ -24,7 +24,22 @@ }, "home": { "title": "Home", - "welcome": "Welcome to Arctic New One" + "welcome": "Welcome to Arctic New One", + "partners": { + "label": "Partners", + "years": "2011-26©" + }, + "work": { + "label": "Portfolio 26©", + "title": "Work", + "viewAll": "View all work", + "items": { + "forma": "Forma Digital", + "oneStep": "One Step", + "neroVision": "Nero Vision", + "boldMoves": "Bold Moves" + } + } }, "hero": { "services": { diff --git a/i18n/locales/zh.json b/i18n/locales/zh.json index 097fa57..d240052 100644 --- a/i18n/locales/zh.json +++ b/i18n/locales/zh.json @@ -24,7 +24,22 @@ }, "home": { "title": "首页", - "welcome": "欢迎来到 Arctic New One" + "welcome": "欢迎来到 Arctic New One", + "partners": { + "label": "合作伙伴", + "years": "2011-26©" + }, + "work": { + "label": "作品集 26©", + "title": "Work", + "viewAll": "查看全部作品", + "items": { + "forma": "Forma Digital", + "oneStep": "One Step", + "neroVision": "Nero Vision", + "boldMoves": "Bold Moves" + } + } }, "hero": { "services": {