From edd8c8a95e098bbf95322e163dccfed932f441f7 Mon Sep 17 00:00:00 2001 From: BlossomiShymae <87099578+BlossomiShymae@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:32:42 -0500 Subject: [PATCH] Rework ward skins --- app.vue | 4 ++ components/Pagination.vue | 52 +++++++++---------- nuxt.config.ts | 6 ++- pages/ward-skins/index.vue | 103 +++++++++++++++++-------------------- 4 files changed, 80 insertions(+), 85 deletions(-) diff --git a/app.vue b/app.vue index c38b2aa..d3eafb9 100644 --- a/app.vue +++ b/app.vue @@ -114,6 +114,10 @@ ul.dropdown-menu { width: 200px; } +.form-control { + @extend .app-background; +} + .background { height: 100%; width: 100%; diff --git a/components/Pagination.vue b/components/Pagination.vue index e5954d4..1b43064 100644 --- a/components/Pagination.vue +++ b/components/Pagination.vue @@ -1,30 +1,4 @@ - - - - - - - - - - {{ `${index + 1} / ${count}` }} - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + {{ `${index + 1} / ${count}` }} + + + + + + + + + \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index 06a0f9b..8dd8e20 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,6 +2,7 @@ export default defineNuxtConfig({ devtools: { enabled: true }, ssr: false, + app: { baseURL: "/clean-cuts/", pageTransition: { @@ -56,7 +57,10 @@ export default defineNuxtConfig({ ], }, }, + experimental: { payloadExtraction: false, }, -}) + + compatibilityDate: "2024-10-09", +}) \ No newline at end of file diff --git a/pages/ward-skins/index.vue b/pages/ward-skins/index.vue index 6943ddd..1dfea87 100644 --- a/pages/ward-skins/index.vue +++ b/pages/ward-skins/index.vue @@ -1,58 +1,4 @@ - - - Ward Skins - - - - - - - - - - - - Id - Icon - Name - - - - - - - {{ skin.id }} - - - - - - - - - - {{ skin.name }} - - - - - - - - - - - \ No newline at end of file + +const rarities = { + "1": "Epic", + "2": "Legendary", + "3": "Ultimate", + "4": "Mythic" +}; + + + + + + + {{ skins.length }} skins + + + + + + + + + + + + + + + {{ wardSkin.name }} + {{ wardSkin.id }} + + + + + Legacy + {{ rarities[wardSkin.rarities[0].rarity as keyof typeof rarities] }} + + + + + + + \ No newline at end of file