Skip to content

Commit

Permalink
feat: 보드 페이지 opengraph-image 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Jul 25, 2024
1 parent 9c4af14 commit b877319
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/app/(board)/board/[boardId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,22 @@ export async function generateMetadata({
openGraph: {
title: board.title,
description: '내 보드를 우리의 소중한 추억들로 꾸며줘!',
images: [
{
url: '/images/opengraph-image.png',
alt: 'Polabo',
},
],
},
twitter: {
title: board.title,
description: '내 보드를 우리의 소중한 추억들로 꾸며줘!',
images: [
{
url: '/images/opengraph-image.png',
alt: 'Polabo',
},
],
},
}
}
Expand Down

0 comments on commit b877319

Please sign in to comment.