From cada630e819d966d4b79fcade3afd1fd4d1fd983 Mon Sep 17 00:00:00 2001 From: DecDuck Date: Tue, 24 Dec 2024 11:43:36 +1100 Subject: [PATCH] fix: moved icons and created PlatformClient so we can use the enum on the frontend --- components/{icons => Icons}/DiscordLogo.vue | 0 components/{icons => Icons}/GithubLogo.vue | 0 components/{icons => Icons}/LinuxLogo.vue | 0 .../SimpleAuthenticationLogo.vue | 0 components/{icons => Icons}/WindowsLogo.vue | 0 components/PlatformSelector.vue | 7 +++---- components/UserFooter.vue | 7 +++---- composables/types.d.ts | 13 ------------- composables/types.ts | 18 ++++++++++++++++++ pages/admin/auth/index.vue | 4 ++-- pages/store/[id]/index.vue | 19 +++++++++++-------- 11 files changed, 37 insertions(+), 31 deletions(-) rename components/{icons => Icons}/DiscordLogo.vue (100%) rename components/{icons => Icons}/GithubLogo.vue (100%) rename components/{icons => Icons}/LinuxLogo.vue (100%) rename components/{icons => Icons}/SimpleAuthenticationLogo.vue (100%) rename components/{icons => Icons}/WindowsLogo.vue (100%) delete mode 100644 composables/types.d.ts create mode 100644 composables/types.ts diff --git a/components/icons/DiscordLogo.vue b/components/Icons/DiscordLogo.vue similarity index 100% rename from components/icons/DiscordLogo.vue rename to components/Icons/DiscordLogo.vue diff --git a/components/icons/GithubLogo.vue b/components/Icons/GithubLogo.vue similarity index 100% rename from components/icons/GithubLogo.vue rename to components/Icons/GithubLogo.vue diff --git a/components/icons/LinuxLogo.vue b/components/Icons/LinuxLogo.vue similarity index 100% rename from components/icons/LinuxLogo.vue rename to components/Icons/LinuxLogo.vue diff --git a/components/icons/SimpleAuthenticationLogo.vue b/components/Icons/SimpleAuthenticationLogo.vue similarity index 100% rename from components/icons/SimpleAuthenticationLogo.vue rename to components/Icons/SimpleAuthenticationLogo.vue diff --git a/components/icons/WindowsLogo.vue b/components/Icons/WindowsLogo.vue similarity index 100% rename from components/icons/WindowsLogo.vue rename to components/Icons/WindowsLogo.vue diff --git a/components/PlatformSelector.vue b/components/PlatformSelector.vue index 5db9592..d84f242 100644 --- a/components/PlatformSelector.vue +++ b/components/PlatformSelector.vue @@ -74,6 +74,7 @@ diff --git a/components/UserFooter.vue b/components/UserFooter.vue index 397f8bd..adfeb86 100644 --- a/components/UserFooter.vue +++ b/components/UserFooter.vue @@ -63,8 +63,7 @@