-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout.tsx
More file actions
79 lines (75 loc) · 2.53 KB
/
layout.tsx
File metadata and controls
79 lines (75 loc) · 2.53 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
import GoogleAnalytics from '@/lib/GoogleAnalytics';
import Providers from './providers';
import { GoogleTagManager } from '@next/third-parties/google';
export const metadata = {
title: '레터링 | 온라인 편지 아카이빙 플랫폼',
titleTemplate: '%s - 레터링',
description:
'다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.',
icons: {
icon: '/favicon_16.png'
},
openGraph: {
site_name: '레터링',
title: '레터링 | 온라인 편지 아카이빙 플랫폼',
description:
'다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.',
url: 'https://www.lettering.world',
type: 'website'
}
};
export default function RootLayout({
children
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html>
<head>
<script
defer
src="https://developers.kakao.com/sdk/js/kakao.min.js"
></script>
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximumScale=1, user-scalable=no"
/>
<meta
name="google-site-verification"
content={process.env.NEXT_PUBLIC_GOOGLE_SEARCH_CONSOLE}
/>
<link rel="apple-touch-icon" href="/favicon_114.png"></link>
<link rel="shortcut icon" href="/favicon_72.png"></link>
{/* Maze Snippet */}
<script
dangerouslySetInnerHTML={{
__html: `
(function (m, a, z, e) {
var s, t;
try {
t = m.sessionStorage.getItem('maze-us');
} catch (err) {}
if (!t) {
t = new Date().getTime();
try {
m.sessionStorage.setItem('maze-us', t);
} catch (err) {}
}
s = a.createElement('script');
s.src = z + '?apiKey=' + e;
s.async = true;
a.getElementsByTagName('head')[0].appendChild(s);
m.mazeUniversalSnippetApiKey = e;
})(window, document, 'https://snippet.maze.co/maze-universal-loader.js', '697c563b-a019-4f27-8185-5f33599d9c4d');
`
}}
/>
</head>
<body>
<Providers>{children}</Providers>
<GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER} />
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS} />
</body>
</html>
);
}