From 4b55b433aab0ef1c5b2e50ec1df41278e9a19986 Mon Sep 17 00:00:00 2001 From: "Sunghum Paik (Brian)" Date: Fri, 12 Jan 2024 15:01:34 +0900 Subject: [PATCH 01/53] =?UTF-8?q?feat:=20=ED=95=B4=EB=8D=94=20=ED=91=B8?= =?UTF-8?q?=ED=84=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- package.json | 1 + pnpm-lock.yaml | 11 ++++++ src/components/WithLayout.js | 10 +++--- src/components/footer/index.js | 8 ++++- src/components/header/index.js | 65 +++++++++++++++++++++++++++++++++- src/pages/login/LoginPage.js | 17 +++++++++ src/router.js | 2 ++ 8 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 src/pages/login/LoginPage.js diff --git a/index.html b/index.html index eb6825f..56fe87c 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ Vite + React -
+
diff --git a/package.json b/package.json index ecbe766..958e62a 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "dependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", + "@heroicons/react": "^2.1.1", "@tanstack/react-query": "^5.17.9", "@vitejs/plugin-react": "^4.2.1", "axios": "^1.6.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b925f5..4e9716e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ dependencies: '@emotion/styled': specifier: ^11.11.0 version: 11.11.0(@emotion/react@11.11.3)(@types/react@18.2.47)(react@18.2.0) + '@heroicons/react': + specifier: ^2.1.1 + version: 2.1.1(react@18.2.0) '@tanstack/react-query': specifier: ^5.17.9 version: 5.17.9(react@18.2.0) @@ -949,6 +952,14 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true + /@heroicons/react@2.1.1(react@18.2.0): + resolution: {integrity: sha512-JyyN9Lo66kirbCMuMMRPtJxtKJoIsXKS569ebHGGRKbl8s4CtUfLnyKJxteA+vIKySocO4s1SkTkGS4xtG/yEA==} + peerDependencies: + react: '>= 16' + dependencies: + react: 18.2.0 + dev: false + /@humanwhocodes/config-array@0.11.13: resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} engines: {node: '>=10.10.0'} diff --git a/src/components/WithLayout.js b/src/components/WithLayout.js index b35631e..e385226 100644 --- a/src/components/WithLayout.js +++ b/src/components/WithLayout.js @@ -20,7 +20,7 @@ const DelayedComponent = lazy(() => */ export default function WithLayout() { return ( - <> +
{/* */} 대기중
}> @@ -29,9 +29,11 @@ export default function WithLayout() { 이는 React Router의 중첩된 라우팅 구조를 활용하는데 중요한 역할을 합니다. 예시로 router.js routeConfig의 element를 넣습니다. */} - -