Openstatus
www.openstatus.dev
1export const SIZE = {
2 width: 1200,
3 height: 630,
4};
5
6export const DEFAULT_URL = process.env.VERCEL_URL
7 ? `https://${process.env.VERCEL_URL}`
8 : "http://localhost:3000";
9
10export const interMedium = fetch(
11 new URL("../../../public/fonts/Inter-Medium.ttf", import.meta.url),
12).then((res) => res.arrayBuffer());
13
14export const interRegular = fetch(
15 new URL("../../../public/fonts/Inter-Regular.ttf", import.meta.url),
16).then((res) => res.arrayBuffer());
17
18export const interLight = fetch(
19 new URL("../../../public/fonts/Inter-Light.ttf", import.meta.url),
20).then((res) => res.arrayBuffer());
21
22export const calSemiBold = fetch(
23 new URL("../../../public/fonts/CalSans-SemiBold.ttf", import.meta.url),
24).then((res) => res.arrayBuffer());
25
26export const commitMonoRegular = fetch(
27 new URL("../../../public/fonts/CommitMono-400-Regular.otf", import.meta.url),
28).then((res) => res.arrayBuffer());
29
30export const commitMonoBold = fetch(
31 new URL("../../../public/fonts/CommitMono-700-Regular.otf", import.meta.url),
32).then((res) => res.arrayBuffer());