Add OpenMemory (#2676)
Co-authored-by: Saket Aryan <94069182+whysosaket@users.noreply.github.com> Co-authored-by: Saket Aryan <saketaryan2002@gmail.com>
This commit is contained in:
38
openmemory/ui/app/layout.tsx
Normal file
38
openmemory/ui/app/layout.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
import type React from "react";
|
||||
import "@/app/globals.css";
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
import { Navbar } from "@/components/Navbar";
|
||||
import { Toaster } from "@/components/ui/toaster";
|
||||
import { ScrollArea } from "@/components/ui/scroll-area";
|
||||
import { Providers } from "./providers";
|
||||
|
||||
export const metadata = {
|
||||
title: "OpenMemory - Developer Dashboard",
|
||||
description: "Manage your OpenMemory integration and stored memories",
|
||||
generator: "v0.dev",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className="h-screen font-sans antialiased flex flex-col bg-zinc-950">
|
||||
<Providers>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="dark"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<Navbar />
|
||||
<ScrollArea className="h-[calc(100vh-64px)]">{children}</ScrollArea>
|
||||
<Toaster />
|
||||
</ThemeProvider>
|
||||
</Providers>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user