chat-indic-ui / src /app /layout.tsx
sam2ai's picture
Synced repo using 'sync_with_huggingface' Github Action
0971cc4 verified
raw
history blame contribute delete
760 Bytes
import { ThemeProvider } from "@/providers/theme-provider";
import type { Metadata } from "next";
import { Toaster } from "@/components/ui/sonner";
import "./globals.css";
export const runtime = "edge"; // 'nodejs' (default) | 'edge'
export const metadata: Metadata = {
title: "vLLM UI",
description: "vLLM chatbot web interface",
};
export const viewport = {
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: 1,
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>
<ThemeProvider attribute="class" defaultTheme="dark">
{children}
<Toaster />
</ThemeProvider>
</body>
</html>
);
}