-
Notifications
You must be signed in to change notification settings - Fork 24
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
practice bootcamp adding 404 and 500 #198
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for tartanhacks-registration ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for dev-tartanhacks-registration ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Great job! I left a couple of comments about some very minor changes. Once those are fixed, this should be good to merge! VSCode has a tab on the left that shows the files you are about to stage or commit, this should help with fixing the line ending issue |
import Menu from "src/components/menu/Menu" | ||
import styles from "../styles/404.module.scss" | ||
|
||
const ApplicationPage: NextPage = (): ReactElement => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is not actually used - it can be removed
import Menu from "src/components/menu/Menu" | ||
import styles from "../styles/500.module.scss" | ||
|
||
const ApplicationPage: NextPage = (): ReactElement => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same goes for this function - it is not used so it can be removed safely
@import "./variables.scss"; | ||
@import "./mixins.scss"; | ||
|
||
.background { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good! One thing - it seems like you use the same styles for your 404 and 500 pages. It is better to avoid duplication whenever possible - one solution would be to just use one file, eg errorPage.module.scss, that you would import in both 404.tsx and 500.tsx.
practice for the bootcamp that creates pages 404 and 500 for the registration website!
Closes #107
Type of change
How Has This Been Tested?
i did not test the 500 page. i did test the 404 page by going to a invalid URL.
Test Configuration:
Checklist: