Skip to content

Commit

Permalink
Merge pull request #266 from Team-TenTen/feature/#263/metadata
Browse files Browse the repository at this point in the history
메타데이터 수정
  • Loading branch information
eeseung authored Dec 3, 2023
2 parents 5c2893d + cf7be11 commit c916726
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,24 @@ import type { Metadata } from 'next'
import './globals.css'

export const metadata: Metadata = {
metadataBase: new URL('https://link-hub.site'),
title: {
template: '%s • LinkHub',
default: 'LinkHub',
},
description: '링크 아카이빙 및 공유 플랫폼',
viewport:
'width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0',
openGraph: {
title: 'LinkHub',
description: '링크 아카이빙 및 공유 플랫폼',
url: 'https://link-hub.site',
siteName: 'LinkHub',
locale: 'ko_KR',
type: 'website',
images: [
'https://team-10-bucket.s3.ap-northeast-2.amazonaws.com/linkhub-og-image.png',
],
},
}

Expand All @@ -29,12 +35,6 @@ export default function RootLayout({
}) {
return (
<html lang="ko">
<head>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0"
/>
</head>
<TanstackQueryContext>
<AuthProvider>
<body className="bg-bgColor">
Expand Down
Binary file removed src/app/opengraph-image.png
Binary file not shown.
Binary file removed src/app/twitter-image.png
Binary file not shown.

0 comments on commit c916726

Please sign in to comment.