Home page for visitors
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:
@@ -72,9 +72,9 @@ function Ring({
|
||||
return (
|
||||
<g key={p.id} className="w-point">
|
||||
<title>
|
||||
{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` : ""
|
||||
}`}
|
||||
</title>
|
||||
<line x1={f(t1x)} y1={f(t1y)} x2={f(t2x)} y2={f(t2y)} className="w-point-tick" />
|
||||
<line x1={f(t2x)} y1={f(t2y)} x2={f(lx)} y2={f(ly)} className="w-leader" />
|
||||
@@ -208,9 +208,7 @@ export function SynastryWheel({
|
||||
const [x, y] = xy(a.longitude, R_LABEL, start);
|
||||
return (
|
||||
<text key={key} x={f(x)} y={f(y)} className="w-axis-label" dominantBaseline="central" textAnchor="middle">
|
||||
<title>
|
||||
{name1}: {pointName(key)} {dms(a.degree_in_sign_dms)} {signName(a.sign)}
|
||||
</title>
|
||||
<title>{`${name1}: ${pointName(key)} ${dms(a.degree_in_sign_dms)} ${signName(a.sign)}`}</title>
|
||||
{label}
|
||||
</text>
|
||||
);
|
||||
@@ -236,8 +234,7 @@ export function SynastryWheel({
|
||||
strokeWidth={(0.6 + 1.9 * s).toFixed(2)}
|
||||
>
|
||||
<title>
|
||||
{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)})`}
|
||||
</title>
|
||||
</line>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user