Public birth chart: keep it across pages for the tab, login for the summary
CI / test (push) Successful in 1m49s
CI / build (push) Successful in 5m52s
CI / deploy (push) Skipped

The typed birth data and the calculated chart stay in sessionStorage (no
cookie, gone with the tab), so they are back after visiting another page;
'Adatok törlése' forgets them. User-input storage for the session needs
no consent; the privacy pages say so. Signing up in the same tab fills
the profile with them.

The offer next to the chart now says the short summary needs a login.
Logged-in users get 'Csillagjegyek' in the menu.

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-21 21:04:26 +00:00
co-authored by Claude Opus 5.5
parent 985b1e872d
commit b41dc31f3e
6 changed files with 109 additions and 14 deletions
@@ -255,6 +255,14 @@ export default async function PrivacyPolicyPage() {
We use a single cookie that is strictly necessary for the service (<code>sf_session</code>), which keeps you
signed in. We use no advertising or tracking cookies and no analytics.
</p>
<p>
On the public birth chart page (no account needed), the birth data you enter are sent only for the
calculation and are not stored on our server. So that they are not lost when you move between pages, they
stay in the browser tab&apos;s own storage (not in a cookie) and are removed when you close the tab; the
page&apos;s “Adatok törlése” (delete data) button removes them earlier. If you sign up in the same tab, they
fill in the birth data on your profile. This storage only keeps what you typed, so it needs no separate
consent.
</p>
</section>
<section>