diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 74dfe59..9b00245 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -13,6 +13,7 @@ const Navbar = (): React.ReactNode => { + {auth === true ? ( ) : ( diff --git a/src/pages/Graph/index.tsx b/src/pages/Graph/index.tsx index 06e7cd6..4cdc25d 100644 --- a/src/pages/Graph/index.tsx +++ b/src/pages/Graph/index.tsx @@ -32,7 +32,8 @@ import { IoIosGitNetwork } from "react-icons/io"; import { WiCloudRefresh } from "react-icons/wi"; import { MdOutlineLock, MdOutlineLockOpen } from "react-icons/md"; import { AiFillSpotify } from "react-icons/ai"; -import { PiSupersetOf, PiSubsetOf } from "react-icons/pi"; +import { GiFamilyTree } from "react-icons/gi"; +import { IoArrowDownOutline, IoArrowUpOutline } from "react-icons/io5"; import { showErrorToastNotification, @@ -587,20 +588,26 @@ const Graph = (): React.ReactNode => {


diff --git a/src/pages/HowToUse/HowToUse.module.css b/src/pages/HowToUse/HowToUse.module.css new file mode 100644 index 0000000..5478104 --- /dev/null +++ b/src/pages/HowToUse/HowToUse.module.css @@ -0,0 +1,7 @@ +.htu_wrapper { + display: flex; + align-items: center; + justify-content: center; + margin-right: 10vw; + font-size: var(--headingFontSize); +} diff --git a/src/pages/HowToUse/index.tsx b/src/pages/HowToUse/index.tsx index dcafa24..bd9eff1 100644 --- a/src/pages/HowToUse/index.tsx +++ b/src/pages/HowToUse/index.tsx @@ -1,8 +1,8 @@ import React from "react"; - +import styles from "./HowToUse.module.css"; const HowToUse = (): React.ReactNode => { return ( -
+

How To Use?

); diff --git a/src/pages/Settings/Settings.module.css b/src/pages/Settings/Settings.module.css new file mode 100644 index 0000000..2c50d4f --- /dev/null +++ b/src/pages/Settings/Settings.module.css @@ -0,0 +1,13 @@ +.settings_wrapper { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + margin-right: 10vw; + font-size: var(--headingFontSize); +} + +.settings_controls { + padding: var(--mb-4); + background-color: var(--bgNav); +} diff --git a/src/pages/Settings/index.tsx b/src/pages/Settings/index.tsx new file mode 100644 index 0000000..3cdd1af --- /dev/null +++ b/src/pages/Settings/index.tsx @@ -0,0 +1,17 @@ +import React from "react"; +import styles from "./Settings.module.css"; +import Button from "../../components/Button/index.tsx"; + +const Settings = (): React.ReactNode => { + return ( +
+

Settings

+
+ + +
+
+ ); +}; + +export default Settings; diff --git a/src/routes/AllRoutes.tsx b/src/routes/AllRoutes.tsx index 7b40a49..bfdb26c 100644 --- a/src/routes/AllRoutes.tsx +++ b/src/routes/AllRoutes.tsx @@ -9,13 +9,15 @@ import Graph from "../pages/Graph/index.tsx"; import Login from "../pages/Login/index.tsx"; import Logout from "../pages/Logout/index.tsx"; import HowToUse from "../pages/HowToUse/index.tsx"; +import Settings from "../pages/Settings/index.tsx"; -const AllRoutes = ():React.ReactNode => { +const AllRoutes = (): React.ReactNode => { return ( {/* Routes that require user to be logged in */} }> } /> + } /> } /> {/* } /> */}