-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlayout.tsx
More file actions
39 lines (35 loc) · 921 Bytes
/
layout.tsx
File metadata and controls
39 lines (35 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// src/app/layout.tsx
import type { Metadata } from "next"
import { Archivo, Space_Mono } from "next/font/google"
import type { ReactNode } from "react"
import "./globals.css"
const archivo = Archivo({
subsets: ["latin"],
variable: "--font-archivo",
})
const spaceMono = Space_Mono({
subsets: ["latin"],
weight: ["400", "700"],
variable: "--font-mono",
})
export const metadata: Metadata = {
title: "Tracker Tracker",
description: "Monitor your private tracker stats",
icons: {
icon: "/favicon.png",
},
...(process.env.BASE_URL && {
metadataBase: new URL(process.env.BASE_URL),
}),
}
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en" className="dark">
<body
className={`${archivo.variable} ${spaceMono.variable} font-sans antialiased bg-base text-primary`}
>
{children}
</body>
</html>
)
}