diff --git a/src/components/MenuBar/ButtonBar.js b/src/components/MenuBar/ButtonBar.js index afb48329..efc96966 100644 --- a/src/components/MenuBar/ButtonBar.js +++ b/src/components/MenuBar/ButtonBar.js @@ -56,10 +56,10 @@ function ButtonBar({ isMobile }) { name: 'Announcements', to: '/announcements' }, - { - name: 'Schedule', - to: '/schedule' - }, + // { + // name: 'Schedule', + // to: '/schedule' + // }, { name: 'Workshops', to: '/workshops' diff --git a/src/components/SchedulePage/Schedule.js b/src/components/SchedulePage/Schedule.js index 68eba035..2007a246 100644 --- a/src/components/SchedulePage/Schedule.js +++ b/src/components/SchedulePage/Schedule.js @@ -7,9 +7,10 @@ import Divider from '@material-ui/core/Divider'; import StickyTimeSlot from '../SchedulePage/StickyTimeSlot'; import eventSchedule from '../../data/eventSchedule'; import ComingSoon from '../ComingSoon/ComingSoon'; +import { scheduleAvailableTime, hothEnd } from '../constants'; // When changing this, make sure to update src/components/HomePage/UpcomingEvents.js as well. -const scheduleAvailable = false; +const scheduleAvailable = Date.now() > scheduleAvailableTime.getTime() && Date.now() < hothEnd.getTime(); const useStyles = makeStyles(theme => ({ title: {