MBO-Tech-IT-Webseite/app/og/route.tsx

36 lines
1.2 KiB
TypeScript

import { ImageResponse } from "next/og";
const size = { width: 1200, height: 630 };
export function GET() {
return new ImageResponse(
(
<div
style={{
width: "100%",
height: "100%",
display: "flex",
flexDirection: "column",
justifyContent: "center",
padding: "80px",
background: "linear-gradient(135deg, #111925 0%, #18212f 100%)",
color: "#ffffff",
}}
>
<div style={{ display: "flex", fontSize: 28, color: "#fb923c", letterSpacing: 6, textTransform: "uppercase" }}>
Digital Denken. Lokal Handeln.
</div>
<div style={{ display: "flex", fontSize: 96, fontWeight: 800, marginTop: 24 }}>MBO-Tech-IT</div>
<div style={{ display: "flex", fontSize: 44, marginTop: 16, color: "#cbd5e1" }}>
IT-Service in Crailsheim
</div>
<div style={{ display: "flex", fontSize: 30, marginTop: 40, color: "#94a3b8" }}>
WLAN · Netzwerk · Datensicherung · VPN · Nextcloud
</div>
<div style={{ display: "flex", width: 160, height: 8, marginTop: 48, background: "#f97316", borderRadius: 4 }} />
</div>
),
size
);
}