Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kayla/submissions page #415

Merged
merged 6 commits into from
Mar 3, 2024
Merged

Kayla/submissions page #415

merged 6 commits into from
Mar 3, 2024

Conversation

kaylahama
Copy link
Contributor

Fixes #365

HOTH XI
-created submissions page with info for HOTH XI
-altered Apply button so it will change to Submit button during HOTH

@github-actions github-actions bot added the page Related to header/footer/things that show up on every page label Feb 26, 2024
@kaylahama kaylahama requested a review from maggieelli February 26, 2024 00:28
Copy link
Collaborator

@jakobreinwald jakobreinwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks amazing, tested it and it works, just switch those links to what we talked about

Copy link
Member

@maggieelli maggieelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some lint errors right now, make sure you run yarn lint --fix, save it, and commit again

@kaylahama kaylahama requested a review from maggieelli March 2, 2024 07:28
@maggieelli maggieelli requested a review from katelynsyu March 2, 2024 07:30
Copy link
Contributor

@katelynsyu katelynsyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few non-blocking comments. Feel free to merge in if you don't vibe with them. Otherwise lgtm :)

>
Apply
</BorderLink> :
<BorderLink
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After HOTH ends, this Submit button will show as a disabled button, which is not an issue but is that functionality you want? Imo, it might be weird to have a disabled Submit button for the rest of the year when HOTH is not running, but we can always fix that later.

Thank You for Participating in HOTH XI!
</Typography>

<Typography align='left' variant='h5' component='h2'>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a little odd to have 2 lines so close to each other that have the same styling, like this. Maybe we can move the Thank you text to the bottom after the steps to submit and make it variant='h6' component='h3' or something?


<Typography className={classes.info}>
1{')'} Submit the project on the HOTH XI {' '}
<Link to='https://hoth-xi.devpost.com/?ref_feature=challenge&ref_medium=discover'>devpost</Link>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: it would be cool to have these links as hack pink (I think that's theme.palette.secondary.main) before users click on the link and then theme.palette.secondary.dark after the user has clicked on the link.

@maggieelli maggieelli requested a review from jakobreinwald March 3, 2024 00:30
className={devPostClicked ? classes.linkClicked : classes.link}
onClick={handleDevPostClick}
>
devpost
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit: can we capitalize "Devpost"

className={formClicked ? classes.linkClicked : classes.link}
onClick={handleFormClick} rel="noreferrer"
>
HOTH XI Submission Form
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another small nit: can we add "Google" before "Form" and make it so that the link only includes "Submission Google Form"

So it would say "2) Fill out the HOTH XI Submission Google Form" with the link being for "Submission Google Form"


<Typography className={classes.info}>
1{')'} Submit the project on the HOTH XI{' '}
<a
Copy link
Member

@maggieelli maggieelli Mar 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason we used the <a> tag here instead of MUI's <Link> tag? If not, maybe switch to <Link>

There's an example of this tag's usage in src/components/HomePage/HothDescription.js


<Typography className={classes.info}>
2{')'} Fill out the{' '}
<a
Copy link
Member

@maggieelli maggieelli Mar 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switch to <Link> tag here too potentially?

@kaylahama kaylahama requested a review from maggieelli March 3, 2024 05:37
Copy link
Collaborator

@jakobreinwald jakobreinwald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this looks good and all the changes were made, lgtm!

Copy link
Contributor

@nathanzzhang nathanzzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

el gee tee em! ty for making all those changes!

Copy link
Member

@maggieelli maggieelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

amazing ty for making the changes!

@maggieelli maggieelli merged commit 6a3ba89 into main Mar 3, 2024
6 checks passed
@maggieelli maggieelli deleted the kayla/submissionspage branch March 3, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
page Related to header/footer/things that show up on every page
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Submission information consolidation / page
5 participants