2025-02-24 12:37:15 +00:00
|
|
|
import type { Metadata } from "next";
|
2025-04-13 22:38:33 +01:00
|
|
|
import Navbar from "@/components/navbar";
|
2025-03-19 19:20:18 +00:00
|
|
|
import { Inter } from "next/font/google";
|
2025-02-24 12:37:15 +00:00
|
|
|
import "./globals.css";
|
|
|
|
|
|
2025-03-19 19:20:18 +00:00
|
|
|
const inter = Inter({
|
2025-02-24 12:37:15 +00:00
|
|
|
subsets: ["latin"],
|
2025-03-19 19:20:18 +00:00
|
|
|
variable: "--font-inter",
|
2025-02-24 12:37:15 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2025-03-19 19:20:18 +00:00
|
|
|
title: "Tremor Tracker",
|
|
|
|
|
description: "Generated by tim",
|
2025-02-24 12:37:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en">
|
2025-03-23 15:24:10 +00:00
|
|
|
<body className={`${inter.variable} h-[calc(100vh-3.5rem)] flex flex-col min-h-screen antialiased`}>
|
2025-03-19 19:20:18 +00:00
|
|
|
<Navbar></Navbar>
|
2025-03-23 15:24:10 +00:00
|
|
|
<div className="flex-1 overflow-y-auto">{children}</div>
|
2025-02-24 12:37:15 +00:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|