Initial commit of Vellum, an event photo product for guest uploads, host moderation, and original-quality galleries.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
import { ImageResponse } from "next/og";
|
||||
import { BRAND_NAME, BRAND_TAGLINE } from "@/lib/brand";
|
||||
|
||||
export const size = { width: 1200, height: 630 };
|
||||
export const contentType = "image/png";
|
||||
|
||||
export default function OpenGraphImage() {
|
||||
return new ImageResponse(
|
||||
(
|
||||
<div
|
||||
style={{
|
||||
background: "#f4eee4",
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
justifyContent: "center",
|
||||
padding: 88,
|
||||
}}
|
||||
>
|
||||
<svg
|
||||
width="112"
|
||||
height="112"
|
||||
viewBox="0 0 32 32"
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
fill="#6b4032"
|
||||
fillRule="evenodd"
|
||||
d="M8.5 5h15A5.5 5.5 0 0 1 29 10.5v13A5.5 5.5 0 0 1 23.5 29h-15A5.5 5.5 0 0 1 3 23.5v-13A5.5 5.5 0 0 1 8.5 5Zm10.2 0 10.3 10.3V10.5A5.5 5.5 0 0 0 23.5 5h-4.8Z"
|
||||
/>
|
||||
</svg>
|
||||
<div
|
||||
style={{
|
||||
marginTop: 36,
|
||||
fontSize: 92,
|
||||
lineHeight: 1,
|
||||
color: "#3a2a22",
|
||||
fontFamily: "Georgia, serif",
|
||||
letterSpacing: -1,
|
||||
}}
|
||||
>
|
||||
{BRAND_NAME}
|
||||
</div>
|
||||
<div
|
||||
style={{
|
||||
marginTop: 18,
|
||||
fontSize: 28,
|
||||
color: "#8b5a4a",
|
||||
letterSpacing: 6,
|
||||
textTransform: "uppercase",
|
||||
}}
|
||||
>
|
||||
{BRAND_TAGLINE}
|
||||
</div>
|
||||
</div>
|
||||
),
|
||||
size,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user