From 25be60614b891f30e953a66ed08a965f0ba85bbd Mon Sep 17 00:00:00 2001 From: WelldoneM Date: Tue, 15 Oct 2024 19:19:16 -0500 Subject: [PATCH 1/4] feat(time-preferences): add time grid for users to select study time preferences --- src/App.jsx | 2 + .../Profile/TimePreferencesGrid.jsx | 69 +++++++++++++++++++ .../Profile/TimePreferencesPage.jsx | 29 ++++++++ 3 files changed, 100 insertions(+) create mode 100644 src/components/Profile/TimePreferencesGrid.jsx create mode 100644 src/components/Profile/TimePreferencesPage.jsx diff --git a/src/App.jsx b/src/App.jsx index de4bdfb..75b20e9 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,6 +6,7 @@ import GroupsPage from '@components/GroupsPage'; import HomePage from '@components/HomePage'; import EditProfile from '@components/Profile/EditProfile'; import ProfilePage from '@components/Profile/ProfilePage'; +import TimePreferencesPage from '@components/Profile/TimePreferencesPage'; import { ThemeProvider } from '@mui/material/styles'; import { theme } from '@utils/theme'; import { BrowserRouter, Routes, Route, useLocation } from 'react-router-dom'; @@ -25,6 +26,7 @@ const AppContent = ({ currentPage, setCurrentPage }) => { {/* TBD} /> */} } /> } /> + } /> {!isEditProfilePage &&