diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5e0484c..56f3efc 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -25,7 +25,7 @@ export const metadata: Metadata = { type: "website", }, twitter: { - card: "summary", + card: "summary_large_image", title: "PawFeed", description: "The social platform where pets are the stars.", }, diff --git a/src/app/opengraph-image.tsx b/src/app/opengraph-image.tsx new file mode 100644 index 0000000..189b0fe --- /dev/null +++ b/src/app/opengraph-image.tsx @@ -0,0 +1,105 @@ +import { ImageResponse } from "next/og"; + +export const alt = "PawFeed — the social platform where pets are the stars."; +export const size = { width: 1200, height: 630 }; +export const contentType = "image/png"; + +// Simple 1-big-pad + 4-toes paw print, built from plain positioned circles — +// Satori's CSS support doesn't need raw SVG for a shape this simple. +function PawMark({ scale = 1, opacity = 1 }: { scale?: number; opacity?: number }) { + const s = (n: number) => n * scale; + return ( +