Home page for visitors
CI / test (push) Successful in 1m16s
CI / build (push) Successful in 7m23s
CI / deploy (push) Skipped

Visitors now get a home page instead of the login: the example chart's
wheel coming alive (planets one by one, aspect lines drawn, a slow orbit,
a quiet starfield), the free short summary, excerpts of the detailed
analysis, the yearly forecast and the relationship comparison, how it works
and a closing call. While sign-up is by invitation it says so: the buttons
lead to the Google login with an invitation, and others can join the
waitlist. Motion is off for reduced-motion users. Logged-in users still go
to their chart.

Also: the wheel tooltips (planets, aspects, angles) were empty, since React
19 wants plain text inside <title>; they are template strings now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-19 10:36:18 +00:00
co-authored by Claude Opus 5.5
parent 4f09aac3f5
commit dad16fe463
5 changed files with 607 additions and 20 deletions
+150
View File
@@ -759,3 +759,153 @@ a.pair-row:hover strong { color: var(--gold); }
.invite-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.invite-list li:last-child { border-bottom: 0; }
.invite-who { display: flex; flex-direction: column; min-width: 0; flex: 1 1 180px; }
/* Home page for visitors (src/app/Landing.tsx) */
.lp { overflow-x: clip; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp-header { gap: 16px; }
.lp-nav { flex: 1; }
.lp-hero { position: relative; overflow: hidden; }
.lp-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-star { fill: var(--ink); opacity: 0.25; animation: lp-twinkle 6s ease-in-out infinite; }
.lp-t1 { animation-delay: 1s; animation-duration: 7s; }
.lp-t2 { animation-delay: 2.4s; animation-duration: 5s; }
.lp-t3 { animation-delay: 3.1s; animation-duration: 8s; }
.lp-t4 { animation-delay: 0.6s; animation-duration: 9s; }
.lp-hero-grid {
position: relative; padding-top: 72px; padding-bottom: 88px;
display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px; align-items: center;
}
.lp-hero-text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.lp-hero-text .eyebrow { font-size: 13px; letter-spacing: 2px; }
.lp-title { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.5px; }
.lp-lead { font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: 540px; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-btn { min-height: 48px; padding: 0 22px; transition: transform 0.2s, background 0.2s, border-color 0.2s; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-big { min-height: 52px; padding: 0 28px; font-size: 16px; }
.lp-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lp-wheel {
position: relative; width: 100%; max-width: 560px; border-radius: 50%;
background: radial-gradient(closest-side, rgba(217, 180, 106, 0.07), transparent 72%);
}
.lp-wheel .chart-wheel { position: relative; }
.lp-orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: lp-spin 240s linear infinite; }
.lp-orbit circle { fill: none; stroke: var(--gold); stroke-opacity: 0.18; stroke-width: 1; stroke-dasharray: 2 10; }
.lp-orbit .lp-orbit-dot { fill: var(--gold); stroke: none; opacity: 0.55; }
/* the wheel comes alive: planets one by one, then the aspect lines */
.lp-wheel .w-point { opacity: 0; animation: lp-fade 0.9s ease-out forwards; }
.lp-wheel .w-point:nth-last-of-type(13) { animation-delay: 0.3s; }
.lp-wheel .w-point:nth-last-of-type(12) { animation-delay: 0.42s; }
.lp-wheel .w-point:nth-last-of-type(11) { animation-delay: 0.54s; }
.lp-wheel .w-point:nth-last-of-type(10) { animation-delay: 0.66s; }
.lp-wheel .w-point:nth-last-of-type(9) { animation-delay: 0.78s; }
.lp-wheel .w-point:nth-last-of-type(8) { animation-delay: 0.9s; }
.lp-wheel .w-point:nth-last-of-type(7) { animation-delay: 1.02s; }
.lp-wheel .w-point:nth-last-of-type(6) { animation-delay: 1.14s; }
.lp-wheel .w-point:nth-last-of-type(5) { animation-delay: 1.26s; }
.lp-wheel .w-point:nth-last-of-type(4) { animation-delay: 1.38s; }
.lp-wheel .w-point:nth-last-of-type(3) { animation-delay: 1.5s; }
.lp-wheel .w-point:nth-last-of-type(2) { animation-delay: 1.62s; }
.lp-wheel .w-point:nth-last-of-type(1) { animation-delay: 1.74s; }
.lp-wheel .w-aspect { stroke-dasharray: 300; stroke-dashoffset: 300; animation: lp-draw 1.8s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards; }
.lp-wheel .w-aspect.w-asp-sextile { stroke-dasharray: 5 4; stroke-dashoffset: 0; opacity: 0; animation: lp-fade 1.2s ease-out 2.2s forwards; }
.lp-caption { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lp-caption .share-trio { justify-content: center; font-size: 15px; }
.lp-asc { color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: 0.5px; }
.lp-rise { opacity: 0; transform: translateY(14px); animation: lp-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.lp-r1 { animation-delay: 0.1s; } .lp-r2 { animation-delay: 0.25s; } .lp-r3 { animation-delay: 0.4s; } .lp-r4 { animation-delay: 0.55s; }
.lp-band { border-top: 1px solid var(--line); padding: 96px 0; }
.lp-alt { background: var(--panel-2); }
.lp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px; align-items: center; }
.lp-stack { display: flex; flex-direction: column; gap: 40px; }
.lp-intro { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.lp-intro .eyebrow { font-size: 13px; letter-spacing: 2px; }
.lp-h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; }
.lp-h3 { font-size: 24px; }
.lp-center { text-align: center; }
.lp-text { font-size: 17px; color: var(--ink-2); line-height: 1.65; }
.lp-small { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.lp-float { padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); animation: lp-float 9s ease-in-out infinite; }
.lp-float .summary-title { font-size: 32px; }
.lp-analysis-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.lp-paper { padding: 36px; gap: 22px; }
.lp-paper-title { font-size: 36px; line-height: 1.08; }
.lp-excerpts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; }
.lp-fade { max-height: 270px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.lp-excerpt-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--gold); line-height: 1.15; margin: 0; }
.lp-paper-foot { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; }
.lp-paper-foot a { font-weight: 600; text-decoration: none; }
.lp-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lp-side-card { gap: 12px; }
.lp-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lp-question { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: var(--panel-2); border: 1px solid var(--line-2); font-size: 14px; }
.lp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.lp-chip-gold { border-color: rgba(217, 180, 106, 0.5); color: var(--gold); }
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.lp-feature { padding: 32px; gap: 20px; }
.lp-feature-head { display: flex; flex-direction: column; gap: 10px; }
.lp-feature-title { font-size: 32px; line-height: 1.1; }
.lp-panel { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.lp-timeline { width: 100%; height: auto; display: block; }
.lp-tl-track { stroke: var(--line-2); stroke-width: 2; }
.lp-tl-done { stroke: var(--gold); stroke-width: 2; }
.lp-tl-month { fill: var(--muted); font: 400 10px var(--font-body); text-anchor: middle; }
.lp-tl-now { fill: var(--ink); font: 600 11px var(--font-body); text-anchor: middle; }
.lp-pulse { transform-box: fill-box; transform-origin: center; animation: lp-pulse 2.6s ease-in-out infinite; }
.lp-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.lp-pair { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; align-items: center; }
.lp-rings { width: 100%; height: auto; display: block; }
.lp-ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.lp-ring-core { fill: var(--panel); stroke: var(--line); }
.lp-spin { transform-box: fill-box; transform-origin: center; animation: lp-spin 120s linear infinite; }
.lp-spin-back { transform-box: fill-box; transform-origin: center; animation: lp-spin 160s linear infinite reverse; }
.lp-pair-legend { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pair-text-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pair-text-row.p2-text { color: var(--p2); }
.lp-pair .nature-bar { margin-top: 6px; height: 8px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.lp-steps .card { gap: 12px; padding: 28px; }
.lp-step-n { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--gold); }
.lp-step-title { font-family: var(--font-body); font-size: 18px; font-weight: 600; line-height: 1.3; }
.lp-final { background: radial-gradient(ellipse at 50% 0%, rgba(217, 180, 106, 0.12), transparent 60%), var(--bg); padding: 104px 0; }
.lp-final-inner { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.lp-emblem { width: 88px; height: 88px; }
.lp-emblem-outer { fill: none; stroke: var(--gold); stroke-opacity: 0.5; stroke-width: 1; }
.lp-waitlist { width: 100%; max-width: 520px; text-align: left; }
.lp-disclaimer { max-width: 560px; }
.lp-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.lp-footer-inner { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.lp-footer-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.lp-footer-nav a { color: var(--muted); text-decoration: none; }
.lp-footer-nav a:hover { color: var(--gold); }
@keyframes lp-twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.7; } }
@keyframes lp-fade { to { opacity: 1; } }
@keyframes lp-draw { to { stroke-dashoffset: 0; } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-rise { to { opacity: 1; transform: none; } }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lp-pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.6); opacity: 0.2; } }
@media (max-width: 900px) { .lp-analysis-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
.lp-band { padding: 64px 0; }
.lp-hero-grid { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
.lp-wrap { padding: 0 16px; }
.lp-paper, .lp-feature { padding: 22px; }
.lp-pair { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.lp-rings { max-width: 200px; }
.lp-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.lp *, .lp-orbit { animation: none !important; }
.lp-rise, .lp-wheel .w-point { opacity: 1; transform: none; }
.lp-wheel .w-aspect { stroke-dashoffset: 0; }
.lp-wheel .w-aspect.w-asp-sextile { opacity: 1; }
}