Compare commits

..
Author SHA1 Message Date
feco f69f76a05a Merge main into prod: tarot on the home page, footer and description
CI / build (push) Successful in 23s
CI / deploy (push) Successful in 1m0s
CI / test (push) Successful in 1m31s
2026-11-20 17:11:18 +00:00
fecoandClaude Opus 5.5 5071589bf9 Home page: example reading in the footer, tarot in the description
CI / build (push) Successful in 8m27s
CI / deploy (push) Skipped
CI / test (push) Successful in 1m28s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:11:17 +00:00
fecoandClaude Opus 5.5 cd2eb02d3d Home page footer: no English Privacy Policy link
CI / deploy (push) Skipped
CI / test (push) Successful in 1m28s
CI / build (push) Successful in 6m3s
The Hungarian privacy page links its English version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:09:53 +00:00
fecoandClaude Opus 5.5 43e22e6768 Home page: a quiet tarot line under the forecast and comparison cards
CI / test (push) Successful in 1m31s
CI / build (push) Successful in 5m20s
CI / deploy (push) Skipped
Three small fanned cards (a back, the High Priestess, the Star), one
sentence and a link to the example reading; the side feature stays
smaller than the cards above it. On phones the cards sit above the
text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-20 17:07:43 +00:00
3 changed files with 51 additions and 4 deletions
+28 -3
View File
@@ -2,11 +2,16 @@ import Link from "next/link";
import { ChartWheel } from "@/components/ChartWheel";
import { Rich } from "@/components/Rich";
import { TarotCard, TarotCardBack } from "@/components/tarot/TarotCard";
import { Logo, PublicHeader } from "@/components/SiteHeader";
import { Waitlist } from "@/components/Waitlist";
import example from "@/content/pelda.json";
import { tarotCard } from "@/lib/tarot";
import type { AnalysisContent, ChartResult } from "@/lib/types";
/** The cards fanned out next to the tarot line (after a card back). */
const TAROT_CARDS = ["major-2", "major-17"].map((id) => tarotCard(id)).filter((c) => c !== undefined);
// A quiet starfield, the same on every render.
const STARS = (() => {
let seed = 7;
@@ -378,6 +383,28 @@ export function Landing({ inviteOnly }: { inviteOnly: boolean }) {
</div>
</article>
</div>
<article className="card lp-tarot" aria-labelledby="tarot-title">
<div className="lp-tarot-cards" aria-hidden="true">
<TarotCardBack />
{TAROT_CARDS.map((card) => (
<TarotCard key={card.id} card={card} />
))}
</div>
<div className="lp-tarot-text">
<span className="eyebrow">Kártyajóslás is</span>
<h3 id="tarot-title" className="lp-tarot-title">
Egy kérdés, néhány lap
</h3>
<p className="lp-small">
Húzz lapot egy konkrét kérdésre: a kirakásodra és a képleted Napjára, Holdjára, Aszcendensére személyre
szabott értelmezés készül. Néhány jóslás minden csomagban benne van.
</p>
</div>
<Link href="/kartyajoslas/pelda" className="lp-tarot-link">
Példajóslás →
</Link>
</article>
</div>
</section>
@@ -454,11 +481,9 @@ export function Landing({ inviteOnly }: { inviteOnly: boolean }) {
<Logo />
<nav aria-label="Lábléc" className="lp-footer-nav">
<Link href="/pelda">Példaelemzés</Link>
<Link href="/kartyajoslas/pelda">Példajóslás</Link>
<Link href="/aszf">ÁSZF</Link>
<Link href="/adatvedelem">Adatvédelem</Link>
<Link href="/privacy" lang="en">
Privacy Policy
</Link>
<Link href="/belepes">Belépés</Link>
</nav>
<span className="hint">© {new Date().getFullYear()} Sorsfonalak</span>
+22
View File
@@ -938,6 +938,28 @@ a.pair-row:hover strong { color: var(--gold); }
.lp-why-card { gap: 12px; padding: 28px; }
.lp-why-icon { width: 36px; height: 36px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
/* Home page: tarot, a quiet line under the yearly forecast and the comparison */
.lp-tarot { flex-direction: row; align-items: center; gap: 32px; padding: 22px 32px; margin-top: -16px; }
.lp-tarot-cards { position: relative; width: 132px; height: 112px; flex: none; }
.lp-tarot-cards .tarot-card { position: absolute; top: 12px; width: 56px; border-radius: 5px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); }
.lp-tarot-cards .tarot-card:nth-child(1) { left: 4px; transform: rotate(-11deg); }
.lp-tarot-cards .tarot-card:nth-child(2) { left: 38px; top: 4px; }
.lp-tarot-cards .tarot-card:nth-child(3) { left: 72px; transform: rotate(11deg); }
.lp-tarot-text { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }
.lp-tarot-text .lp-small { max-width: 640px; }
.lp-tarot-title { font-size: 24px; line-height: 1.15; }
.lp-tarot-link { flex: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
@media (max-width: 720px) {
.lp-tarot { flex-wrap: wrap; gap: 14px 16px; padding: 22px; }
.lp-tarot-cards { width: 104px; height: 88px; }
.lp-tarot-cards .tarot-card { width: 44px; top: 10px; }
.lp-tarot-cards .tarot-card:nth-child(1) { left: 2px; }
.lp-tarot-cards .tarot-card:nth-child(2) { left: 30px; top: 3px; }
.lp-tarot-cards .tarot-card:nth-child(3) { left: 58px; }
.lp-tarot-text { flex: 1 1 100%; }
.lp-tarot-link { flex-basis: 100%; min-height: 44px; display: inline-flex; align-items: center; }
}
/* Home page footer: payment and invoicing partners */
.lp-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.lp-partner { height: 26px; width: auto; opacity: 0.65; transition: opacity 0.2s; }
+1 -1
View File
@@ -24,7 +24,7 @@ export async function generateMetadata(): Promise<Metadata> {
return {
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 a legfejlettebb AI-modellekkel: egy tapasztalt asztrológushoz közelítő mélység, töredék áron. Éves előrejelzés és kapcsolati összevetés.",
"Percre pontos születési képlet és személyre szóló elemzés a legfejlettebb AI-modellekkel: egy tapasztalt asztrológushoz közelítő mélység, töredék áron. Éves előrejelzés, kapcsolati összevetés és kártyajóslás.",
alternates: { canonical: `${base}/` },
openGraph: { type: "website", siteName: "Sorsfonalak", locale: "hu_HU", url: `${base}/`, title, description, images: [image] },
twitter: { card: "summary_large_image", title, description, images: [image.url] },