From 8e201199a98ad9143b1c9d1ab838debb75355643 Mon Sep 17 00:00:00 2001 From: Kayla Hamakawa Date: Sun, 25 Feb 2024 16:53:09 -0800 Subject: [PATCH] changed format for links --- src/components/MenuBar/ButtonBar.js | 8 +++++--- src/components/SubmissionsPage/Submissions.js | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) 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 ;