From 1da503eb11f9eb01d0c44c9779cee3c0d135f2e1 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 9 Jul 2023 20:46:53 -0700 Subject: [PATCH] feat: :sparkles: Timestamps on announcements Closes #10453 --- packages/client/src/components/MkAnnouncement.vue | 11 +++++++++++ packages/client/src/pages/announcements.vue | 13 +++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/MkAnnouncement.vue b/packages/client/src/components/MkAnnouncement.vue index 24bf886dd..bd1091b7f 100644 --- a/packages/client/src/components/MkAnnouncement.vue +++ b/packages/client/src/components/MkAnnouncement.vue @@ -5,6 +5,13 @@ {{ title }}

{{ title }}

+
+ +
+ {{ i18n.ts.updatedAt }}: + +
+
{ } } +.time { + font-size: 0.8rem; +} + .gotIt { margin: 8px 0 0 0; } diff --git a/packages/client/src/pages/announcements.vue b/packages/client/src/pages/announcements.vue index 8e9975020..cc62ce0f5 100644 --- a/packages/client/src/pages/announcements.vue +++ b/packages/client/src/pages/announcements.vue @@ -15,8 +15,13 @@ class="_card announcement" >
- 🆕 {{ announcement.title }} + 🆕 +

{{ announcement.title }}

+ +
+ {{ i18n.ts.updatedAt }}: + +
@@ -76,6 +81,10 @@ definePageMetadata({ margin-bottom: var(--margin); } + > ._title { + padding: 14px 32px !important; + } + > ._content { > img { display: block;