diff --git a/services/frontend/src/app/Landing.tsx b/services/frontend/src/app/Landing.tsx
new file mode 100644
index 0000000..ad994a6
--- /dev/null
+++ b/services/frontend/src/app/Landing.tsx
@@ -0,0 +1,417 @@
+import Link from "next/link";
+
+import { ChartWheel } from "@/components/ChartWheel";
+import { Rich } from "@/components/Rich";
+import { Logo } from "@/components/SiteHeader";
+import { Waitlist } from "@/components/Waitlist";
+import example from "@/content/pelda.json";
+import type { AnalysisContent, ChartResult } from "@/lib/types";
+
+// A quiet starfield, the same on every render.
+const STARS = (() => {
+ let seed = 7;
+ const rnd = () => {
+ seed = (seed * 9301 + 49297) % 233280;
+ return seed / 233280;
+ };
+ return Array.from({ length: 70 }, (_, i) => ({
+ x: (rnd() * 1000).toFixed(1),
+ y: (rnd() * 600).toFixed(1),
+ r: (0.6 + rnd() * 1.4).toFixed(1),
+ t: i % 5,
+ }));
+})();
+
+const MONTHS = ["márc", "ápr", "máj", "jún", "júl", "aug", "szept", "okt", "nov", "dec", "jan", "febr"];
+
+/** Points of a ring of the comparison picture. */
+function ring(r: number, degrees: number[]) {
+ return degrees.map((d) => {
+ const a = (d * Math.PI) / 180;
+ return { x: 110 + r * Math.cos(a), y: 110 - r * Math.sin(a) };
+ });
+}
+const YOU = ring(72, [15, 70, 128, 190, 236, 300, 338]);
+const THEM = ring(100, [40, 95, 150, 205, 262, 318, 355]);
+const LINKS: [number, number, string][] = [
+ [0, 0, "var(--harmonic)"],
+ [2, 4, "var(--tense)"],
+ [4, 5, "var(--harmonic)"],
+ [5, 2, "var(--gold)"],
+];
+
+// Sample lines of a forecast timeline (illustration, marked as such).
+const EVENTS = [
+ { date: "ápr. 9.", glyph: "♃\uFE0E", tone: "harmonic", text: "Jupiter trigon Nap: kinyíló lehetőségek" },
+ { date: "júl. 22.", glyph: "♄\uFE0E", tone: "tense", text: "Szaturnusz kvadrát Hold: érzelmi számvetés" },
+ { date: "okt. 14.", glyph: "☉\uFE0E", tone: "neutral", text: "Napfogyatkozás a 10. házban: hivatás" },
+];
+
+const CHAPTERS = ["Személyiség", "Érzelmek", "Gondolkodás", "Szerelem", "Hivatás", "Fejlődés"];
+const SYNASTRY_TOPICS = ["Vonzás", "Kommunikáció", "Érzelmi kötődés", "Súrlódások", "Hosszú táv"];
+
+/** The home page for visitors: what the site does, shown on the example chart. */
+export function Landing({ inviteOnly }: { inviteOnly: boolean }) {
+ const chart = example.chart as unknown as ChartResult;
+ const analysis = example.analysis as AnalysisContent;
+ const sections = ["emotions", "love"].map((k) => analysis.sections?.[k]).filter((s) => s !== undefined);
+ const lead = (analysis.summary ?? "").split(/(?<=\.)\s/)[0];
+ const signIn = inviteOnly ? "Belépés meghívóval" : "Elkészítem a képletem";
+
+ return (
+
+
+
+
+
+ {STARS.map((s, i) => (
+
+ ))}
+
+
+
+
Születési képlet · Éves előrejelzés · Kapcsolat
+
+ Ahol a csillagok
+
+ összekötnek.
+
+
+ Add meg, mikor és hol születtél: percre pontosan kiszámoljuk a képletedet, és személyre szóló elemzést írunk
+ belőle. Megmutatjuk, mit hoz az éved, és mennyire illetek össze azzal, akit szeretsz.
+
+
+
+ {signIn}
+
+
+ Példaelemzés
+
+
+
+ {inviteOnly ? (
+ <>
+ Az oldal egyelőre meghívásos: meghívóval, Google-fiókkal lépsz be. Ha még nincs meghívód,{" "}
+ iratkozz fel a várólistára .
+ >
+ ) : (
+ "A képlet és a rövid összefoglaló ingyenes. Google-fiókkal lépsz be."
+ )}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ☉︎ Nap Halak
+
+
+ ☽︎ Hold Skorpió
+
+
+ ASC Oroszlán
+
+
+ Példa: egy kitalált képlet · {example.birth}
+
+
+
+
+
+
+
+
+
Első lépés
+
Pár mondat, ami rólad szól
+
+ A képleted mellé rögtön kapsz egy rövid összefoglalót: mi adja a képleted gerincét, hol feszül, és miben vagy
+ igazán erős. Ingyen, a belépés után azonnal.
+
+
+
+ Röviden · ingyenes
+ {example.summary.title}
+
+
+
+
+
+
+
+
+
+
+
Részletes elemzés
+
Ha mélyebbre mennél
+
+ Hat fejezet a személyiségedről, az érzelmeidről, a gondolkodásodról, a szerelemről, a hivatásodról és a
+ fejlődésed irányáról. A végén erősségek, kihívások és útravaló, és ha kérdésed van, rá is kérdezhetsz.
+
+
+
+
+
+ {analysis.title}
+ {lead}
+
+
+ {sections.map((s) => (
+
+ ))}
+
+
+ Részlet egy kitalált képlet teljes elemzéséből
+ Elolvasom a teljes példaelemzést →
+
+
+
+
+
Erősségek
+
+ {(analysis.strengths ?? []).slice(0, 2).map((t) => (
+
+
+
+ ))}
+
+
+
+
Kérdezz rá
+
+ Ami nem világos, vagy amire kíváncsi vagy, megkérdezheted: a válasz a képletedből és az elemzésedből
+ születik.
+
+
„Mit jelent nekem a Hold–Vénusz kvadrát a párkapcsolatban?”
+
+
+
+
+ {CHAPTERS.map((c) => (
+
+ {c}
+
+ ))}
+ Útravaló
+
+
+
+
+
+
+
+ Nemcsak a képleted
+
Mit hoz az éved, és kivel illetek össze?
+
+
+
+
+
Éves előrejelzés
+
Egy év, hónapról hónapra
+
+ Szolár képlet, tranzitok pontos dátumokkal és progresszió: születésnaptól születésnapig, hogy tudd, mikor
+ mire érdemes figyelni.
+
+
+
+
+
+
+ {MONTHS.map((m, i) => {
+ const x = 10 + (i * 420) / 11;
+ return (
+
+
+
+ {m}
+
+
+ );
+ })}
+
+
+
+
+
+
+ most
+
+
+
+ {EVENTS.map((e) => (
+
+ {e.date}
+
+ {e.glyph}
+
+ {e.text}
+
+ ))}
+
+
Minta az idővonalból
+
+
+
+
+
+
Kapcsolati összevetés
+
Mennyire illetek össze?
+
+ Két képlet egymásra vetítve. Hívd meg, akit szeretsz: ő megadja a saját adatait, és együtt nézitek meg,
+ hol erős és hol kényes a kapcsolatotok.
+
+
+
+
+
+
+
+
+ {THEM.map((p, i) => (
+
+ ))}
+
+
+ {YOU.map((p, i) => (
+
+ ))}
+
+ {LINKS.map(([a, b, color]) => (
+
+ ))}
+
+
+
+ Te
+
+
+ Ő
+
+
+
+
+
+
+ harmonikus · feszült · semleges fényszögek
+
+
+
+ {SYNASTRY_TOPICS.map((c) => (
+
+ {c}
+
+ ))}
+
+
+
+
+
+
+
+
+
Így működik
+
+
+ 1
+ Belépsz, és megadod az adataidat
+
+ {inviteOnly ? "Meghívóval, Google-fiókkal lépsz be" : "Google-fiókkal lépsz be"}, aztán megadod a születésed
+ dátumát, idejét és helyét. Ha az időpontot nem tudod, akkor is kiszámoljuk, ami kiszámolható.
+
+
+
+ 2
+ Kész a képleted, ingyen
+
+ Megrajzolt radix, bolygóállások, házak, fényszögek és egy rövid, személyre szóló összefoglaló.
+
+
+
+ 3
+ Ha többet szeretnél
+
+ Részletes elemzés, éves előrejelzés, kapcsolati összevetés, és kérdések, amikre a saját képleted felel.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Kíváncsi vagy, mit mutat a te képleted?
+
+ {inviteOnly
+ ? "Egyelőre meghívással lehet csatlakozni. Ha kaptál meghívót, lépj be a Google-fiókoddal. Ha még nem, írd fel magad, és szólunk."
+ : "Két perc, és ott a képleted a rövid összefoglalóval együtt."}
+
+
+ {signIn}
+
+ {inviteOnly && (
+
+
+
+ )}
+
+ Az elemzéseket mesterséges intelligencia írja a pontosan kiszámolt képlet alapján. Tájékoztató jellegűek, nem
+ helyettesítenek szakmai tanácsot.
+
+
+
+
+
+
+ );
+}
diff --git a/services/frontend/src/app/globals.css b/services/frontend/src/app/globals.css
index f6214a1..812d425 100644
--- a/services/frontend/src/app/globals.css
+++ b/services/frontend/src/app/globals.css
@@ -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; }
+}
diff --git a/services/frontend/src/app/page.tsx b/services/frontend/src/app/page.tsx
index 6ef2e29..52d7823 100644
--- a/services/frontend/src/app/page.tsx
+++ b/services/frontend/src/app/page.tsx
@@ -1,10 +1,36 @@
+import type { Metadata } from "next";
import { redirect } from "next/navigation";
-import { getMe } from "@/lib/server";
+import { BACKEND_URL, getMe } from "@/lib/server";
+import type { PublicConfig } from "@/lib/types";
-// No home page yet: logged-in users go to their chart (or to the profile to enter
-// their birth data), others to login.
+import { Landing } from "./Landing";
+
+export const metadata: Metadata = {
+ title: { absolute: "Sorsfonalak – születési képlet, éves előrejelzés, kapcsolati összevetés" },
+ description:
+ "Percre pontos születési képlet és személyre szóló elemzés, éves előrejelzés és kapcsolati összevetés: mennyire illetek össze?",
+ openGraph: {
+ type: "website",
+ siteName: "Sorsfonalak",
+ locale: "hu_HU",
+ title: "Sorsfonalak – ahol a csillagok összekötnek",
+ description: "Születési képlet, részletes elemzés, éves előrejelzés és kapcsolati összevetés.",
+ },
+};
+
+async function signupMode(): Promise {
+ try {
+ const res = await fetch(`${BACKEND_URL}/v1/config`, { next: { revalidate: 300 } });
+ return res.ok ? ((await res.json()) as PublicConfig).signup_mode : "invite";
+ } catch {
+ return "invite";
+ }
+}
+
+/** Visitors get the home page; logged-in users go to their chart (or to the profile for their birth data). */
export default async function Home() {
const me = await getMe();
- redirect(!me ? "/belepes" : me.primary_chart_id ? "/keplet" : "/profil");
+ if (me) redirect(me.primary_chart_id ? "/keplet" : "/profil");
+ return ;
}
diff --git a/services/frontend/src/components/ChartWheel.tsx b/services/frontend/src/components/ChartWheel.tsx
index 6c52e7d..024bfae 100644
--- a/services/frontend/src/components/ChartWheel.tsx
+++ b/services/frontend/src/components/ChartWheel.tsx
@@ -197,9 +197,7 @@ export function ChartWheel({
dominantBaseline="central"
textAnchor="middle"
>
-
- {pointName(key)}: {dms(a.degree_in_sign_dms)} {signName(a.sign)}
-
+ {`${pointName(key)}: ${dms(a.degree_in_sign_dms)} ${signName(a.sign)}`}
{label}
);
@@ -225,8 +223,7 @@ export function ChartWheel({
strokeWidth={(0.6 + 1.9 * s).toFixed(2)}
>
- {pointName(a.point1)} {ASPECTS[a.aspect]?.hu ?? a.aspect} {pointName(a.point2)} (orbis{" "}
- {orbText(a.orb)})
+ {`${pointName(a.point1)} ${ASPECTS[a.aspect]?.hu ?? a.aspect} ${pointName(a.point2)} (orbis ${orbText(a.orb)})`}
);
@@ -244,9 +241,9 @@ export function ChartWheel({
return (
- {pointName(p.id)}: {dms(p.degree_in_sign_dms)} {signName(p.sign)}
- {p.retrograde ? ", retrográd" : ""}
- {timeKnown && p.house ? `, ${p.house}. ház` : ""}
+ {`${pointName(p.id)}: ${dms(p.degree_in_sign_dms)} ${signName(p.sign)}${p.retrograde ? ", retrográd" : ""}${
+ timeKnown && p.house ? `, ${p.house}. ház` : ""
+ }`}
diff --git a/services/frontend/src/components/SynastryWheel.tsx b/services/frontend/src/components/SynastryWheel.tsx
index bb481b0..f61d6e5 100644
--- a/services/frontend/src/components/SynastryWheel.tsx
+++ b/services/frontend/src/components/SynastryWheel.tsx
@@ -72,9 +72,9 @@ function Ring({
return (
- {who}: {pointName(p.id)} {dms(p.degree_in_sign_dms)} {signName(p.sign)}
- {p.retrograde ? ", retrográd" : ""}
- {timeKnown && p.house ? `, ${p.house}. ház` : ""}
+ {`${who}: ${pointName(p.id)} ${dms(p.degree_in_sign_dms)} ${signName(p.sign)}${p.retrograde ? ", retrográd" : ""}${
+ timeKnown && p.house ? `, ${p.house}. ház` : ""
+ }`}
@@ -208,9 +208,7 @@ export function SynastryWheel({
const [x, y] = xy(a.longitude, R_LABEL, start);
return (
-
- {name1}: {pointName(key)} {dms(a.degree_in_sign_dms)} {signName(a.sign)}
-
+ {`${name1}: ${pointName(key)} ${dms(a.degree_in_sign_dms)} ${signName(a.sign)}`}
{label}
);
@@ -236,8 +234,7 @@ export function SynastryWheel({
strokeWidth={(0.6 + 1.9 * s).toFixed(2)}
>
- {name1} {pointName(a.person1)} {ASPECTS[a.aspect]?.hu ?? a.aspect} {name2} {pointName(a.person2)} (orbis{" "}
- {orbText(a.orb)})
+ {`${name1} ${pointName(a.person1)} ${ASPECTS[a.aspect]?.hu ?? a.aspect} ${name2} ${pointName(a.person2)} (orbis ${orbText(a.orb)})`}
);