diff --git a/.babelrc b/.babelrc new file mode 100644 index 00000000..9a771d1d --- /dev/null +++ b/.babelrc @@ -0,0 +1,8 @@ +{ + "presets": ["next/babel"], + "env": { + "production": { + "plugins": ["transform-remove-console"] + } + } +} diff --git a/package-lock.json b/package-lock.json index d1660303..f15fed29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,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", @@ -1622,6 +1623,11 @@ "integrity": "sha512-qrPaCSo9c8RHNRHIotaufGbuOBN8rtdC4QrrFFc43vyWCCz7Kl7GL1PGaXtMGQZUXrkCjNEgxDfmAuAabr/rlw==", "license": "MIT" }, + "node_modules/babel-plugin-transform-remove-console": { + "version": "6.9.4", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz", + "integrity": "sha512-88blrUrMX3SPiGkT1GnvVY8E/7A+k6oj3MNvUtTIxJflFzXTw1bHkuJ/y039ouhFMp2prRn5cQGzokViYi1dsg==" + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", diff --git a/package.json b/package.json index 7a18413c..821f0960 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/public/assets/icons/ic_hamburger.svg b/public/assets/icons/ic_hamburger.svg new file mode 100644 index 00000000..3adfaada --- /dev/null +++ b/public/assets/icons/ic_hamburger.svg @@ -0,0 +1,5 @@ + diff --git a/public/assets/icons/ic_hamburger_menu.svg b/public/assets/icons/ic_hamburger_gray.svg similarity index 100% rename from public/assets/icons/ic_hamburger_menu.svg rename to public/assets/icons/ic_hamburger_gray.svg diff --git a/public/assets/icons/ic_kebab.svg b/public/assets/icons/ic_kebab.svg new file mode 100644 index 00000000..a4971b75 --- /dev/null +++ b/public/assets/icons/ic_kebab.svg @@ -0,0 +1,5 @@ + diff --git a/public/assets/icons/ic_pin.svg b/public/assets/icons/ic_pin.svg new file mode 100644 index 00000000..5d69d159 --- /dev/null +++ b/public/assets/icons/ic_pin.svg @@ -0,0 +1,10 @@ + diff --git a/public/assets/icons/ic_trash.svg b/public/assets/icons/ic_trash.svg new file mode 100644 index 00000000..b7f9f723 --- /dev/null +++ b/public/assets/icons/ic_trash.svg @@ -0,0 +1,14 @@ + diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b01eda78..21169a73 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -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; }>) { @@ -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'); - `, + ` }} />