Files
AgentGPT/src/layout/default.tsx
Asim Shrestha 1dba4b7bf9 🚀 Add meta
2023-04-07 18:06:06 -07:00

35 lines
1.2 KiB
TypeScript

import { type ReactNode } from "react";
import Head from "next/head";
import DottedGridBackground from "../components/DottedGridBackground";
interface LayoutProps {
children: ReactNode;
}
const DefaultLayout = (props: LayoutProps) => {
const description =
"Assemble, configure, and deploy autonomous AI Agents in your browser.";
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={description} />
<link rel="icon" href="/favicon.ico" />
<meta property="og:url" content="https://agentgpt.reworkd.ai/" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content={description} />
<meta property="og:description" content={description} />
<meta property="og:title" content="Reworkd." />
<meta
property="og:image"
content="https://raw.githubusercontent.com/reworkd/extension/main/assets/icon512.png"
/>
</Head>
<DottedGridBackground>{props.children}</DottedGridBackground>
{/*<Footer />*/}
</div>
);
};
export default DefaultLayout;