diff --git a/client/src/App.tsx b/client/src/App.tsx index d897151..6d0c2ab 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -4,6 +4,7 @@ import SignUpPage from "./pages/SignUpPage"; import SignInPage from "./pages/SignInPage"; import SpringboardPage from "./pages/SpringboardPage"; import ManageUserAccountPage from "./pages/ManageUserAccountPage"; +import SchedulePage from "./pages/SchedulePage"; function App() { return ( @@ -16,6 +17,7 @@ function App() { element={} path="/manage-account/:accessToken" /> + } path="/schedule"/> ); } diff --git a/client/src/components/SpringboardButton.tsx b/client/src/components/SpringboardButton.tsx index 5ae8bd8..a97b1fb 100644 --- a/client/src/components/SpringboardButton.tsx +++ b/client/src/components/SpringboardButton.tsx @@ -1,14 +1,18 @@ import { Button } from "@nextui-org/react"; +import { useNavigate } from "react-router-dom"; export default function SpringboardButton({ title, subtitle, + linkToPage, }: { title: string; subtitle: string; + linkToPage: string; }) { + const navigate = useNavigate(); return ( -