Skip to content

Commit

Permalink
🐛 Fix heading description
Browse files Browse the repository at this point in the history
  • Loading branch information
asim-shrestha committed May 15, 2023
1 parent d826939 commit df7e046
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions next/src/layout/default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { type ReactNode } from "react";
import Head from "next/head";
import DottedGridBackground from "../components/DottedGridBackground";
import clsx from "clsx";
import { useTranslation } from "react-i18next";

interface LayoutProps {
children: ReactNode;
Expand All @@ -11,8 +10,7 @@ interface LayoutProps {
}

const DefaultLayout = (props: LayoutProps) => {
const [t] = useTranslation();
const description = t("HEADING_DESCRIPTION", { ns: "indexPage" });
const description = "Assemble, configure, and deploy autonomous AI Agents in your browser.";

return (
<div
Expand All @@ -28,22 +26,13 @@ const DefaultLayout = (props: LayoutProps) => {
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="AgentGPT 🤖" />
<meta name="twitter:description" content={description} />
<meta
name="twitter:image"
content="https://agentgpt.reworkd.ai/banner.png"
/>
<meta name="twitter:image" content="https://agentgpt.reworkd.ai/banner.png" />
<meta name="twitter:image:width" content="1280" />
<meta name="twitter:image:height" content="640" />
<meta
property="og:title"
content="AgentGPT: Autonomous AI in your browser 🤖"
/>
<meta property="og:title" content="AgentGPT: Autonomous AI in your browser 🤖" />
<meta property="og:description" content={description} />
<meta property="og:url" content="https://agentgpt.reworkd.ai/" />
<meta
property="og:image"
content="https://agentgpt.reworkd.ai/banner.png"
/>
<meta property="og:image" content="https://agentgpt.reworkd.ai/banner.png" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<meta property="og:type" content="website" />
Expand All @@ -53,9 +42,7 @@ const DefaultLayout = (props: LayoutProps) => {
/>
<link rel="icon" href="/favicon.ico" />
</Head>
<DottedGridBackground
className={clsx("min-w-screen min-h-screen", props.className)}
>
<DottedGridBackground className={clsx("min-w-screen min-h-screen", props.className)}>
{props.children}
</DottedGridBackground>
</div>
Expand Down

0 comments on commit df7e046

Please sign in to comment.