diff --git a/frontend/src/components/ui/DesignSystemStyles.astro b/frontend/src/components/ui/DesignSystemStyles.astro index 181fb89..5d79d35 100644 --- a/frontend/src/components/ui/DesignSystemStyles.astro +++ b/frontend/src/components/ui/DesignSystemStyles.astro @@ -482,6 +482,52 @@ text-align: center; } + .ui-auth-page { + display: flex; + justify-content: center; + padding: 4rem 0; + } + + .ui-auth-card { + width: 100%; + max-width: 400px; + padding: 2rem; + } + + .ui-auth-card h1 { + margin-bottom: 1.5rem; + text-align: center; + } + + .ui-auth-card .field { + margin-bottom: 1rem; + } + + .ui-auth-card label { + display: block; + margin-bottom: 0.5rem; + font-size: 0.875rem; + color: var(--color-text-muted); + } + + .ui-auth-card .ui-btn { + width: 100%; + margin-top: 1rem; + } + + .ui-auth-error { + color: var(--color-error); + font-size: 0.875rem; + min-height: 1.25rem; + } + + .ui-auth-alt { + text-align: center; + margin-top: 1.5rem; + font-size: 0.875rem; + color: var(--color-text-muted); + } + .ui-btn { display: inline-flex; align-items: center; diff --git a/frontend/src/pages/login.astro b/frontend/src/pages/login.astro index adeb555..688f2fb 100644 --- a/frontend/src/pages/login.astro +++ b/frontend/src/pages/login.astro @@ -13,23 +13,23 @@ const publicDemoSite = isEnabled((globalThis as any).process?.env?.PUBLIC_DEMO_S --- -
-
+
+

Login

- +
- +
-
- +
+
{!publicDemoSite ? ( -

+

Don't have an account? Register

) : null} @@ -74,80 +74,3 @@ const publicDemoSite = isEnabled((globalThis as any).process?.env?.PUBLIC_DEMO_S } }); - - diff --git a/frontend/src/pages/register.astro b/frontend/src/pages/register.astro index 8857bfa..cc3a5f8 100644 --- a/frontend/src/pages/register.astro +++ b/frontend/src/pages/register.astro @@ -5,30 +5,30 @@ import { API_BASE as apiBase } from '../lib/api'; --- -
-
+
+

Register

- +
- +
- +
- +
-
- +
+
-

+

Already have an account? Login

@@ -73,80 +73,3 @@ import { API_BASE as apiBase } from '../lib/api'; } }); - -