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

404 Error page #346

Closed

Conversation

kirtanchandak
Copy link

@kirtanchandak kirtanchandak commented Nov 22, 2022

Pull Request Type

  • [Made the new 404 Error Page ] New feature

@vercel
Copy link

vercel bot commented Nov 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
potter-db ✅ Ready (Inspect) Visit Preview Nov 22, 2022 at 2:46PM (UTC)
1 Ignored Deployment
Name Status Preview Updated
potter-db-docs ⬜️ Ignored (Inspect) Nov 22, 2022 at 2:46PM (UTC)

return (
<div>
<Typography variant="h3">Have You Seen this page?</Typography>
<img

Choose a reason for hiding this comment

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

Can you use next/image instead of the default img tag?

Choose a reason for hiding this comment

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

And with this, could you also improve the image for mobile usage?

<Typography variant="h3">Have You Seen this page?</Typography>
<img
src="https://user-images.githubusercontent.com/90754725/194039761-45ed2b6c-aa69-4070-b1df-6ca2ef90cb48.png"
alt=""

Choose a reason for hiding this comment

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

and alt tag would be also very useful.

Comment on lines +12 to +15
<Typography variant="body1">
Approach with extreme caution! To not attempt to use magic against this
site!
</Typography>

Choose a reason for hiding this comment

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

Instead of the text and the title about the image, can you maybe integrate it on the image? Maybe just use the image of sirius on the newspaper thing and put the text on it?
Or maybe something similar?


const NotFound = () => {
return <Typography variant="h3">404 - Page Not Found</Typography>;
return (
<div>

Choose a reason for hiding this comment

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

Can you also center the whole thing? And maybe put it in a Card Component?

Copy link
Owner

@danielschuster-muc danielschuster-muc left a comment

Choose a reason for hiding this comment

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

Thank you for submitting this PR!

@danielschuster-muc danielschuster-muc linked an issue Nov 26, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: 404 Page
2 participants