|
1 | | -import Providers from "./providers"; |
2 | | -import { GoogleAnalytics, GoogleTagManager } from "@next/third-parties/google"; |
| 1 | +import GoogleAnalytics from '@/lib/GoogleAnalytics'; |
| 2 | +import Providers from './providers'; |
| 3 | +import { GoogleTagManager } from '@next/third-parties/google'; |
3 | 4 |
|
4 | 5 | export const metadata = { |
5 | | - title: "레터링 | 온라인 편지 아카이빙 플랫폼", |
6 | | - titleTemplate: "%s - 레터링", |
| 6 | + title: '레터링 | 온라인 편지 아카이빙 플랫폼', |
| 7 | + titleTemplate: '%s - 레터링', |
7 | 8 | description: |
8 | | - "다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.", |
| 9 | + '다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.', |
9 | 10 | icons: { |
10 | | - icon: "/favicon_16.png", |
| 11 | + icon: '/favicon_16.png' |
11 | 12 | }, |
12 | 13 | openGraph: { |
13 | | - site_name: "레터링", |
14 | | - title: "레터링 | 온라인 편지 아카이빙 플랫폼", |
| 14 | + site_name: '레터링', |
| 15 | + title: '레터링 | 온라인 편지 아카이빙 플랫폼', |
15 | 16 | description: |
16 | | - "다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.", |
17 | | - url: "https://www.lettering.world", |
18 | | - type: "website", |
19 | | - }, |
| 17 | + '다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.', |
| 18 | + url: 'https://www.lettering.world', |
| 19 | + type: 'website' |
| 20 | + } |
20 | 21 | }; |
21 | 22 |
|
22 | 23 | export default function RootLayout({ |
23 | | - children, |
| 24 | + children |
24 | 25 | }: Readonly<{ |
25 | 26 | children: React.ReactNode; |
26 | 27 | }>) { |
@@ -60,14 +61,14 @@ export default function RootLayout({ |
60 | 61 | a.getElementsByTagName('head')[0].appendChild(s); |
61 | 62 | m.mazeUniversalSnippetApiKey = e; |
62 | 63 | })(window, document, 'https://snippet.maze.co/maze-universal-loader.js', '697c563b-a019-4f27-8185-5f33599d9c4d'); |
63 | | - `, |
| 64 | + ` |
64 | 65 | }} |
65 | 66 | /> |
66 | 67 | </head> |
67 | 68 | <body> |
68 | 69 | <Providers>{children}</Providers> |
69 | | - <GoogleTagManager gtmId="GTM-K4JD5J82" /> |
70 | | - <GoogleAnalytics gaId="G-RT86Q6W1PP" /> |
| 70 | + <GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER} /> |
| 71 | + <GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS} /> |
71 | 72 | </body> |
72 | 73 | </html> |
73 | 74 | ); |
|
0 commit comments