Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/og-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 28 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,35 @@ import '@/shared/styles/globals.css';
import OverlayRoot from '@/shared/components/overlay/root/OverlayRoot';
import ToastProvider from '@/shared/components/toast/ToastProvider';

// TODO: metadata μˆ˜μ •ν•˜κΈ°
export const metadata: Metadata = {
title: 'κΈ€λ‘œλ²Œλ…Έλ§ˆλ“œ: global nomad',
description: 'Generated by create next app',
metadataBase: new URL(
process.env.NEXT_PUBLIC_SITE_URL || 'https://global-nomad-1team.vercel.app/'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그러면 ν™˜κ²½λ³€μˆ˜μ— 저희 μ‚¬μ΄νŠΈ μ£Όμ†Œ μΆ”κ°€ν•˜λ©΄ λ κΉŒμš”?!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

λ‘œμ»¬μ—μ„œ ν•΄λ³΄μ‹œλ €λ©΄ .env.local에 NEXT_PUBLIC_SITE_URL=http://localhost:3000 λ„£μœΌμ‹œλ©΄ 되고
그게 μ—†μœΌλ©΄ 저희 mainμ΄λž‘ μ—°κ²°λœ 배포 링크둜 μ„€μ •λ©λ‹ˆλ‹€~!

),

title: { default: 'κΈ€λ‘œλ²Œ λ…Έλ§ˆλ“œ | Global Nomad', template: '%s | Global Nomad' },
description: 'κΈ€λ‘œλ²Œ λ…Έλ§ˆλ“œλŠ” μ²΄ν—˜ μƒν’ˆμ„ νƒμƒ‰ν•˜κ³  μ˜ˆμ•½ν•  수 μžˆλŠ” μ²΄ν—˜ μ˜ˆμ•½ ν”Œλž«νΌμž…λ‹ˆλ‹€.',
keywords: ['κΈ€λ‘œλ²Œ λ…Έλ§ˆλ“œ', 'Global Nomad', 'μ²΄ν—˜ μ˜ˆμ•½'],
openGraph: {
type: 'website',
locale: 'ko_KR',
siteName: 'Global Nomad',
title: 'Global Nomad',
description: 'κΈ€λ‘œλ²Œ λ…Έλ§ˆλ“œλŠ” μ²΄ν—˜ μƒν’ˆμ„ νƒμƒ‰ν•˜κ³  μ˜ˆμ•½ν•  수 μžˆλŠ” μ²΄ν—˜ μ˜ˆμ•½ ν”Œλž«νΌμž…λ‹ˆλ‹€.',
images: ['/og-default.png'],
},

robots: {
index: true,
follow: true,
},

alternates: {
canonical: '/',
},
};

export const viewport = {
interactiveWidget: 'resizes-visual',
};

export default function RootLayout({
Expand Down