Skip to content

Commit

Permalink
Merge pull request #146 from ASAP-Lettering/feat/#141
Browse files Browse the repository at this point in the history
[Feat] 홈 기능 개선 및 GA 세팅
  • Loading branch information
hyo-4 authored Feb 6, 2025
2 parents 7e56c30 + 94fdb37 commit 6eefc77
Show file tree
Hide file tree
Showing 18 changed files with 466 additions and 342 deletions.
8 changes: 8 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"presets": ["next/babel"],
"env": {
"production": {
"plugins": ["transform-remove-console"]
}
}
}
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@emotion/styled": "^11.13.0",
"@next/third-parties": "^14.2.5",
"axios": "^1.7.7",
"babel-plugin-transform-remove-console": "^6.9.4",
"browser-image-compression": "^2.0.2",
"cookie": "^1.0.0",
"eslint-config-airbnb": "^19.0.4",
Expand Down
5 changes: 5 additions & 0 deletions public/assets/icons/ic_hamburger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
5 changes: 5 additions & 0 deletions public/assets/icons/ic_kebab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/assets/icons/ic_pin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions public/assets/icons/ic_trash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 17 additions & 16 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
import Providers from "./providers";
import { GoogleAnalytics, GoogleTagManager } from "@next/third-parties/google";
import GoogleAnalytics from '@/lib/GoogleAnalytics';
import Providers from './providers';
import { GoogleTagManager } from '@next/third-parties/google';

export const metadata = {
title: "레터링 | 온라인 편지 아카이빙 플랫폼",
titleTemplate: "%s - 레터링",
title: '레터링 | 온라인 편지 아카이빙 플랫폼',
titleTemplate: '%s - 레터링',
description:
"다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.",
'다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.',
icons: {
icon: "/favicon_16.png",
icon: '/favicon_16.png'
},
openGraph: {
site_name: "레터링",
title: "레터링 | 온라인 편지 아카이빙 플랫폼",
site_name: '레터링',
title: '레터링 | 온라인 편지 아카이빙 플랫폼',
description:
"다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.",
url: "https://www.lettering.world",
type: "website",
},
'다양한 우주 행성 그리고 별빛이 담긴 편지지로 마음을 형상화한 편지를 보관해보세요.',
url: 'https://www.lettering.world',
type: 'website'
}
};

export default function RootLayout({
children,
children
}: Readonly<{
children: React.ReactNode;
}>) {
Expand Down Expand Up @@ -60,14 +61,14 @@ export default function RootLayout({
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="GTM-K4JD5J82" />
<GoogleAnalytics gaId="G-RT86Q6W1PP" />
<GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER} />
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS} />
</body>
</html>
);
Expand Down
Loading

0 comments on commit 6eefc77

Please sign in to comment.