diff --git a/components/PasswordGate.module.css b/components/PasswordGate.module.css index ed90c8f..2653be7 100644 --- a/components/PasswordGate.module.css +++ b/components/PasswordGate.module.css @@ -90,6 +90,23 @@ font-weight: 400; } +.spinner { + animation: spin 1s linear infinite; + display: inline-block; + margin-right: 8px; + vertical-align: middle; +} + +@keyframes spin { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } +} + /* ── Responsive ──────────────────────────────────── */ @media (max-width: 640px) { .card { diff --git a/components/PasswordGate.tsx b/components/PasswordGate.tsx index 5db6859..9335888 100644 --- a/components/PasswordGate.tsx +++ b/components/PasswordGate.tsx @@ -66,7 +66,28 @@ export default function PasswordGate({ slug, title, type = 'subpage' }: Password aria-describedby={error ? 'password-error' : undefined} />