diff --git a/frontend/src/Components/Navbar/Navbar.tsx b/frontend/src/Components/Navbar/Navbar.tsx index 75e6e63..5a9b609 100644 --- a/frontend/src/Components/Navbar/Navbar.tsx +++ b/frontend/src/Components/Navbar/Navbar.tsx @@ -1,159 +1,126 @@ import { BrowserRouter as Router, Link, Route, Routes } from "react-router-dom"; -import Inventory from "../Inventory.tsx"; import Settings from "../Settings.tsx"; -import Friends from "../Friends.tsx"; import PetPage from "../PetPage.tsx"; import { useAuth } from "react-oidc-context"; import "./navbar.css"; import { useState } from "react"; const Navbar = () => { - const auth = useAuth(); - const [activePage, setActivePage] = useState("Pet Page"); + const auth = useAuth(); + const [activePage, setActivePage] = useState("Pet Page"); - const loginButtonStyles = { - color: "#fff", - backgroundColor: "#006400", - fontWeight: "bold", - }; + const loginButtonStyles = { + color: "#fff", + backgroundColor: "#006400", + fontWeight: "bold", + }; - const navbarItemStyles = { - marginRight: "20px", - }; + const navbarItemStyles = { + marginRight: "20px", + }; - const handlePageClick = (page: string) => { - setActivePage(page); - }; + const handlePageClick = (page: string) => { + setActivePage(page); + }; - return ( -