From 51705f8651bd61b8715dfb6306db6cfe758f9991 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Thu, 11 May 2023 19:46:18 +0200 Subject: [PATCH] Improved team system --- web/app.vue | 11 +- web/components/layout/Sidebar.vue | 10 +- web/components/team/Default.vue | 2 +- web/components/team/None.vue | 2 +- web/layouts/default.vue | 2 +- web/nuxt.config.ts | 4 +- web/package-lock.json | 705 ++++++++++++++++++ web/package.json | 1 + web/pages/login.vue | 6 +- web/pages/map.vue | 11 + web/pages/player-store.vue | 11 + web/pages/team.vue | 2 +- web/public/pictures/diamond_wall.webp | Bin 0 -> 105364 bytes web/server/api/auth/index.js | 2 +- .../api/auth/user/setdefaultusername.js | 6 +- web/server/api/discord/refreshusername.js | 9 +- web/server/api/minecraft/refreshusername.js | 12 +- web/server/api/team/acceptinvite.js | 6 + web/server/api/team/create.post.js | 8 +- web/server/api/team/edit.js | 8 + web/server/api/team/leave.js | 12 + web/server/utils/auth.js | 13 + 22 files changed, 811 insertions(+), 32 deletions(-) create mode 100644 web/pages/map.vue create mode 100644 web/pages/player-store.vue create mode 100644 web/public/pictures/diamond_wall.webp diff --git a/web/app.vue b/web/app.vue index e781708..7c928ce 100644 --- a/web/app.vue +++ b/web/app.vue @@ -1,14 +1,5 @@ - - diff --git a/web/components/layout/Sidebar.vue b/web/components/layout/Sidebar.vue index caea777..f6ac835 100644 --- a/web/components/layout/Sidebar.vue +++ b/web/components/layout/Sidebar.vue @@ -1,5 +1,5 @@ diff --git a/web/pages/map.vue b/web/pages/map.vue new file mode 100644 index 0000000..c992ea5 --- /dev/null +++ b/web/pages/map.vue @@ -0,0 +1,11 @@ +