From 866c4d354e461a93185b9e300ae4537e2fa007ac Mon Sep 17 00:00:00 2001 From: Aden Lindsay <140392385+AdenMGB@users.noreply.github.com> Date: Sun, 2 Feb 2025 10:05:55 +1030 Subject: [PATCH] feat(news): Created ability to create news articles --- components/NewsArticleCreate.vue | 346 +++++++++++++++++++++++++++++++ 1 file changed, 346 insertions(+) create mode 100644 components/NewsArticleCreate.vue diff --git a/components/NewsArticleCreate.vue b/components/NewsArticleCreate.vue new file mode 100644 index 0000000..7759062 --- /dev/null +++ b/components/NewsArticleCreate.vue @@ -0,0 +1,346 @@ + + + + + + New Article + + + + + Create New Article + + + Title + + + + + Excerpt + + + + + Content (Markdown) + + + + + {{ shortcut.label }} + + + + + + + Editor + + + + + + Preview + + + + + + + + Use the shortcuts above or write Markdown directly. Supports **bold**, *italic*, [links](url), and more. + + + + + Image URL (optional) + + + + + Tags + + + {{ tag }} + + + + + + + + + Add + + + + + + + {{ isSubmitting ? 'Creating...' : 'Create Article' }} + + + + + + + + + + +
+ Use the shortcuts above or write Markdown directly. Supports **bold**, *italic*, [links](url), and more. +