From 4ee24c5062d263f1c0f490fe395b50b3b7f0988a Mon Sep 17 00:00:00 2001 From: Riley Nielsen Date: Thu, 23 Apr 2026 22:43:22 -0500 Subject: [PATCH] feat: add Privacy Policy and Terms of Service pages with routing and footer integration --- src/App.js | 2 - src/AppRouter.js | 11 ++ src/Footer.css | 11 +- src/Footer.js | 40 +------ src/Legal.css | 36 +++++++ src/Privacy.js | 249 +++++++++++++++++++++++++++++++++++++++++++ src/Terms.js | 270 +++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 571 insertions(+), 48 deletions(-) create mode 100644 src/Legal.css create mode 100644 src/Privacy.js create mode 100644 src/Terms.js diff --git a/src/App.js b/src/App.js index ba4e5cd..38854d5 100644 --- a/src/App.js +++ b/src/App.js @@ -1,5 +1,4 @@ import AppRouter from "./AppRouter"; -import Footer from "./Footer"; import UpdateBar from "./UpdateBar"; import "./App.css"; import CssBaseline from "@mui/material/CssBaseline"; @@ -32,7 +31,6 @@ export default function App() {
-
diff --git a/src/AppRouter.js b/src/AppRouter.js index 6ad8049..b9b2f64 100644 --- a/src/AppRouter.js +++ b/src/AppRouter.js @@ -1,9 +1,14 @@ import { useState } from "react"; import { BrowserRouter, Route, Routes } from "react-router-dom"; import About from "./About"; +import Footer from "./Footer"; import Home from "./Home"; import Navbar from "./Navbar"; import NotFound from "./NotFound"; +import Privacy from "./Privacy"; +import Subscribed from "./Subscribed"; +import Terms from "./Terms"; +import Unsubscribed from "./Unsubscribed"; import "./AppRouter.css"; export default function AppRouter() { @@ -40,6 +45,11 @@ export default function AppRouter() { } /> } /> + } /> + } /> + } /> + } /> + } /> } /> +