From 503ed52d18e1b8eca0433e71cf9204db68dc5d7d Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Thu, 1 Aug 2024 02:06:52 -0700 Subject: [PATCH] small fix to login flow --- frontend/src/components/nav/Sidebar.tsx | 2 +- frontend/src/pages/About.tsx | 21 ++++++++++++--------- frontend/src/pages/Logout.tsx | 16 +++++++++++++--- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/nav/Sidebar.tsx b/frontend/src/components/nav/Sidebar.tsx index 15b80f03..3e0319e7 100644 --- a/frontend/src/components/nav/Sidebar.tsx +++ b/frontend/src/components/nav/Sidebar.tsx @@ -118,7 +118,7 @@ const Sidebar = ({ show, onClose }: Props) => { title="Terms of Service" icon={} onClick={() => { - navigate("/terms"); + navigate("/tos"); onClose(); }} /> diff --git a/frontend/src/pages/About.tsx b/frontend/src/pages/About.tsx index 8faf3e12..b7f20af2 100644 --- a/frontend/src/pages/About.tsx +++ b/frontend/src/pages/About.tsx @@ -5,22 +5,25 @@ const About = () => {

About

-

+

This is a simple store to help make it easy to buy, sell and build - robots. It is maintained by{" "} - {" "} + {" "} with open-source code freely available on{" "} - + .

diff --git a/frontend/src/pages/Logout.tsx b/frontend/src/pages/Logout.tsx index e2b55eec..998b69b2 100644 --- a/frontend/src/pages/Logout.tsx +++ b/frontend/src/pages/Logout.tsx @@ -1,3 +1,5 @@ +import { Card, CardContent, CardHeader } from "components/ui/Card"; +import Header from "components/ui/Header"; import Spinner from "components/ui/Spinner"; import { useAlertQueue } from "hooks/alerts"; import { useAuthentication } from "hooks/auth"; @@ -19,9 +21,17 @@ const Logout = () => { }, []); return ( -
-

Log Out

- +
+
+ + +
+ + + + + +
); };