Add Route for EisenhowerMatrix/priority

This commit is contained in:
sosokker 2023-11-11 22:03:48 +07:00
parent a9859c0789
commit 056e08e012
3 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,8 @@ import Home from './components/Home';
import ProfileUpdate from './components/ProfileUpdatePage'; import ProfileUpdate from './components/ProfileUpdatePage';
import Calendar from './components/calendar/calendar'; import Calendar from './components/calendar/calendar';
import KanbanBoard from './components/kanbanBoard/kanbanBoard'; import KanbanBoard from './components/kanbanBoard/kanbanBoard';
import IconSideNav from './components/IconSideNav'; // Import IconSideNav import IconSideNav from './components/IconSideNav';
import Eisenhower from './components/EisenhowerMatrix/Eisenhower';
const App = () => { const App = () => {
return ( return (
@ -27,6 +28,7 @@ const App = () => {
<Route path="/testAuth" element={<TestAuth />} /> <Route path="/testAuth" element={<TestAuth />} />
<Route path="/update_profile" element={<ProfileUpdate />} /> <Route path="/update_profile" element={<ProfileUpdate />} />
<Route path="/calendar" element={<Calendar />} /> <Route path="/calendar" element={<Calendar />} />
<Route path="/priority" element={<Eisenhower/>} />
</Routes> </Routes>
</div> </div>
</div> </div>

View File

@ -11,8 +11,8 @@ const menuItems = [
{ id: 0, path: "/", icon: <homeLogo />, logo: homeLogo }, { id: 0, path: "/", icon: <homeLogo />, logo: homeLogo },
{ id: 1, path: "/tasks", icon: <planLogo />, logo: planLogo }, { id: 1, path: "/tasks", icon: <planLogo />, logo: planLogo },
{ id: 2, path: "/calendar", icon: <calendarLogo />, logo: calendarLogo }, { id: 2, path: "/calendar", icon: <calendarLogo />, logo: calendarLogo },
{ id: 3, path: "/pie", icon: <pieLogo />, logo: pieLogo }, { id: 3, path: "/analytic", icon: <pieLogo />, logo: pieLogo },
{ id: 4, path: "/plus", icon: <plusLogo />, logo: plusLogo }, { id: 4, path: "/priority", icon: <plusLogo />, logo: plusLogo },
]; ];
const IconSideNav = () => { const IconSideNav = () => {