Skip to content

Commit

Permalink
og image for the og image generator
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup committed May 13, 2021
1 parent 45feabe commit 72d40c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/SEO.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export interface Props extends NextSeoProps {
const title = "Railway OG Image Generator";
export const url = "";
const description = "Service that generates dynamic OG images for railway.app";
const image = "";

// Generate OG image for itself
const image =
"https://og.railway.app/api/image?fileType=png&layoutName=Railway&Theme=Dark&Title=Open+Graph+%3Cbr+%2F%3E+Image+Generator&Sub+Title=og.railway.app";

const config: DefaultSeoProps = {
title,
Expand All @@ -21,7 +24,7 @@ const config: DefaultSeoProps = {
type: "website",
url,
site_name: title,
images: [{ url: image, width: 1200, height: 628 }],
images: [{ url: image }],
},
twitter: {
handle: "@Railway_App",
Expand Down

0 comments on commit 72d40c2

Please sign in to comment.