From b1a874aaebfc0ca5af6e8358bd0825c2c1f8e4ee Mon Sep 17 00:00:00 2001 From: legonzaur Date: Thu, 4 Jul 2024 22:07:48 +0200 Subject: [PATCH] Fix : switch to state based shuffle animation --- app/spa-loading-template.html | 3 + components/AnimatedBackground.vue | 2 +- components/CardPreview.vue | 2 - components/CardsGrouped.vue | 86 ++++++++++++------------ components/PlayerSlot.vue | 41 +++--------- middleware/auth.global.ts | 23 ++++--- netcode/events.ts | 16 ++--- netcode/interfaces.ts | 9 +-- pages/game/[id].vue | 24 +++---- pages/index.vue | 16 ----- pages/login.vue | 107 ------------------------------ 11 files changed, 97 insertions(+), 232 deletions(-) create mode 100644 app/spa-loading-template.html delete mode 100644 pages/index.vue delete mode 100644 pages/login.vue diff --git a/app/spa-loading-template.html b/app/spa-loading-template.html new file mode 100644 index 0000000..632ba0c --- /dev/null +++ b/app/spa-loading-template.html @@ -0,0 +1,3 @@ + +I LOVE LOADING SCREENS + \ No newline at end of file diff --git a/components/AnimatedBackground.vue b/components/AnimatedBackground.vue index 10462b8..4109a40 100644 --- a/components/AnimatedBackground.vue +++ b/components/AnimatedBackground.vue @@ -161,7 +161,7 @@ onUnmounted(() => { \ No newline at end of file diff --git a/pages/login.vue b/pages/login.vue deleted file mode 100644 index 842040c..0000000 --- a/pages/login.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - - -import { useRuntimeConfig, navigateTo } from 'nuxt/app';