32 lines
909 B
TypeScript
32 lines
909 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter, Poppins } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
|
|
const poppins = Poppins({
|
|
weight: ["500", "600", "700"],
|
|
subsets: ["latin"],
|
|
variable: "--font-poppins",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Nemia - Master Anything with Focus",
|
|
description: "Nemia helps you focus and learn faster.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="dark scroll-smooth">
|
|
<body
|
|
className={`${inter.variable} ${poppins.variable} bg-background-dark text-text-light font-sans min-h-screen selection:bg-primary selection:text-background-dark`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|