Skip to content

Commit

Permalink
chore: Update OG image references to use imported cover image constant
Browse files Browse the repository at this point in the history
  • Loading branch information
m-abdelwahab committed Jun 6, 2024
1 parent ed1d53a commit febff63
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/web/app/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import coverImage from "../../public/instant-postgres.png";
export const SEO = [
{ title: "Neon | Instant Postgres" },
{
Expand All @@ -11,7 +12,7 @@ export const SEO = [
property: "og:description",
content: "Provision a Postgres database on Neon in seconds.",
},
{ property: "og:image", content: "./instant-postgres.png" },
{ property: "og:image", content: coverImage },
{ property: "og:url", content: "https://neon.tech/demos/instant-postgres" },
{ property: "og:type", content: "website" },

Expand All @@ -22,6 +23,6 @@ export const SEO = [
name: "twitter:description",
content: "Provision a Postgres database on Neon in seconds.",
},
{ name: "twitter:image", content: "./instant-postgres.png" },
{ name: "twitter:image", content: coverImage },
{ name: "twitter:site", content: "@neondatabase" },
];

0 comments on commit febff63

Please sign in to comment.