Skip to content

Commit 1df3c13

Browse files
committed
Add OGP
1 parent 6d05e25 commit 1df3c13

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

public/ogp.png

5.37 KB
Loading

src/app/layout.tsx

+9
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const menuList = [
7070
];
7171

7272
export const metadata: Metadata = {
73+
metadataBase: new URL("https://digicre.net/"),
7374
title: "芝浦工業大学 デジクリ",
7475
description: "芝浦工業大学の公認サークル『デジクリ』の Web サイトです。",
7576
icons: {
@@ -79,6 +80,14 @@ export const metadata: Metadata = {
7980
],
8081
apple: "/apple-touch-icon.png",
8182
},
83+
openGraph: {
84+
type: "website",
85+
url: "https://digicre.net/",
86+
title: "芝浦工業大学 デジクリ",
87+
siteName: "芝浦工業大学 デジクリ",
88+
description: "芝浦工業大学の公認サークル『デジクリ』の Web サイトです。",
89+
images: "/ogp.png",
90+
},
8291
};
8392

8493
export default function RootLayout({

0 commit comments

Comments
 (0)