From bef99de4c0b1a8ab5656893fb648da02d8a98ba5 Mon Sep 17 00:00:00 2001 From: skytek_xinliang Date: Mon, 22 Jun 2026 17:49:38 +0800 Subject: [PATCH] chore: icon --- app/citizen-frontend/.prettierrc | 15 +++++++-------- app/citizen-frontend/index.html | 10 +++++----- app/citizen-frontend/public/dumbbell-heart.svg | 4 ++++ app/citizen-frontend/src/router/index.ts | 4 ++++ 4 files changed, 20 insertions(+), 13 deletions(-) create mode 100644 app/citizen-frontend/public/dumbbell-heart.svg diff --git a/app/citizen-frontend/.prettierrc b/app/citizen-frontend/.prettierrc index a11fe58..9b8ccaf 100644 --- a/app/citizen-frontend/.prettierrc +++ b/app/citizen-frontend/.prettierrc @@ -1,10 +1,9 @@ { - "semi": false, - "singleQuote": true, - "tabWidth": 2, - "trailingComma": "es5", - "printWidth": 100, - "bracketSpacing": true, - "arrowParens": "always", - "endOfLine": "auto" + "semi": false, + "singleQuote": true, + "tabWidth": 2, + "trailingComma": "es5", + "printWidth": 100, + "bracketSpacing": true, + "endOfLine": "auto" } diff --git a/app/citizen-frontend/index.html b/app/citizen-frontend/index.html index aaf3eec..9a4e43d 100644 --- a/app/citizen-frontend/index.html +++ b/app/citizen-frontend/index.html @@ -1,9 +1,9 @@ - - + + - - - + + + Welcome to Vuetify 4 diff --git a/app/citizen-frontend/public/dumbbell-heart.svg b/app/citizen-frontend/public/dumbbell-heart.svg new file mode 100644 index 0000000..1688277 --- /dev/null +++ b/app/citizen-frontend/public/dumbbell-heart.svg @@ -0,0 +1,4 @@ + + + + diff --git a/app/citizen-frontend/src/router/index.ts b/app/citizen-frontend/src/router/index.ts index 3448bf0..47ad4ae 100644 --- a/app/citizen-frontend/src/router/index.ts +++ b/app/citizen-frontend/src/router/index.ts @@ -58,4 +58,8 @@ router.beforeEach(to => { } }) +router.afterEach(to => { + document.title = typeof to.meta.title === 'string' ? to.meta.title : '運動玩轉健康力' +}) + export default router