From 0e0f821484a6bfa485c531f28b89ef2e2ccda903 Mon Sep 17 00:00:00 2001 From: Nikola Ganchev Date: Wed, 25 Oct 2023 13:55:04 +0300 Subject: [PATCH] Redesign announcements --- ...nouncement.svelte => Announcements.svelte} | 33 +++++++++++++++---- src/lib/Navbar.svelte | 6 ++-- src/lib/Notification.svelte | 3 ++ 3 files changed, 32 insertions(+), 10 deletions(-) rename src/lib/{Announcement.svelte => Announcements.svelte} (58%) create mode 100644 src/lib/Notification.svelte diff --git a/src/lib/Announcement.svelte b/src/lib/Announcements.svelte similarity index 58% rename from src/lib/Announcement.svelte rename to src/lib/Announcements.svelte index fef6e5a..8256bed 100644 --- a/src/lib/Announcement.svelte +++ b/src/lib/Announcements.svelte @@ -1,22 +1,43 @@ - -
- {announcement.text}
+
+ {#each announcements as announcement} + + {/each}