Files
6ac6eb03bd feat: sitemap, robots, OG image, and full metadata (#3)
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>
2026-09-10 17:12:00 -07:00

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`,
};
}