39 lines
883 B
TypeScript
39 lines
883 B
TypeScript
import './globals.css';
|
|
import type { Metadata } from 'next';
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import Navbar from "./components/layout/Navbar";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'ShortURL Analytics',
|
|
description: 'Analytics dashboard for short URL management',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased bg-background`}
|
|
>
|
|
<Navbar />
|
|
<main className="min-h-screen px-4 py-6">
|
|
{children}
|
|
</main>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|