From 328aad43347ee95ed6a80e17ab7672f6d1040e8e Mon Sep 17 00:00:00 2001 From: Qin Guan Date: Sun, 24 Sep 2023 16:56:47 +0800 Subject: [PATCH] feat: build info --- components/admin/home/events-table.vue | 4 ++-- components/app/home/news.vue | 2 +- components/app/profile/page.vue | 14 ++++++++++++++ modules/build-info.ts | 26 ++++++++++++++++++++++++++ nuxt.config.ts | 1 + package.json | 4 +++- pnpm-lock.yaml | 21 ++++++++++++--------- shared/types.ts | 13 +++++++++++++ 8 files changed, 72 insertions(+), 13 deletions(-) create mode 100644 modules/build-info.ts diff --git a/components/admin/home/events-table.vue b/components/admin/home/events-table.vue index ac6affd..324fed8 100644 --- a/components/admin/home/events-table.vue +++ b/components/admin/home/events-table.vue @@ -53,10 +53,10 @@ const { data: events } = useEvents() {{ event.name }} - {{ dayjs(event.startDateTime).format('DD-MM-YYYY hh:mm') }} + {{ dayjs(event.startDateTime).format('DD-MM-YYYY HH:mm') }} - {{ dayjs(event.endDateTime).format('DD-MM-YYYY hh:mm') }} + {{ dayjs(event.endDateTime).format('DD-MM-YYYY HH:mm') }} {{ event.attendees.length }} diff --git a/components/app/home/news.vue b/components/app/home/news.vue index b42fa83..3ff7b55 100644 --- a/components/app/home/news.vue +++ b/components/app/home/news.vue @@ -23,7 +23,7 @@ const { data: news, isLoading: newsIsLoading } = useNewsArticles()
- + {{ article.title }} diff --git a/components/app/profile/page.vue b/components/app/profile/page.vue index 250a60a..522e03c 100644 --- a/components/app/profile/page.vue +++ b/components/app/profile/page.vue @@ -1,7 +1,10 @@