Files
Nemia-Website/app/layout.tsx

42 lines
1.2 KiB
TypeScript

import type { Metadata } from "next";
import { Inter, Poppins } from "next/font/google";
import Script from "next/script";
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">
<head>
<Script
defer
src="/stats/script.js"
data-website-id="40b6b47d-9d1f-47ff-91cf-151c98637945"
data-host-url="/stats"
strategy="afterInteractive"
/>
</head>
<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>
);
}