Home page: the forum first among the free boxes, highlighted

Across the whole row, with a "Közösség" label: thoughtful conversations
under a nickname, and calm attention instead of fast-moving videos. Shown
only when the forum is switched on.

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-26 11:56:19 +00:00
co-authored by Claude Opus 5.5
parent ee16974c77
commit 7c3c9e5565
2 changed files with 24 additions and 0 deletions
+15
View File
@@ -5,6 +5,7 @@ import { Rich } from "@/components/Rich";
import { TarotCard, TarotCardBack } from "@/components/tarot/TarotCard"; import { TarotCard, TarotCardBack } from "@/components/tarot/TarotCard";
import { PublicHeader } from "@/components/SiteHeader"; import { PublicHeader } from "@/components/SiteHeader";
import { ChristmasTree } from "@/components/ChristmasTree"; import { ChristmasTree } from "@/components/ChristmasTree";
import { forumEnabled } from "@/lib/forumServer";
import { isChristmasTime } from "@/lib/season"; import { isChristmasTime } from "@/lib/season";
import example from "@/content/pelda.json"; import example from "@/content/pelda.json";
import { tarotCard } from "@/lib/tarot"; import { tarotCard } from "@/lib/tarot";
@@ -134,6 +135,20 @@ export function Landing({ inviteOnly, loggedIn = false }: { inviteOnly: boolean;
</h2> </h2>
</div> </div>
<div className="lp-free-grid"> <div className="lp-free-grid">
{forumEnabled() && (
<Link href="/forum" className="card lp-free-card lp-free-featured">
<span className="lp-free-featured-label">Közösség</span>
<strong>Fórum</strong>
<span className="lp-free-featured-text">
Tartalmas beszélgetések, ahol álnéven, a valódi neved nélkül oszthatod meg, ami foglalkoztat vagy a
szívedet nyomja. Spiritualitás, álmok, az égbolt, és bármi, amiről jólesik beszélni.
</span>
<span className="lp-free-featured-quiet">
Pörgő videók helyett csendes, figyelmes beszélgetés: itt az elmélyülés a lényeg.
</span>
<span className="lp-free-go">Benézek →</span>
</Link>
)}
<Link href="/szuletesi-horoszkop" className="card lp-free-card"> <Link href="/szuletesi-horoszkop" className="card lp-free-card">
<strong>Születési horoszkóp</strong> <strong>Születési horoszkóp</strong>
<span className="muted"> <span className="muted">
+9
View File
@@ -1349,6 +1349,15 @@ span.tarot-fan-card { cursor: default; }
.lp-free-card:hover { border-color: var(--gold); color: var(--ink); } .lp-free-card:hover { border-color: var(--gold); color: var(--ink); }
.lp-free-card strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; } .lp-free-card strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.lp-free-go { color: var(--gold); font-weight: 500; margin-top: auto; } .lp-free-go { color: var(--gold); font-weight: 500; margin-top: auto; }
/* The forum, first and across the whole row. */
.lp-free-featured { grid-column: 1 / -1; border-color: var(--gold); background: rgba(217, 180, 106, 0.07); gap: 10px; }
.lp-free-featured strong { font-size: 30px; }
.lp-free-featured-label {
align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
color: var(--gold-ink); background: var(--gold); border-radius: 999px; padding: 2px 10px;
}
.lp-free-featured-text { max-width: 760px; font-size: 17px; color: var(--ink-2); }
.lp-free-featured-quiet { max-width: 760px; color: var(--muted); font-style: italic; }
.calc-result-head { margin-top: 32px; } .calc-result-head { margin-top: 32px; }
.calc-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; } .calc-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.calc-links li { font-size: 15px; } .calc-links li { font-size: 15px; }