mirror of
https://github.com/aljazceru/AgentGPT.git
synced 2025-12-18 14:34:22 +01:00
🚀 Add Sidebar
This commit is contained in:
@@ -1,32 +1,23 @@
|
||||
// import Footer from "../components/Footer";
|
||||
// import Header from "../components/Header";
|
||||
import { ReactNode } from "react";
|
||||
import { type ReactNode } from "react";
|
||||
import Head from "next/head";
|
||||
import DottedGridBackground from "../components/DottedGridBackground";
|
||||
import Header from "../components/Header";
|
||||
|
||||
interface LayoutProps {
|
||||
children: ReactNode;
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
const DefaultLayout = (props: LayoutProps) => {
|
||||
return (
|
||||
<div
|
||||
className="flex min-h-screen flex-col min-h-screen bg-gradient-to-b from-[#2B2B2B] to-[#1F1F1F]"
|
||||
>
|
||||
<Head>
|
||||
<title>Agent-GPT</title>
|
||||
<meta name="description" content="Agent-GPT b Reworkd.ai"/>
|
||||
<link rel="icon" href="/favicon.ico"/>
|
||||
</Head>
|
||||
<DottedGridBackground>
|
||||
<main className="flex flex-col justify-center items-center w-screen h-screen ">
|
||||
{props.children}
|
||||
</main>
|
||||
</DottedGridBackground>
|
||||
{/*<Footer />*/}
|
||||
</div>
|
||||
);
|
||||
return (
|
||||
<div className="flex min-h-screen min-h-screen flex-col bg-gradient-to-b from-[#2B2B2B] to-[#1F1F1F]">
|
||||
<Head>
|
||||
<title>Agent-GPT</title>
|
||||
<meta name="description" content="Agent-GPT b Reworkd.ai" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
<DottedGridBackground>{props.children}</DottedGridBackground>
|
||||
{/*<Footer />*/}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default DefaultLayout;
|
||||
|
||||
Reference in New Issue
Block a user