2026-02-26 09:20:51 +01:00
|
|
|
import type { Metadata } from "next";
|
2026-04-12 10:11:23 +02:00
|
|
|
import { Mulish, Oswald } from "next/font/google";
|
2026-02-26 09:20:51 +01:00
|
|
|
import "./globals.css";
|
2026-02-27 08:53:14 +01:00
|
|
|
import Header from "@/components/Header";
|
2026-02-26 09:20:51 +01:00
|
|
|
|
2026-04-12 10:11:23 +02:00
|
|
|
const uiFont = Mulish({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-ui",
|
|
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const displayFont = Oswald({
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
variable: "--font-display",
|
|
|
|
|
display: "swap",
|
|
|
|
|
});
|
|
|
|
|
|
2026-02-26 09:20:51 +01:00
|
|
|
export const metadata: Metadata = {
|
2026-02-27 08:53:14 +01:00
|
|
|
title: "TeeOff.no - Din guide til norske golfbaner",
|
|
|
|
|
description: "Oppdatert banestatus, priser og informasjon om alle norske golfanlegg.",
|
2026-02-26 09:20:51 +01:00
|
|
|
};
|
|
|
|
|
|
2026-02-27 08:53:14 +01:00
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
2026-02-26 09:20:51 +01:00
|
|
|
return (
|
2026-02-27 08:53:14 +01:00
|
|
|
<html lang="nb">
|
2026-04-12 10:11:23 +02:00
|
|
|
<body className={`${uiFont.variable} ${displayFont.variable} antialiased`}>
|
2026-02-27 08:53:14 +01:00
|
|
|
<Header />
|
2026-02-26 09:20:51 +01:00
|
|
|
{children}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
2026-04-12 10:11:23 +02:00
|
|
|
}
|