From 587ec458c6854a05d3d191d47f5d3b51447d2275 Mon Sep 17 00:00:00 2001 From: bednie <88800117+bednie@users.noreply.github.com> Date: Thu, 14 Nov 2024 22:45:57 +0000 Subject: [PATCH 1/2] Add ToS & Privacy Policy modal and navbar --- src/account/signUp/SignUp.jsx | 64 ++++++++++++++++++++++++++ src/navBar/NavBar.jsx | 87 ++++++++++++++++++++++++----------- 2 files changed, 125 insertions(+), 26 deletions(-) diff --git a/src/account/signUp/SignUp.jsx b/src/account/signUp/SignUp.jsx index c28ccaf..d0590ee 100644 --- a/src/account/signUp/SignUp.jsx +++ b/src/account/signUp/SignUp.jsx @@ -19,6 +19,8 @@ import { } from "../../contexts/AccountContext"; import LoadingSpinner from "../../common/LoadingSpinner"; +import { Modal, Tabs, Tab } from "react-bootstrap"; + export default function SignUp() { const { userType, userEmail, userName, userID, userToken, userAccDetail } = useAccountContext(); @@ -42,6 +44,7 @@ export default function SignUp() { const [state, setState] = useState(""); const [country, setCountry] = useState(""); const [userInterest, setUserInterest] = useState(""); + const [showLegal, setShowLegal] = useState(false); const [errors, setErrors] = useState({}); const [serverError, setServerError] = useState(null); @@ -297,6 +300,8 @@ export default function SignUp() { + +
Last Updated: November 14, 2024
+ ++ By accessing and using this application ("App"), you agree to be bound by these Terms of Service ("Terms"). + If you disagree with any part of these terms, you may not access the App. +
+ + {/* Add the rest of your Terms of Service content here */} +Last Updated: November 14, 2024
+ +