This commit is contained in:
2026-06-25 14:54:45 -05:00
parent 49256e83c6
commit a38b3fa517
2 changed files with 13 additions and 31 deletions

View File

@@ -1,30 +1,7 @@
import type { Metadata } from "next";
import Script from "next/script";
import { Archivo, Inter, Geist_Mono } from "next/font/google";
import "./globals.css";
const archivo = Archivo({
subsets: ["latin"],
weight: ["500", "700", "800"],
style: ["normal", "italic"],
variable: "--font-archivo",
display: "swap",
});
const inter = Inter({
subsets: ["latin"],
weight: ["400", "500", "600", "700"],
variable: "--font-body",
display: "swap",
});
const geistMono = Geist_Mono({
subsets: ["latin"],
weight: ["400", "500", "600"],
variable: "--font-mono",
display: "swap",
});
export const metadata: Metadata = {
title: "WM 26 — Gruppen & K.o.-Baum",
description:
@@ -38,8 +15,15 @@ export const viewport = {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="de" className={`${archivo.variable} ${inter.variable} ${geistMono.variable}`}>
<head />
<html lang="de">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
<link
href="https://fonts.googleapis.com/css2?family=Archivo:wght@500;700;800&family=Archivo+Expanded:wght@700;800&family=Inter:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap"
rel="stylesheet"
/>
</head>
<body>
{children}
{process.env.NEXT_PUBLIC_UMAMI_SRC && process.env.NEXT_PUBLIC_UMAMI_ID && (