From b49b99eb158a6d99b09b15d8954ce9a8e9c97771 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sat, 8 Nov 2025 23:26:44 -0600 Subject: [PATCH] navigate between pages with nav component --- frontend/src/components/Navbar.tsx | 20 ++++++++++++++++++-- frontend/src/main.tsx | 4 ++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index 361ff77..cd97038 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -1,8 +1,24 @@ +import { Button } from '@mui/material'; +import { Link } from 'react-router-dom'; + export default function Navbar() { return (
- + +
); }; diff --git a/frontend/src/main.tsx b/frontend/src/main.tsx index 56c3d62..153a444 100644 --- a/frontend/src/main.tsx +++ b/frontend/src/main.tsx @@ -8,11 +8,11 @@ import Navbar from './components/Navbar.tsx' createRoot(document.getElementById('root')!).render( - + } /> - } /> + } />