36 lines
937 B
TypeScript
36 lines
937 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import Sidebar from "@/components/sidebar";
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "NextAV - Modern Media Library",
|
|
description: "A beautiful and modern media library for your videos and photos",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="dark">
|
|
<body
|
|
className={`${inter.variable} antialiased bg-background text-foreground`}
|
|
>
|
|
<div className="flex h-screen bg-gradient-to-br from-background via-background to-muted/20">
|
|
<Sidebar />
|
|
<main className="flex-1 overflow-y-auto bg-background/50 backdrop-blur-sm">
|
|
{children}
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|