-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
81 lines (76 loc) · 2.13 KB
/
layout.tsx
File metadata and controls
81 lines (76 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import type { Metadata, Viewport } from "next";
import { Nanum_Myeongjo } from "next/font/google";
import Script from "next/script";
import "./globals.css";
import "react-toastify/dist/ReactToastify.css";
import { ToastContainer } from "react-toastify";
const nanumMyeongjo = Nanum_Myeongjo({
subsets: ["latin"],
weight: ["400", "700", "800"],
});
export const metadata: Metadata = {
title: "박성준 · 최지은 청첩장",
description: "박성준 · 최지은의 결혼식에 초대합니다.",
abstract: "박성준 · 최지은 청첩장",
keywords: ["웨딩", "결혼식", "청첩장", "박성준", "최지은", "모바일 청첩장"],
robots: "index, follow",
referrer: "origin",
openGraph: {
title: "박성준 · 최지은 청첩장",
siteName: "박성준 · 최지은 청첩장",
description: "박성준 · 최지은의 결혼식에 초대합니다.",
locale: "ko_KR",
type: "website",
images: [
{
url: "https://invitation-card-nine.vercel.app/og.png",
width: 1200,
height: 630,
alt: "모바일 청첩장",
},
],
},
twitter: {
title: "박성준 · 최지은 청첩장",
card: "summary_large_image",
description: "박성준 · 최지은의 결혼식에 초대합니다.",
images: [
{
url: "https://invitation-card-nine.vercel.app/og.png",
width: 1200,
height: 630,
alt: "모바일 청첩장",
},
],
},
};
export const viewport: Viewport = {
initialScale: 1,
maximumScale: 1,
minimumScale: 1,
width: "device-width",
themeColor: "#D57F7E",
userScalable: false,
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="ko">
<head>
<Script src="/sakura.min.js" strategy="beforeInteractive" />
<Script
src="/build/WeddingMarchBuildTest.loader.js"
strategy="beforeInteractive"
/>
<link rel="stylesheet" href="/sakura.min.css" />
</head>
<body className={nanumMyeongjo.className}>
{children}
<ToastContainer />
</body>
</html>
);
}