mirror of
https://github.com/bitbaum/heidi.git
synced 2026-12-04 08:38:28 +01:00
Adds the fleet's distribution baseline: sitemap.ts and robots.ts for / and /try, an opengraph-image.tsx built with next/og rendering the brand, headline, and sound-correspondence table on the site's existing paper/ ink/isogloss tokens, and completes layout.tsx metadata (description, openGraph title/description, twitter summary_large_image card). Extracts SITE_URL into lib/config/site.ts (was duplicated as a literal in layout.tsx) and OG_IMAGE_COLORS into lib/config/og-image.ts, mirroring the hex values in app/globals.css since next/og's ImageResponse renders outside the DOM and cannot read CSS custom properties. Co-authored-by: Mao Nakamoto <maonakamoto@users.noreply.github.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
10 lines
248 B
TypeScript
10 lines
248 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { SITE_URL } from "@/lib/config/site";
|
|
|
|
export default function robots(): MetadataRoute.Robots {
|
|
return {
|
|
rules: { userAgent: "*", allow: "/" },
|
|
sitemap: `${SITE_URL}/sitemap.xml`,
|
|
};
|
|
}
|