From 32b364a6b485ee7dac052a85829c98d07190eaee Mon Sep 17 00:00:00 2001 From: Wooseong Kim Date: Sun, 3 Sep 2023 11:11:14 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat(settings):=20settings=20=ED=85=9C?= =?UTF-8?q?=ED=94=8C=EB=A6=BF=EC=9D=84=20=EA=B8=B0=EB=B0=98=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20SettingsPage=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/react-world/src/pages/settings.tsx | 104 ++++++++++++++++++++++++ templates/settings.html | 94 --------------------- 2 files changed, 104 insertions(+), 94 deletions(-) create mode 100644 apps/react-world/src/pages/settings.tsx delete mode 100644 templates/settings.html diff --git a/apps/react-world/src/pages/settings.tsx b/apps/react-world/src/pages/settings.tsx new file mode 100644 index 00000000..bc2ab484 --- /dev/null +++ b/apps/react-world/src/pages/settings.tsx @@ -0,0 +1,104 @@ +export const SettingsPage = () => { + return ( + <> + + +
+
+
+
+

Your Settings

+ +
    +
  • That name is required
  • +
+ +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +
+
+
+
+ + + + ); +}; diff --git a/templates/settings.html b/templates/settings.html deleted file mode 100644 index d6acca9e..00000000 --- a/templates/settings.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - Conduit - - - - -
-
-
-
-

Your Settings

- -
    -
  • That name is required
  • -
- -
-
-
- -
-
- -
-
- -
-
- -
-
- -
- -
-
-
- -
-
-
-
- - - - \ No newline at end of file From 77a293da32bd18f6dd8d892bbd92b7f05b06b80f Mon Sep 17 00:00:00 2001 From: Wooseong Kim Date: Sun, 3 Sep 2023 11:11:32 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat(app):=20Routes=20=EC=97=90=EC=84=9C=20?= =?UTF-8?q?/settings=20Path=20=EB=A5=BC=20SettingsPage=20=EB=A1=9C=20?= =?UTF-8?q?=EB=9D=BC=EC=9A=B0=ED=8C=85=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/react-world/src/routes/Routes.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/react-world/src/routes/Routes.tsx b/apps/react-world/src/routes/Routes.tsx index 6ff4a866..2e1fa9a7 100644 --- a/apps/react-world/src/routes/Routes.tsx +++ b/apps/react-world/src/routes/Routes.tsx @@ -4,6 +4,7 @@ import { LoginPage } from '../pages/login'; import { RegisterPage } from '../pages/register'; import { ArticlePage } from '../pages/article'; import { EditorPage } from '../pages/editor'; +import { SettingsPage } from '../pages/settings'; const router = createBrowserRouter([ { @@ -26,6 +27,10 @@ const router = createBrowserRouter([ path: '/article/:slug', element: , }, + { + path: '/settings', + element: , + }, ]); export const Routes = () => {