2025-11-05 03:32:14 +01:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
|
|
|
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Scrapy UI - Scrapyd Management Interface",
|
|
|
|
|
description: "Manage and monitor your Scrapyd scraping projects",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
2025-11-05 05:47:41 +01:00
|
|
|
<html lang="en" className={`${geistSans.className} ${geistMono.className} antialiased`} suppressHydrationWarning>
|
|
|
|
|
<body>
|
2025-11-05 03:32:14 +01:00
|
|
|
<ThemeProvider
|
|
|
|
|
attribute="class"
|
|
|
|
|
defaultTheme="system"
|
|
|
|
|
enableSystem
|
|
|
|
|
disableTransitionOnChange
|
|
|
|
|
>
|
|
|
|
|
{children}
|
|
|
|
|
</ThemeProvider>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|