import "./globals.css"; | |
import type { Metadata } from "next"; | |
import { Inter } from "next/font/google"; | |
import { MainNav } from "@/components/main-nav"; | |
import { Toaster } from "@/components/ui/toaster"; | |
const inter = Inter({ subsets: ["latin"] }); | |
export const metadata: Metadata = { | |
title: "Embedchain chat", | |
description: | |
"Embedchain is an Open Source RAG Framework that makes it easy to create and deploy AI apps", | |
}; | |
export default function RootLayout({ | |
children, | |
}: { | |
children: React.ReactNode; | |
}) { | |
return ( | |
<html lang="en"> | |
<body className={inter.className}> | |
<div className="fixed top-0 left-0 right-0 bg-white shadow-sm"> | |
<div className="border-b"> | |
<div className="flex h-16 items-center px-4"> | |
<MainNav className="mx-6" /> | |
<Toaster /> | |
</div> | |
</div> | |
</div> | |
<div>{children}</div> | |
</body> | |
</html> | |
); | |
} | |