Revert "feat: login rewritten — split-screen auth (white form column + living aurora pane, tagline), 2026 convention"

This reverts commit 185380ffa5.
This commit is contained in:
2026-07-25 17:25:42 +02:00
parent 185380ffa5
commit d0eeedb62b
2 changed files with 22 additions and 44 deletions
+5 -13
View File
@@ -2,24 +2,16 @@
import Base from '../layouts/Base.astro';
---
<Base title="CTAO Science Portal — Sign in" description="Sign in via CTAO AAI (mock)">
{/* Split-screen auth (2026 convention: Linear/Stripe/Vercel) — clean white
form column + living brand aurora pane. Auth pages are scanned, not read:
one line of copy, one action. */}
<section class="auth">
<div class="auth-pane">
<section class="auth-band">
<div class="band-bg" aria-hidden="true"></div>
<div class="auth-card">
<img class="auth-logo" src="/brand/CTAO_Logo_positive.svg" alt="CTAO" />
<span class="badge-mock">Mock — AAI integration pending</span>
<h1>Sign in</h1>
{/* Auth pages are scanned, not read — one line, no reassurance prose */}
<p class="muted">Use your CTAO account — single sign-on via CTAO AAI.</p>
<button class="btn btn-wide" type="button">Continue with your CTAO account</button>
<p class="notice">No account? <a>Register via CTAO AAI</a></p>
<p class="auth-foot">
<span class="badge-mock">Mock — AAI integration pending</span>
<a class="back" href="/">← Back to the portal</a>
</p>
</div>
<div class="auth-visual auth-band" aria-hidden="true">
<div class="band-bg"></div>
<p class="auth-tagline">Exploring the Universe<br />at the Highest Energies</p>
</div>
</section>
</Base>
+17 -31
View File
@@ -642,40 +642,26 @@ mark { background: var(--tint-cherenkov); color: inherit; border-radius: calc(va
.pill--review { color: var(--text); background: #fff; }
.pill--draft { color: var(--muted); background: #fff; }
/* Auth (login mock) — split-screen (2026 auth convention): white form column,
living aurora pane. The aurora pane reuses .auth-band (the ONLY navy band
besides the home hero) so the static/animated nebula rules apply unchanged. */
.auth {
display: grid; grid-template-columns: minmax(400px, 40%) 1fr;
min-height: calc(100dvh - 56px);
/* Auth (login mock) — nebula backdrop + floating card; the ONLY navy band
besides the home hero */
.auth-band {
min-height: calc(100dvh - 56px); position: relative;
display: grid; place-items: center; padding: var(--space-band) var(--gutter);
background: var(--nebula), var(--galaxy);
}
.auth-pane {
display: flex; flex-direction: column; justify-content: center;
gap: var(--space-s); padding: var(--space-band) clamp(28px, 6vw, 88px);
max-width: 560px;
.auth-card {
position: relative; background: #fff; border-radius: calc(var(--radius) + 8px);
padding: var(--space-l); max-width: 440px; width: 100%;
box-shadow: var(--shadow-lifted);
}
.auth-logo { height: 26px; width: auto; margin-bottom: var(--space-l); align-self: flex-start; }
.auth-pane h1 { color: var(--galaxy); margin: 0; font-size: var(--fs-h2); }
.auth-pane .muted { color: var(--muted); font-size: var(--fs-s); margin: 0 0 var(--space-s); }
.auth-logo { height: 24px; width: auto; margin-bottom: var(--space-m); }
/* Whisper badge sits top-right, off the reading flow (back in flow ≤480px
where it would collide with the logo) */
.auth-card .badge-mock { position: absolute; top: var(--space-l); right: var(--space-l); margin: 0; }
@media (max-width: 480px) { .auth-card .badge-mock { position: static; margin-bottom: 14px; } }
.auth-card h1 { color: var(--galaxy); margin: 6px 0 10px; font-size: var(--fs-xl); }
.auth-card .muted { color: var(--muted); font-size: var(--fs-s); }
.btn-wide { width: 100%; margin-top: var(--space-s); }
.auth-foot {
display: flex; align-items: center; justify-content: space-between; gap: var(--space-s);
margin-top: var(--space-xl); flex-wrap: wrap;
}
.auth-foot .badge-mock { margin: 0; }
.auth-foot .back { font-size: var(--fs-s); }
.auth-visual { position: relative; background: var(--nebula), var(--galaxy); }
.auth-tagline {
position: absolute; left: clamp(28px, 5vw, 64px); bottom: clamp(28px, 6vh, 64px);
margin: 0; color: #fff; font-family: var(--font-display); font-weight: 500;
font-size: var(--fs-xl); letter-spacing: -0.015em; line-height: 1.25;
}
@media (max-width: 900px) {
.auth { grid-template-columns: 1fr; min-height: 0; }
.auth-visual { order: -1; min-height: 180px; }
.auth-tagline { display: none; }
.auth-pane { padding: var(--space-l) var(--gutter) var(--space-xl); max-width: none; }
}
/* Footer — brand band: logo + descriptor / spec links (§3.3.1) / demo note + flash.
No top margin: Moon/Galaxy bands meet it flush; white pages pad via .page/.article. */