🔖 Feature description
Currently, the application does not have a fallback/wildcard route in src/Routes/Router.tsx. If a user accidentally navigates to an invalid URL (e.g., /random-path), the app fails to show a proper error page and results in a poor user experience (often a blank page or broken layout).
Proposed Solution:
- Create a new
NotFound.tsx page component in the src/pages directory.
- Design the page using Tailwind CSS to match the app's current theme (including dark mode support), featuring a friendly "404 - Page Not Found" message.
- Add a "Back to Home" button utilizing
react-router-dom to safely redirect the user.
- Add the wildcard route
<Route path="*" element={<NotFound />} /> to Router.tsx.
🎤 Screenshot
N/A - This is a proposal for a new feature, so there are no screenshots yet. I will make sure to include screenshots of the new 404 page in the Pull Request once it is implemented!
🔄️ Additional Information
This enhancement will significantly improve the overall UI/UX by preventing users from getting stuck on broken links.
Mentorship / GSSoC'26
I am a GSSoC '26 contributor and I would love to work on this enhancement! Please assign this to me with the gssoc26 label so I can start working on it. 🚀
🔖 Feature description
Currently, the application does not have a fallback/wildcard route in
src/Routes/Router.tsx. If a user accidentally navigates to an invalid URL (e.g.,/random-path), the app fails to show a proper error page and results in a poor user experience (often a blank page or broken layout).Proposed Solution:
NotFound.tsxpage component in thesrc/pagesdirectory.react-router-domto safely redirect the user.<Route path="*" element={<NotFound />} />toRouter.tsx.🎤 Screenshot
N/A - This is a proposal for a new feature, so there are no screenshots yet. I will make sure to include screenshots of the new 404 page in the Pull Request once it is implemented!
🔄️ Additional Information
This enhancement will significantly improve the overall UI/UX by preventing users from getting stuck on broken links.
Mentorship / GSSoC'26
I am a GSSoC '26 contributor and I would love to work on this enhancement! Please assign this to me with the
gssoc26label so I can start working on it. 🚀