Skip to content

Commit

Permalink
fix(airdrops): add opengraph image to campaign detail page (#15573)
Browse files Browse the repository at this point in the history
update campaign detail page
  • Loading branch information
0xTxbi authored Feb 27, 2025
1 parent 28f3508 commit 7b78ef0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions airdrops/app/campaigns/[campaign]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,22 @@ export async function generateMetadata({
openGraph: {
title: `${campaign.name} | ${config.appName.default}`,
description: campaign.description,
images: [
{
url: config.images.default,
alt: config.appName.brand,
},
],
},
twitter: {
title: `${campaign.name} | ${config.appName.default}`,
description: campaign.description,
images: [
{
url: config.images.default,
alt: config.appName.brand,
},
],
},
}
}
Expand Down

0 comments on commit 7b78ef0

Please sign in to comment.