Skip to content

Commit

Permalink
Nick:
Browse files Browse the repository at this point in the history
  • Loading branch information
nickscamara committed May 27, 2024
1 parent c53439c commit 7d47e72
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
Binary file added public/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 38 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,46 @@ import { Analytics } from "@vercel/analytics/react";
import { useEffect, useState } from "react";
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Create beautiful graphs - Firegraph",
description: "Create beautiful graphs - Firegraph",
const meta = {
title: 'Firegraph',
description: 'Create beautiful graphs. From GitHub star charts to custom data. Made by Firecrawl team.',
cardImage: '/og.png',
robots: 'follow, index',
favicon: '/favicon.ico',
url: 'https://firegraph.vercel.app/'
};

export async function generateMetadata(): Promise<Metadata> {
return {
title: meta.title,
description: meta.description,
referrer: 'origin-when-cross-origin',
keywords: ['Firegraph', 'Graphs', 'Data Visualization', 'GitHub', 'Firecrawl'],
authors: [{ name: 'Firecrawl', url: 'https://www.firecrawl.dev/' }],
creator: 'Firecrawl',
publisher: 'Firecrawl',
robots: meta.robots,
icons: { icon: meta.favicon },
metadataBase: new URL(meta.url),
openGraph: {
url: meta.url,
title: meta.title,
description: meta.description,
images: [meta.cardImage],
type: 'website',
siteName: meta.title
},
twitter: {
card: 'summary_large_image',
site: '@Vercel',
creator: '@Vercel',
title: meta.title,
description: meta.description,
images: [meta.cardImage]
}
};
}

export default function RootLayout({
children,
}: Readonly<{
Expand Down

0 comments on commit 7d47e72

Please sign in to comment.