nextav/src/app/layout.tsx

36 lines
921 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 bg-background/50 backdrop-blur-sm">
{children}
</main>
</div>
</body>
</html>
);
}