30 lines
637 B
TypeScript
30 lines
637 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import Navbar from "./components/Navbar";
|
|
|
|
const interSans = Inter({
|
|
variable: "--font-inter-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Baki Tracker",
|
|
description: "Track your baki with ease",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`${interSans.variable} antialiased`}>
|
|
<Navbar />
|
|
<div className="px-8 py-4">{children}</div>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|