mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
The site card shows BBCA's KSEI ownership split under the tagline; each docs page gets a card with its section, title and description. Cards are rendered at build time with satori and sharp from the bundled Plex and JetBrains Mono fonts, and a Starlight route middleware points og:image at them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ep2qFFvuFEnBvLpoLxxdEi
4 lines
199 B
TypeScript
4 lines
199 B
TypeScript
import type { APIRoute } from 'astro';
|
|
import { siteCard } from '../og/cards';
|
|
|
|
export const GET: APIRoute = async () => new Response(await siteCard(), { headers: { 'Content-Type': 'image/png' } });
|