Home page link preview image
CI / test (push) Successful in 1m28s
CI / build (push) Successful in 5m13s
CI / deploy (push) Skipped

Shared on Facebook and co., the home page had no image. It now has a
1200x630 preview drawn from the example chart ('Ahol a csillagok
összekötnek.', the three features), with og:/twitter: tags and a version
in the link. The image code is shared with the shared-chart previews
(lib/ogCard.tsx).

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-19 11:39:32 +00:00
co-authored by Claude Opus 5.5
parent 0e3eaee735
commit 2b7866d4c5
5 changed files with 176 additions and 112 deletions
+4 -1
View File
@@ -5,7 +5,10 @@ const config: NextConfig = {
output: "standalone",
poweredByHeader: false,
// The fonts of the share preview images are read from disk at run time.
outputFileTracingIncludes: { "/s/[slug]/kep/[file]": ["./src/assets/og/*.ttf"] },
outputFileTracingIncludes: {
"/s/[slug]/kep/[file]": ["./src/assets/og/*.ttf"],
"/kep/fooldal.png": ["./src/assets/og/*.ttf"],
},
};
export default config;