From 56f3498e90a32a9efb848d31ef46cf9a5d064287 Mon Sep 17 00:00:00 2001
From: genTe <128919388+wdgWon@users.noreply.github.com>
Date: Thu, 15 Feb 2024 11:45:14 +0900
Subject: [PATCH 1/3] =?UTF-8?q?[Feat=20=E2=9C=8F=EF=B8=8F]=20=ED=97=A4?=
=?UTF-8?q?=EB=8D=94=EB=A5=BC=20=ED=8F=AC=ED=95=A8=ED=95=98=EB=8A=94=20?=
=?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=83=81=EC=9C=84=20=EB=A0=88?=
=?UTF-8?q?=EC=9D=B4=EC=95=84=EC=9B=83=20=EC=B6=94=EA=B0=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/routes/index.tsx | 31 ++++++++--------------------
src/styles/layouts/DefaultLayout.tsx | 14 +++++++++++++
2 files changed, 23 insertions(+), 22 deletions(-)
create mode 100644 src/styles/layouts/DefaultLayout.tsx
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index 985fdc2e..3f52605c 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -1,6 +1,4 @@
-import { Outlet, createBrowserRouter } from "react-router-dom"
-
-import TestPage from "@/pages/TestPage/TestPage"
+import { createBrowserRouter } from "react-router-dom"
import ErrorPage from "@pages/ErrorPage/ErrorPage"
import HomePage from "@pages/HomePage/HomePage"
@@ -10,15 +8,13 @@ import ProjectDetailPage from "@pages/ProjectDetailPage/ProjectDetailPage"
import ProjectEditPage from "@pages/ProjectEditPage/ProjectEditPage"
import ProjectListPage from "@pages/ProjectListPage/ProjectListPage"
import SignUpPage from "@pages/SignUpPage/SignUpPage"
+import TestPage from "@pages/TestPage/TestPage"
+
+import DefaultLayout from "@styles/layouts/DefaultLayout"
export const router = createBrowserRouter([
{
- element: (
- <>
- {/* */}
-
- >
- ),
+ element: ,
errorElement: ,
children: [
{
@@ -40,25 +36,16 @@ export const router = createBrowserRouter([
},
],
},
- {
- path: "/login",
- element: ,
- },
- {
- path: "/signup",
- element: ,
- },
{
path: "/test",
element: ,
},
+ {
+ path: "/profile/:userId",
+ element: ,
+ },
],
},
-
- {
- path: "/profile/:userId",
- element: ,
- },
{
path: "/login",
element: ,
diff --git a/src/styles/layouts/DefaultLayout.tsx b/src/styles/layouts/DefaultLayout.tsx
new file mode 100644
index 00000000..1e7963e5
--- /dev/null
+++ b/src/styles/layouts/DefaultLayout.tsx
@@ -0,0 +1,14 @@
+import { Outlet } from "react-router"
+
+import Header from "@components/Header/Header"
+
+const DefaultLayout = () => {
+ return (
+ <>
+
+
+ >
+ )
+}
+
+export default DefaultLayout
From ceb6bc30687f0b0461002453310662319fe223a2 Mon Sep 17 00:00:00 2001
From: genTe <128919388+wdgWon@users.noreply.github.com>
Date: Thu, 15 Feb 2024 11:46:00 +0900
Subject: [PATCH 2/3] =?UTF-8?q?[Fix=20=F0=9F=AA=9B]=20=EA=B2=BD=EB=A1=9C?=
=?UTF-8?q?=20=EB=B3=84=EC=B9=AD=20=EC=9A=B0=EC=84=A0=EC=88=9C=EC=9C=84=20?=
=?UTF-8?q?=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
tsconfig.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tsconfig.json b/tsconfig.json
index 368089a0..7d9d9d65 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -23,7 +23,6 @@
"forceConsistentCasingInFileNames": false,
"baseUrl": ".",
"paths": {
- "@/*": ["src/*"],
"@components/*": ["src/components/*"],
"@apis/*": ["src/apis/*"],
"@assets/*": ["src/assets/*"],
@@ -33,7 +32,8 @@
"@constants/*": ["src/constants/*"],
"@styles/*": ["src/styles/*"],
"@types/*": ["src/types/*"],
- "@utils/*": ["src/utils/*"]
+ "@utils/*": ["src/utils/*"],
+ "@/*": ["src/*"]
}
},
From 069535aaab49b18dd7bb28880d8970ed1540925f Mon Sep 17 00:00:00 2001
From: genTe <128919388+wdgWon@users.noreply.github.com>
Date: Thu, 15 Feb 2024 11:46:55 +0900
Subject: [PATCH 3/3] =?UTF-8?q?[Fix=20=F0=9F=AA=9B]=20rollup=20=EC=9D=B4?=
=?UTF-8?q?=EC=8A=88=20=EC=88=98=EC=A0=95=EC=9D=84=20=EC=9C=84=ED=95=B4=20?=
=?UTF-8?q?rollup=20install?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package-lock.json | 189 ++++++++++++++++++++++++++++++++++++++++------
package.json | 1 +
2 files changed, 166 insertions(+), 24 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index b7707a04..aebe30f9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -20,6 +20,7 @@
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-router-dom": "^6.22.0",
+ "rollup": "^4.10.0",
"styled-components": "^6.1.8",
"zustand": "^4.5.0"
},
@@ -2176,19 +2177,162 @@
"node": ">=14.0.0"
}
},
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.10.0.tgz",
+ "integrity": "sha512-/MeDQmcD96nVoRumKUljsYOLqfv1YFJps+0pTrb2Z9Nl/w5qNUysMaWQsrd1mvAlNT4yza1iVyIu4Q4AgF6V3A==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.10.0.tgz",
+ "integrity": "sha512-lvu0jK97mZDJdpZKDnZI93I0Om8lSDaiPx3OiCk0RXn3E8CMPJNS/wxjAvSJJzhhZpfjXsjLWL8LnS6qET4VNQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.9.6",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.6.tgz",
- "integrity": "sha512-CqNNAyhRkTbo8VVZ5R85X73H3R5NX9ONnKbXuHisGWC0qRbTTxnF1U4V9NafzJbgGM0sHZpdO83pLPzq8uOZFw==",
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.10.0.tgz",
+ "integrity": "sha512-uFpayx8I8tyOvDkD7X6n0PriDRWxcqEjqgtlxnUA/G9oS93ur9aZ8c8BEpzFmsed1TH5WZNG5IONB8IiW90TQg==",
"cpu": [
"arm64"
],
- "dev": true,
"optional": true,
"os": [
"darwin"
]
},
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.10.0.tgz",
+ "integrity": "sha512-nIdCX03qFKoR/MwQegQBK+qZoSpO3LESurVAC6s6jazLA1Mpmgzo3Nj3H1vydXp/JM29bkCiuF7tDuToj4+U9Q==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.10.0.tgz",
+ "integrity": "sha512-Fz7a+y5sYhYZMQFRkOyCs4PLhICAnxRX/GnWYReaAoruUzuRtcf+Qnw+T0CoAWbHCuz2gBUwmWnUgQ67fb3FYw==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.10.0.tgz",
+ "integrity": "sha512-yPtF9jIix88orwfTi0lJiqINnlWo6p93MtZEoaehZnmCzEmLL0eqjA3eGVeyQhMtxdV+Mlsgfwhh0+M/k1/V7Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.10.0.tgz",
+ "integrity": "sha512-9GW9yA30ib+vfFiwjX+N7PnjTnCMiUffhWj4vkG4ukYv1kJ4T9gHNg8zw+ChsOccM27G9yXrEtMScf1LaCuoWQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.10.0.tgz",
+ "integrity": "sha512-X1ES+V4bMq2ws5fF4zHornxebNxMXye0ZZjUrzOrf7UMx1d6wMQtfcchZ8SqUnQPPHdOyOLW6fTcUiFgHFadRA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.10.0.tgz",
+ "integrity": "sha512-w/5OpT2EnI/Xvypw4FIhV34jmNqU5PZjZue2l2Y3ty1Ootm3SqhI+AmfhlUYGBTd9JnpneZCDnt3uNOiOBkMyw==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.10.0.tgz",
+ "integrity": "sha512-q/meftEe3QlwQiGYxD9rWwB21DoKQ9Q8wA40of/of6yGHhZuGfZO0c3WYkN9dNlopHlNT3mf5BPsUSxoPuVQaw==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.10.0.tgz",
+ "integrity": "sha512-NrR6667wlUfP0BHaEIKgYM/2va+Oj+RjZSASbBMnszM9k+1AmliRjHc3lJIiOehtSSjqYiO7R6KLNrWOX+YNSQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.10.0.tgz",
+ "integrity": "sha512-FV0Tpt84LPYDduIDcXvEC7HKtyXxdvhdAOvOeWMWbQNulxViH2O07QXkT/FffX4FqEI02jEbCJbr+YcuKdyyMg==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.10.0.tgz",
+ "integrity": "sha512-OZoJd+o5TaTSQeFFQ6WjFCiltiYVjIdsXxwu/XZ8qRpsvMQr4UsVrE5UyT9RIvsnuF47DqkJKhhVZ2Q9YW9IpQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
"node_modules/@tanstack/eslint-plugin-query": {
"version": "5.18.1",
"resolved": "https://registry.npmjs.org/@tanstack/eslint-plugin-query/-/eslint-plugin-query-5.18.1.tgz",
@@ -2495,8 +2639,7 @@
"node_modules/@types/estree": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
- "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==",
- "dev": true
+ "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
},
"node_modules/@types/json-schema": {
"version": "7.0.15",
@@ -4645,7 +4788,6 @@
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
"hasInstallScript": true,
"optional": true,
"os": [
@@ -6652,10 +6794,9 @@
}
},
"node_modules/rollup": {
- "version": "4.9.6",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.6.tgz",
- "integrity": "sha512-05lzkCS2uASX0CiLFybYfVkwNbKZG5NFQ6Go0VWyogFTXXbR039UVsegViTntkk4OglHBdF54ccApXRRuXRbsg==",
- "dev": true,
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.10.0.tgz",
+ "integrity": "sha512-t2v9G2AKxcQ8yrG+WGxctBes1AomT0M4ND7jTFBCVPXQ/WFTvNSefIrNSmLKhIKBrvN8SG+CZslimJcT3W2u2g==",
"dependencies": {
"@types/estree": "1.0.5"
},
@@ -6667,19 +6808,19 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.9.6",
- "@rollup/rollup-android-arm64": "4.9.6",
- "@rollup/rollup-darwin-arm64": "4.9.6",
- "@rollup/rollup-darwin-x64": "4.9.6",
- "@rollup/rollup-linux-arm-gnueabihf": "4.9.6",
- "@rollup/rollup-linux-arm64-gnu": "4.9.6",
- "@rollup/rollup-linux-arm64-musl": "4.9.6",
- "@rollup/rollup-linux-riscv64-gnu": "4.9.6",
- "@rollup/rollup-linux-x64-gnu": "4.9.6",
- "@rollup/rollup-linux-x64-musl": "4.9.6",
- "@rollup/rollup-win32-arm64-msvc": "4.9.6",
- "@rollup/rollup-win32-ia32-msvc": "4.9.6",
- "@rollup/rollup-win32-x64-msvc": "4.9.6",
+ "@rollup/rollup-android-arm-eabi": "4.10.0",
+ "@rollup/rollup-android-arm64": "4.10.0",
+ "@rollup/rollup-darwin-arm64": "4.10.0",
+ "@rollup/rollup-darwin-x64": "4.10.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.10.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.10.0",
+ "@rollup/rollup-linux-arm64-musl": "4.10.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.10.0",
+ "@rollup/rollup-linux-x64-gnu": "4.10.0",
+ "@rollup/rollup-linux-x64-musl": "4.10.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.10.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.10.0",
+ "@rollup/rollup-win32-x64-msvc": "4.10.0",
"fsevents": "~2.3.2"
}
},
diff --git a/package.json b/package.json
index 1a1785f1..415b36aa 100644
--- a/package.json
+++ b/package.json
@@ -30,6 +30,7 @@
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-router-dom": "^6.22.0",
+ "rollup": "^4.10.0",
"styled-components": "^6.1.8",
"zustand": "^4.5.0"
},