From 6a3ba891f356c4f0230e0725fc10cd3875e99a87 Mon Sep 17 00:00:00 2001 From: kaylahama <146313133+kaylahama@users.noreply.github.com> Date: Sun, 3 Mar 2024 01:26:48 -0800 Subject: [PATCH] Kayla/submissions page (#415) * added submissions info page and button for when hoth xi starts * changed format for links * fixed issue * link style change and format change * lint fix again * link tag change and format change --------- Co-authored-by: Kayla Hamakawa --- src/components/MenuBar/ButtonBar.js | 41 ++++++-- src/components/SubmissionsPage/Submissions.js | 94 +++++++++++++++++++ src/pages/submissions.js | 15 +++ 3 files changed, 142 insertions(+), 8 deletions(-) create mode 100644 src/components/SubmissionsPage/Submissions.js create mode 100644 src/pages/submissions.js diff --git a/src/components/MenuBar/ButtonBar.js b/src/components/MenuBar/ButtonBar.js index afb48329..6415a3e7 100644 --- a/src/components/MenuBar/ButtonBar.js +++ b/src/components/MenuBar/ButtonBar.js @@ -5,7 +5,12 @@ import { makeStyles } from '@material-ui/core/styles'; import { Link as GatsbyLink } from 'gatsby'; import { Link as MUILink } from '@material-ui/core'; -import { applicationOpen, applyDeadline } from '../constants.js'; +import { + applicationOpen, + applyDeadline, + hothStart, + hothEnd +} from '../constants.js'; const useStyles = makeStyles(theme => { const menuBarAdaptiveThreshold = theme.breakpoints.values.sm * 1.3; @@ -34,19 +39,27 @@ function ButtonBar({ isMobile }) { const classes = useStyles(); const PoppinLink = ({ ...props }) => -