32 lines
1,019 B
TypeScript
32 lines
1,019 B
TypeScript
import type {Metadata} from 'next';
|
|
import './globals.css';
|
|
import { Toaster } from "@/components/ui/toaster";
|
|
import Header from '@/components/core/Header'; // Adjusted path
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'VividCDN - Your Personal CDN',
|
|
description: 'Securely store and access your files with VividCDN.',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="dark">
|
|
<head>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet" />
|
|
</head>
|
|
<body className="font-body antialiased min-h-screen flex flex-col">
|
|
<Header />
|
|
<main className="flex-grow container mx-auto p-4 sm:p-6 lg:p-8">
|
|
{children}
|
|
</main>
|
|
<Toaster />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|