From 5decf9939b1fb060fa6be6a9ece7188a8cc0f9be Mon Sep 17 00:00:00 2001 From: Zoe <62722391+juls0730@users.noreply.github.com> Date: Fri, 27 Feb 2026 16:21:00 -0600 Subject: [PATCH] feat: improve auth pages --- app/components/Dialog/QuickSwitcher.vue | 6 +- app/components/Sidenav/index.vue | 2 +- app/components/ThemeSwitcher.vue | 13 ++- app/layouts/auth.vue | 21 ++++- app/pages/auth/login.vue | 77 ++++++++++++++---- app/pages/auth/register.vue | 104 ++++++++++++++++++------ nuxt.config.ts | 6 ++ 7 files changed, 179 insertions(+), 50 deletions(-) diff --git a/app/components/Dialog/QuickSwitcher.vue b/app/components/Dialog/QuickSwitcher.vue index aa8d58b..ec354f5 100644 --- a/app/components/Dialog/QuickSwitcher.vue +++ b/app/components/Dialog/QuickSwitcher.vue @@ -135,7 +135,7 @@ onMounted(() => { inputRef.value?.focus(); });
@@ -152,8 +152,8 @@ onMounted(() => { inputRef.value?.focus(); }); class="group flex items-center h-10 pr-3 rounded-md cursor-pointer transition-colors relative ml-10 hover:bg-[var(--color-hover)]" :class="selectedIndex === index ? 'bg-[var(--color-hover)] text-[var(--text-primary)]' : 'text-[var(--text-secondary)]'"> -
-
+
+
{{ item.name }} diff --git a/app/components/Sidenav/index.vue b/app/components/Sidenav/index.vue index 1bdd55b..124b7c0 100644 --- a/app/components/Sidenav/index.vue +++ b/app/components/Sidenav/index.vue @@ -151,7 +151,7 @@ const navKind = computed(() => {
- +
diff --git a/app/components/ThemeSwitcher.vue b/app/components/ThemeSwitcher.vue index 9709b20..fdd2fb4 100644 --- a/app/components/ThemeSwitcher.vue +++ b/app/components/ThemeSwitcher.vue @@ -1,6 +1,10 @@