From 3a5507553279b3add7bcd3aff91443679fe9eac4 Mon Sep 17 00:00:00 2001 From: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com> Date: Sun, 2 Feb 2025 10:15:09 +1030 Subject: [PATCH] feat(news): Created article full screen view --- pages/news/article/[id]/index.vue | 150 ++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 pages/news/article/[id]/index.vue diff --git a/pages/news/article/[id]/index.vue b/pages/news/article/[id]/index.vue new file mode 100644 index 0000000..112beb1 --- /dev/null +++ b/pages/news/article/[id]/index.vue @@ -0,0 +1,150 @@ + + + + + + + + + + + + + + + + + + + + Back to News + + + currentlyDeleting = article" + class="px-2 py-1 rounded bg-red-900/50 backdrop-blur-sm transition text-sm/6 font-semibold text-red-400 hover:text-red-100 inline-flex gap-x-2 items-center duration-200 hover:scale-105" + > + + Delete Article + + + + + {{ article.title }} + + + {{ formatDate(article.publishedAt) }} + {{ article.author.displayName }} + + + + {{ tag }} + + + + {{ article.excerpt }} + + + + + + + + + + + + + + + +
{{ article.excerpt }}