Skip to content

Commit 0baba94

Browse files
committed
feat: web-metadata 추가
트위터 대응으로 만들긴 했는데, 이게 x에서 될 지는...
1 parent 1fbc990 commit 0baba94

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/app/layout.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ export const metadata: Metadata = {
1010
title: 'AWS Cloud Clubs at DGU',
1111
description:
1212
'미래의 클라우드 리더를 양성하는 AWS Cloud Clubs at DGU 공식 홈페이지입니다.',
13+
openGraph: {
14+
title: 'AWS Cloud Clubs at DGU',
15+
description:
16+
'AWS Cloud Clubs at DGU 공식 홈페이지입니다.',
17+
url: 'https://acc-dgu.com/',
18+
siteName: 'AWS Cloud Club at DGU',
19+
images: [
20+
{
21+
url: process.env.NEXT_PUBLIC_S3_URL + '/og-image.png',
22+
width: 1200,
23+
height: 630,
24+
alt: 'AWS Cloud Clubs at DGU 공식 로고',
25+
},
26+
],
27+
locale: 'ko_KR',
28+
type: 'website',
29+
},
30+
twitter: {
31+
card: 'summary_large_image',
32+
title: 'AWS Cloud Clubs at DGU',
33+
description:
34+
'AWS Cloud Clubs at DGU 공식 홈페이지입니다.',
35+
images: [process.env.NEXT_PUBLIC_S3_URL + '/og-image.png'],
36+
},
1337
};
1438

1539
export default function RootLayout({

0 commit comments

Comments
 (0)