@@ -10,8 +10,7 @@ import { Typography, Box, IconButton, Divider } from '@mui/material';
1010import HomeIcon from '@mui/icons-material/Home' ;
1111import AlignHorizontalLeftIcon from '@mui/icons-material/AlignHorizontalLeft' ;
1212import DashboardIcon from '@mui/icons-material/Dashboard' ;
13- // To be uncommented after guest sponsors page is developed
14- // import VolunteerActivismIcon from '@mui/icons-material/VolunteerActivism';
13+ import VolunteerActivismIcon from '@mui/icons-material/VolunteerActivism' ;
1514import FolderIcon from '@mui/icons-material/Folder' ;
1615import SyncAltIcon from '@mui/icons-material/SyncAlt' ;
1716import GroupIcon from '@mui/icons-material/Group' ;
@@ -24,12 +23,9 @@ import NavUserMenu from '../PageTitle/NavUserMenu';
2423import DrawerHeader from '../../components/DrawerHeader' ;
2524import { Cached , ChevronLeft , ChevronRight } from '@mui/icons-material' ;
2625import { useHomePageContext } from '../../app/HomePageContext' ;
27- // once divisions developed, import TeamType from shared
28- import { isGuest } from 'shared' ;
29- // To be uncommented after divisions page is developed
26+ import { isGuest , TeamType } from 'shared' ;
3027import * as MuiIcons from '@mui/icons-material' ;
3128import { useAllTeamTypes } from '../../hooks/team-types.hooks' ;
32- import { TeamType } from 'shared' ;
3329import ErrorPage from '../../pages/ErrorPage' ;
3430import BarChartIcon from '@mui/icons-material/BarChart' ;
3531import { useCurrentUser } from '../../hooks/users.hooks' ;
@@ -137,7 +133,6 @@ const Sidebar = ({ drawerOpen, setDrawerOpen, moveContent, setMoveContent }: Sid
137133 ]
138134 } ,
139135
140- // Teams tab here to be replaced with below code once guest divisions is developed
141136 ! onGuestHomePage
142137 ? {
143138 name : 'Teams' ,
@@ -161,12 +156,11 @@ const Sidebar = ({ drawerOpen, setDrawerOpen, moveContent, setMoveContent }: Sid
161156 icon : < Cached /> ,
162157 route : routes . RETROSPECTIVE
163158 } ,
164- // To be uncommented once guest mode sponsors page is developed
165- // onGuestHomePage && {
166- // name: 'Sponsors',
167- // icon: <VolunteerActivismIcon />,
168- // route: routes.RETROSPECTIVE
169- // },
159+ onGuestHomePage && {
160+ name : 'Sponsors' ,
161+ icon : < VolunteerActivismIcon /> ,
162+ route : routes . SPONSORS
163+ } ,
170164 {
171165 name : 'Info' ,
172166 icon : < QuestionMarkIcon /> ,
0 commit comments