41 lines
898 B
TypeScript
41 lines
898 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
// Load Google Fonts as CSS custom variables
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
preload: false,
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
preload: false,
|
|
});
|
|
|
|
/**
|
|
* Global page metadata and branding icons
|
|
*/
|
|
export const metadata: Metadata = {
|
|
title: "Flowstate",
|
|
description: "Boost your productivity and enter the flow.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
|
>
|
|
<body className="min-h-full flex flex-col">{children}</body>
|
|
</html>
|
|
);
|
|
}
|