Public gift pages for visitors and search engines

- /ajandek shows a page about giving to visitors (indexable, in the sitemap);
  the form still needs a login.
- A gift band on the home page and "Ajándékozás" in the footer (to
  /karacsony in the Christmas season).
- A link preview image for /karacsony.

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-24 16:56:17 +00:00
co-authored by Claude Opus 5.5
parent 2d1373edd6
commit e0605a7653
9 changed files with 325 additions and 139 deletions
@@ -0,0 +1,21 @@
// The link preview image of the Christmas page (og:image), drawn from the
// example chart. The page links it with a version (?v=…).
import example from "@/content/pelda.json";
import { chartCard } from "@/lib/ogCard";
import type { ChartResult } from "@/lib/types";
export async function GET() {
return chartCard({
chart: example.chart as unknown as ChartResult,
timeKnown: true,
eyebrow: "KARÁCSONYI AJÁNDÉK",
title: "Ajándék a csillagokból.",
text: "Születési képlet, személyre szóló elemzés, és hogy mit hoz neki a következő éve. Nyomtatható utalvánnyal, karácsony reggelre időzítve.",
lines: [
{ glyph: "☉", label: "Születési képlet" },
{ glyph: "♃", label: "A következő éve" },
{ glyph: "♀", label: "Kapcsolati elemzés" },
],
cacheControl: "public, max-age=86400, s-maxage=604800",
});
}