Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: add more robot-mono
Maximilian Kaske027d511d6512
diff --git a/apps/web/src/app/api/og/route.tsx b/apps/web/src/app/api/og/route.tsxindex 065c42e83..759e122b2 100644--- a/apps/web/src/app/api/og/route.tsx+++ b/apps/web/src/app/api/og/route.tsx@@ -10,9 +10,15 @@ const FOOTER = "openstatus.dev";const CATEGORY = "product";export async function GET(req: Request) {- const fontMono = await fetch(+ const fontMonoRegular = await fetch(new URL("../../../public/fonts/RobotoMono-Regular.ttf", import.meta.url),).then((res) => res.arrayBuffer());+ const fontMonoMedium = await fetch(+ new URL("../../../public/fonts/RobotoMono-Medium.ttf", import.meta.url),+ ).then((res) => res.arrayBuffer());+ const fontMonoBold = await fetch(+ new URL("../../../public/fonts/RobotoMono-Bold.ttf", import.meta.url),+ ).then((res) => res.arrayBuffer());const { searchParams } = new URL(req.url);@@ -38,7 +44,7 @@ export async function GET(req: Request) {<div tw="flex flex-col justify-end flex-1 mb-8"><p tw="text-xl text-left">[{category.toLowerCase()}]</p><h1- tw="text-6xl text-black text-left"+ tw="text-6xl text-black text-left font-medium"style={{ lineClamp: 2, display: "block" }}>{title}@@ -58,10 +64,22 @@ export async function GET(req: Request) {fonts: [{name: "Font Mono",- data: fontMono,+ data: fontMonoRegular,style: "normal",weight: 400,},+ {+ name: "Font Mono",+ data: fontMonoMedium,+ style: "normal",+ weight: 500,+ },+ {+ name: "Font Mono",+ data: fontMonoBold,+ style: "normal",+ weight: 700,+ },],},);diff --git a/apps/web/src/public/fonts/RobotoMono-Bold.ttf b/apps/web/src/public/fonts/RobotoMono-Bold.ttfnew file mode 100644index 000000000..c6a81a570Binary files /dev/null and b/apps/web/src/public/fonts/RobotoMono-Bold.ttf differdiff --git a/apps/web/src/public/fonts/RobotoMono-Medium.ttf b/apps/web/src/public/fonts/RobotoMono-Medium.ttfnew file mode 100644index 000000000..0bcdc740cBinary files /dev/null and b/apps/web/src/public/fonts/RobotoMono-Medium.ttf differ