SPB Git forge
28commits 1branches 0releases
7.7 MBsize
maindefault branch
10 days agolast push
Python 66.3% TypeScript 22.7% JavaScript 8.6% HTML 1.4% CSS 0.7%
430 B · 12 lines tsx
Raw Blame History
1import { api, safe } from '@/lib/api';2import { OG_ALT, OG_CONTENT_TYPE, OG_SIZE, renderSiteOg } from '@/lib/og';34/** Root Open Graph image: brand lockup, headline, live counters from /stats (brand-only when the API is down). */5export const alt = OG_ALT;6export const size = OG_SIZE;7export const contentType = OG_CONTENT_TYPE;89export default async function OpenGraphImage() {10  return renderSiteOg(await safe(api.stats()));11}12