From 3025245a796c7547b8b665f4dba609c86dff72a5 Mon Sep 17 00:00:00 2001 From: strNophix Date: Fri, 30 Sep 2022 17:40:17 +0200 Subject: [PATCH] Added login and signup page to frontend router --- client/src/App.tsx | 4 ++++ client/src/pages/LoginPage.tsx | 12 ++++++++++++ client/src/pages/SignupPage.tsx | 12 ++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 client/src/pages/LoginPage.tsx create mode 100644 client/src/pages/SignupPage.tsx diff --git a/client/src/App.tsx b/client/src/App.tsx index fb718ec..e2b916b 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -2,10 +2,14 @@ import { Routes, Route } from "react-router-dom"; import BrowseLayout from "./components/BrowseLayout"; import CategoryPage from "./pages/CategoryPage"; import ChannelPage from "./pages/ChannelPage"; +import LoginPage from "./pages/LoginPage"; +import SignupPage from "./pages/SignupPage"; function App() { return ( + } /> + } /> }> } /> } /> diff --git a/client/src/pages/LoginPage.tsx b/client/src/pages/LoginPage.tsx new file mode 100644 index 0000000..27912af --- /dev/null +++ b/client/src/pages/LoginPage.tsx @@ -0,0 +1,12 @@ +import { FC } from "react"; +import LoginModal from "../components/LoginModal"; + +const LoginPage: FC = () => { + return ( +
+ {}} /> +
+ ); +}; + +export default LoginPage; diff --git a/client/src/pages/SignupPage.tsx b/client/src/pages/SignupPage.tsx new file mode 100644 index 0000000..ba1e944 --- /dev/null +++ b/client/src/pages/SignupPage.tsx @@ -0,0 +1,12 @@ +import { FC } from "react"; +import LoginModal from "../components/LoginModal"; + +const SignupPage: FC = () => { + return ( +
+ {}} /> +
+ ); +}; + +export default SignupPage;