From 564a754a4d39522567762f02a7e5d0651011c72c Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 3 Jan 2023 18:24:39 +0100 Subject: [PATCH] ui: clean up nav footer --- components/nav/NavFooter.vue | 19 ++++++++++++------- config/i18n.ts | 3 +++ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/components/nav/NavFooter.vue b/components/nav/NavFooter.vue index edbc9cf7..e91f2f6b 100644 --- a/components/nav/NavFooter.vue +++ b/components/nav/NavFooter.vue @@ -28,16 +28,13 @@ function toggleDark() { /> -
- -
-
{{ $t('app_desc_short') }}
+ + {{ $t('nav.built_at', [$d(buildTimeDate, 'shortDate')]) }} +
- Mastodon · Discord · GitHub + + {{ $t('settings.about.label') }} + + · + Mastodon + · + Discord + · + GitHub
diff --git a/config/i18n.ts b/config/i18n.ts index 1a944abd..edee590c 100644 --- a/config/i18n.ts +++ b/config/i18n.ts @@ -76,6 +76,9 @@ const datetimeFormats = Object.values(locales).reduce((acc, data) => { } else { acc[data.code] = { + shortDate: { + dateStyle: 'short', + }, short: { dateStyle: 'short', timeStyle: 'short',