mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 23:13:15 +00:00
* feat: Dark mode * more work * more dark/light mode, refactor thread card * fix rest of dark mode * cr * cr * cr
44 lines
948 B
TypeScript
44 lines
948 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { Inter } from "next/font/google";
|
|
import React from "react";
|
|
import { NuqsAdapter } from "nuqs/adapters/next/app";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
preload: true,
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Open SWE",
|
|
description: "Open SWE UX by LangChain",
|
|
icons: {
|
|
icon: "/favicon.ico",
|
|
shortcut: "/favicon.ico",
|
|
apple: "/favicon.ico",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
suppressHydrationWarning
|
|
>
|
|
<body className={inter.className}>
|
|
<ThemeProvider
|
|
defaultTheme="system"
|
|
storageKey="theme"
|
|
>
|
|
<NuqsAdapter>{children}</NuqsAdapter>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|