Added Navbar
This commit is contained in:
29
frontend/app/layout.tsx
Normal file
29
frontend/app/layout.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user