From 28bf070ce233816e67e69e0501608f122b73eb81 Mon Sep 17 00:00:00 2001 From: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com> Date: Sun, 2 Feb 2025 10:06:38 +1030 Subject: [PATCH] feat(news): Added ability to search and filter news articles --- components/NewsDirectory.vue | 193 +++++++++++++++++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 components/NewsDirectory.vue diff --git a/components/NewsDirectory.vue b/components/NewsDirectory.vue new file mode 100644 index 0000000..2bff2ad --- /dev/null +++ b/components/NewsDirectory.vue @@ -0,0 +1,193 @@ + + + + + + Search articles + + + + + + + + + + Date + + All time + Today + This week + This month + This year + + + + + + Tags + + + {{ tag }} + + + + + + + + + + + + + + {{ article.title }} + + + {{ formatDate(article.publishedAt) }} + + + + + + + + + +