Skip to content

Commit

Permalink
ogp追加&一応metadataBaseを設定
Browse files Browse the repository at this point in the history
  • Loading branch information
miyabin4113 committed Oct 29, 2023
1 parent 7054128 commit 0582ce2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const inter = Noto_Sans_JP({
const DESCRIPTION = '都道府県の人口推移が分かるグラフです';

export const metadata: Metadata = {
metadataBase: new URL(BASE_URL || ''),
title: TITLE,
description: DESCRIPTION,
openGraph: {
Expand All @@ -22,11 +23,6 @@ export const metadata: Metadata = {
title: TITLE,
description: DESCRIPTION,
siteName: TITLE,
images: [
{
url: `${BASE_URL}/og.png`,
},
],
},
twitter: {
card: 'summary_large_image',
Expand Down
Binary file added src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0582ce2

Please sign in to comment.