From c433e25fbaebd2d164101c970835037580bd33b3 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Tue, 13 Jun 2023 16:29:47 +0200 Subject: [PATCH] feat: Added intial dashboard and minecraft connection --- webv2/app.config.ts | 5 +- webv2/app.vue | 2 + webv2/components/body/Connectminecraft.vue | 43 +++++++++ webv2/components/body/Sidebar.vue | 6 +- webv2/layouts/default.vue | 11 ++- webv2/pages/index.vue | 91 ++++++++++++++++++- .../api/users/[id]/minecraft/index.put.ts | 4 +- 7 files changed, 152 insertions(+), 10 deletions(-) create mode 100644 webv2/components/body/Connectminecraft.vue diff --git a/webv2/app.config.ts b/webv2/app.config.ts index c109223..3b57071 100644 --- a/webv2/app.config.ts +++ b/webv2/app.config.ts @@ -1,6 +1,9 @@ export default defineAppConfig({ ui: { primary: 'cyan', - gray: 'cool' + gray: 'cool', + notifications: { + position: 'top-0 left-1/2 -translate-x-1/2' + } } }) diff --git a/webv2/app.vue b/webv2/app.vue index 41540b4..a003353 100644 --- a/webv2/app.vue +++ b/webv2/app.vue @@ -1,5 +1,7 @@ diff --git a/webv2/components/body/Connectminecraft.vue b/webv2/components/body/Connectminecraft.vue new file mode 100644 index 0000000..b209b74 --- /dev/null +++ b/webv2/components/body/Connectminecraft.vue @@ -0,0 +1,43 @@ + + + diff --git a/webv2/components/body/Sidebar.vue b/webv2/components/body/Sidebar.vue index b288845..eb9278d 100644 --- a/webv2/components/body/Sidebar.vue +++ b/webv2/components/body/Sidebar.vue @@ -1,6 +1,8 @@