-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.ts
20 lines (16 loc) · 804 Bytes
/
constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export const CONTENTFUL_BASE_URL = "https://cdn.contentful.com";
export const SIO_BASE_URL =
"https://sio.no/mat-og-drikke/spisesteder/Ole-Johan-spiseri";
export const GITHUB_IFI_ROM = "https:/carlmagl/IFI-rom";
export const YR_BASE_URL = "https://api.met.no/weatherapi/nowcast/2.0/complete";
// Order is important
export const navLinks: readonly { label: string; href: string }[] = [
{ label: "Foreninger", href: "/foreninger" },
{ label: "Kantine", href: "/kantine" },
{ label: "Kollektivt", href: "/kollektivt" },
// { label: "Arrangementer", href: "/arrangementer" },
];
export const getStaticPropsRevalidationTime = 600; // 10 minutes
export const getStaticPropsRevalidationTimeKantine = 3600; // 1 hour
export const IFI_LAT = "59.9145";
export const IFI_LONG = "10.7499";