From 0f4301b5c3b8f21b1ac2bc11188b6d9cd57dc203 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Thu, 22 Oct 2026 19:58:50 +0800 Subject: [PATCH] update --- src/components/AuthModal.astro | 51 +++++++- src/components/ComingSoon.astro | 2 +- src/components/DetailGalleryView.astro | 2 +- src/components/views/Account.astro | 12 +- src/components/views/Home.astro | 47 ++++--- src/components/views/Login.astro | 4 +- src/layouts/Layout.astro | 57 +++++--- src/pages/404.astro | 2 +- src/styles/global.css | 172 ++++++++++++++++++++++++- src/styles/look-grid.css | 50 +++++-- 10 files changed, 332 insertions(+), 67 deletions(-) diff --git a/src/components/AuthModal.astro b/src/components/AuthModal.astro index b7aaba5..77d4a25 100644 --- a/src/components/AuthModal.astro +++ b/src/components/AuthModal.astro @@ -23,16 +23,18 @@ const fullLoginLabel = t('go to full login') x-show="isOpen" x-cloak data-auth-fail={failLabel} + data-auth-modal class="fixed inset-0 z-[200] flex items-center justify-center bg-black/40 px-5" role="dialog" aria-modal="true" aria-label={title} @click.self="close()" @keydown.escape.window="close()" + @keydown.tab="trapFocus($event)" >
-

{title}

+

{title}

@@ -40,19 +42,19 @@ const fullLoginLabel = t('go to full login')
- - {accountLabel} +
- - {passwordLabel} +

- @@ -145,7 +145,7 @@ const browseLabel = t("browse the archive")
-

{noHistoryLabel}

+

{noHistoryLabel}

{browseLabel}
diff --git a/src/components/views/Home.astro b/src/components/views/Home.astro index c366954..2a982b1 100644 --- a/src/components/views/Home.astro +++ b/src/components/views/Home.astro @@ -46,10 +46,10 @@ const streetItems: {
-
-