From 5934a12a9fd9de3ea9c1b8848558fba496012f1f Mon Sep 17 00:00:00 2001 From: alexfriesen Date: Tue, 7 Jan 2025 15:49:42 +0100 Subject: [PATCH] feat(design): add logo --- apps/timer/app/app.vue | 2 ++ apps/timer/app/components/AppHeader.vue | 8 +++++--- apps/timer/app/components/Logo.vue | 25 +++++++++++++++++++++++++ apps/timer/app/pages/about.vue | 6 +++++- apps/timer/nuxt.config.ts | 6 ++++++ apps/timer/public/favicon.svg | 4 ++++ apps/timer/public/icons/logo.svg | 4 ++++ 7 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 apps/timer/app/components/Logo.vue create mode 100644 apps/timer/public/favicon.svg create mode 100644 apps/timer/public/icons/logo.svg diff --git a/apps/timer/app/app.vue b/apps/timer/app/app.vue index 988a0c2..7740873 100644 --- a/apps/timer/app/app.vue +++ b/apps/timer/app/app.vue @@ -34,6 +34,8 @@ useHead({ zeity + + diff --git a/apps/timer/app/components/AppHeader.vue b/apps/timer/app/components/AppHeader.vue index f26c393..b73b7a3 100644 --- a/apps/timer/app/components/AppHeader.vue +++ b/apps/timer/app/components/AppHeader.vue @@ -12,9 +12,11 @@ function timeNew() { class="bg-background/75 backdrop-blur border-b -mb-px sticky top-0 z-50 border-neutral-200 dark:border-neutral-800 min-h-12">
- - {{ $t('about.title') }} - + + + {{ $t('about.title') }} + +
+
+ +
+ + + diff --git a/apps/timer/app/pages/about.vue b/apps/timer/app/pages/about.vue index 172fcee..1466e64 100644 --- a/apps/timer/app/pages/about.vue +++ b/apps/timer/app/pages/about.vue @@ -6,10 +6,14 @@ const config = useRuntimeConfig();
+
+ +
+

{{ $t('about.title') }}

-

+

{{ $t('about.description') }}

diff --git a/apps/timer/nuxt.config.ts b/apps/timer/nuxt.config.ts index 2d4b4db..00c802d 100644 --- a/apps/timer/nuxt.config.ts +++ b/apps/timer/nuxt.config.ts @@ -32,6 +32,12 @@ export default defineNuxtConfig({ defaultLocale: 'en', }, icon: { + customCollections: [ + { + prefix: 'zeity', + dir: './public/icons' + }, + ], clientBundle: { scan: true, }, diff --git a/apps/timer/public/favicon.svg b/apps/timer/public/favicon.svg new file mode 100644 index 0000000..21b1b94 --- /dev/null +++ b/apps/timer/public/favicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/apps/timer/public/icons/logo.svg b/apps/timer/public/icons/logo.svg new file mode 100644 index 0000000..aa30283 --- /dev/null +++ b/apps/timer/public/icons/logo.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file