● Zion Boggan
repos/Darwin/face/src/app/layout.tsx
zionboggan.com ↗
44 lines · tsx
History for this file →
1
import type { Metadata } from "next";
2
import { Space_Grotesk, Inter, JetBrains_Mono } from "next/font/google";
3
import "./globals.css";
4
 
5
const spaceGrotesk = Space_Grotesk({
6
  subsets: ["latin"],
7
  weight: ["400", "500", "600", "700"],
8
  variable: "--font-space-grotesk",
9
  display: "swap",
10
});
11
 
12
const inter = Inter({
13
  subsets: ["latin"],
14
  weight: ["400", "500", "600"],
15
  variable: "--font-inter",
16
  display: "swap",
17
});
18
 
19
const jetbrainsMono = JetBrains_Mono({
20
  subsets: ["latin"],
21
  weight: ["400", "500", "700"],
22
  variable: "--font-jetbrains-mono",
23
  display: "swap",
24
});
25
 
26
export const metadata: Metadata = {
27
  title: "Darwin - Second Brain",
28
  description: "A living organism made of Zion's real data sources.",
29
  robots: "noindex, nofollow",
30
};
31
 
32
export default function RootLayout({
33
  children,
34
}: {
35
  children: React.ReactNode;
36
}) {
37
  return (
38
    <html lang="en" className={`${spaceGrotesk.variable} ${inter.variable} ${jetbrainsMono.variable}`}>
39
      <body className="bg-canvas text-text-primary font-ui antialiased">
40
        {children}
41
      </body>
42
    </html>
43
  );
44
}