diff --git a/src/components/MenuBar/ButtonBar.js b/src/components/MenuBar/ButtonBar.js index 0ee711a..48d1604 100644 --- a/src/components/MenuBar/ButtonBar.js +++ b/src/components/MenuBar/ButtonBar.js @@ -7,6 +7,7 @@ import { Link as MUILink } from '@material-ui/core'; import { applicationOpen, applyDeadline, hothStart, hothEnd } from '../constants.js'; + const useStyles = makeStyles(theme => { const menuBarAdaptiveThreshold = theme.breakpoints.values.sm * 1.3; return { @@ -81,21 +82,22 @@ function ButtonBar({ isMobile }) { {link.name} )} - {Date.now() < hothStart.getTime() ? + {Date.now() < hothStart.getTime() ? ( applyDeadline.getTime()} href={'https://forms.gle/VMhdCzMov8RvGUfP8'} target='_blank' > Apply - : + + ):( hothEnd.getTime()} href='/submissions' > Submit - } + )} ); } diff --git a/src/components/SubmissionsPage/Submissions.js b/src/components/SubmissionsPage/Submissions.js index ddf21f3..c1ec0e0 100644 --- a/src/components/SubmissionsPage/Submissions.js +++ b/src/components/SubmissionsPage/Submissions.js @@ -42,12 +42,12 @@ const SubmissionsPage = () => { - 1{')'} Submit the project on the HOTH XI devpost: {' '} - devvvvpostttt + 1{')'} Submit the project on the HOTH XI {' '} + devpost - 2{')'} Fill out the HOTH XI submission Google Form: {' '} + 2{')'} Fill out the {' '} HOTH XI Submission Form ;