From 248b6f9d89d0b3682416758f65bfbd26665efe22 Mon Sep 17 00:00:00 2001 From: Trenton Zimmer <66042448+trmazi@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:26:28 -0400 Subject: [PATCH] Add game option saving, clean up api calls --- src/components/FormControl.vue | 4 +- src/components/UserAvatar.vue | 2 +- src/constants/index.js | 25 +- src/constants/options/iidxOptions.js | 19840 ++++++++++++------------- src/constants/options/index.js | 3 +- src/stores/api/profile.js | 50 + src/stores/main.js | 29 - src/views/Game/EditView.vue | 218 +- src/views/Game/GameView.vue | 11 +- src/views/Game/PersonalScores.vue | 4 +- src/views/Game/PlayerView.vue | 6 +- src/views/HomeView.vue | 91 +- 12 files changed, 10152 insertions(+), 10131 deletions(-) create mode 100644 src/stores/api/profile.js diff --git a/src/components/FormControl.vue b/src/components/FormControl.vue index f1feee77..cbc89088 100644 --- a/src/components/FormControl.vue +++ b/src/components/FormControl.vue @@ -17,11 +17,11 @@ const props = defineProps({ default: null, }, maxlength: { - type: String, + type: Number, default: null, }, minlength: { - type: String, + type: Number, default: null, }, max: { diff --git a/src/components/UserAvatar.vue b/src/components/UserAvatar.vue index 82513f43..34ad1ab4 100644 --- a/src/components/UserAvatar.vue +++ b/src/components/UserAvatar.vue @@ -27,7 +27,7 @@ const username = computed(() => props.username); :alt="username" width="200" height="200" - class="w-full h-auto bg-gray-100 dark:bg-slate-800 rounded-full overflow-hidden" + class="w-full h-auto bg-gray-100 dark:bg-slate-800 rounded-full overflow-hidden drop-shadow-lg" />
- -
- - - - - -