diff --git a/server/components/DeleteNewsModal.vue b/server/components/DeleteNewsModal.vue new file mode 100644 index 00000000..475c8bd5 --- /dev/null +++ b/server/components/DeleteNewsModal.vue @@ -0,0 +1,72 @@ + + + + + + Delete Article + + + Are you sure you want to delete "{{ article?.title }}"? + + + This action cannot be undone. + + + + + deleteArticle()" + class="bg-red-600 text-white hover:bg-red-500" + > + Delete + + (article = undefined)" + class="inline-flex items-center rounded-md bg-zinc-800 px-3 py-2 text-sm font-semibold font-display text-white hover:bg-zinc-700" + > + Cancel + + + + + +
+ Are you sure you want to delete "{{ article?.title }}"? +
+ This action cannot be undone. +