Skip to content

Conversation

@Riddhi050803
Copy link
Contributor

@Riddhi050803 Riddhi050803 commented Nov 16, 2024

Description

This PR introduces a custom 404 Not Found Page along with a default route for the application. The 404 Not Found Page displays a visually appealing background, a prominent "Page Not Found" message, and a button that redirects users to the homepage when clicked. The default route ensures that all non-matching routes will be handled by this 404 page.

Related Issues

Resolves #558

Changes Proposed

  1. NotFoundPage Component: A React component was added for the 404 page. It includes:
    -A background image.
    -A "Page Not Found" message.
    -A "Go to Home" button that redirects the user to the homepage.

  2. Routing Updates:
    A default route (*) has been added to handle all non-existent routes, displaying the NotFoundPage for any unmatched URL.
    The previous default route for the homepage ("/") remains intact, and now it redirects users from invalid paths to the 404 page.

Checklist

  • I have read and followed the Contribution Guidelines.
  • All new and existing tests passed.
  • I have updated the documentation to reflect the changes I've made.
  • My code follows the code style of this project.
  • The title of my pull request is a short description of the requested changes.

Screenshots

image

Note to reviewers

@vercel
Copy link

vercel bot commented Nov 16, 2024

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

Name Status Preview Comments Updated (UTC)
devdisplay ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2024 8:35am

@Riddhi050803
Copy link
Contributor Author

@codeaashu Kindly review.

@github-actions
Copy link

github-actions bot commented Mar 2, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

24 similar comments
@github-actions
Copy link

github-actions bot commented Mar 3, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

github-actions bot commented Mar 4, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

github-actions bot commented Mar 5, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

github-actions bot commented Mar 6, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

github-actions bot commented Mar 7, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

github-actions bot commented Mar 8, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

github-actions bot commented Mar 9, 2025

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

1 similar comment
@github-actions
Copy link

Hi there! This issue is still open. We are looking forward to your response.
Assignees: None

@codeaashu codeaashu closed this Mar 28, 2025
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.

[Feat]: Add a 404 Not Found Page

2 participants