From 2cfe75a551015817e27f613f81cf2c14c8468a50 Mon Sep 17 00:00:00 2001 From: DecDuck Date: Mon, 30 Dec 2024 14:17:27 +1100 Subject: [PATCH] feat(metadata): change name, description and icon --- components/UploadFileDialog.vue | 1 - pages/admin/library/[id]/index.vue | 209 ++++++++++++++++++++-- pages/store/index.vue | 27 ++- server/api/v1/admin/game/metadata.post.ts | 51 ++++++ 4 files changed, 264 insertions(+), 24 deletions(-) create mode 100644 server/api/v1/admin/game/metadata.post.ts diff --git a/components/UploadFileDialog.vue b/components/UploadFileDialog.vue index 8b5619d..fd1dd77 100644 --- a/components/UploadFileDialog.vue +++ b/components/UploadFileDialog.vue @@ -118,7 +118,6 @@ import { TransitionChild, TransitionRoot, } from "@headlessui/vue"; -import { ExclamationTriangleIcon } from "@heroicons/vue/24/outline"; import { ArrowUpTrayIcon } from "@heroicons/vue/20/solid"; import { XCircleIcon } from "@heroicons/vue/24/solid"; diff --git a/pages/admin/library/[id]/index.vue b/pages/admin/library/[id]/index.vue index a740791..328ae41 100644 --- a/pages/admin/library/[id]/index.vue +++ b/pages/admin/library/[id]/index.vue @@ -4,12 +4,28 @@ class="grow flex flex-col gap-y-8" >
-

- {{ game.mName }} -

-

- {{ game.mShortDescription }} -

+
+
+ +
+

+ {{ game.mName }} +

+

+ {{ game.mShortDescription }} +

+
+
+ +
@@ -77,13 +93,13 @@
- +