Skip to content

[Feature] Create a custom 404 "Page Not Found" component for invalid routes #1641

Description

@udhayavaran

Description

If a user manually types an invalid URL (e.g., /dashboard/typo) or clicks a broken link, React Router will likely render a blank page or a generic error because no fallback route is defined in the router configuration.

Proposed Solution

  1. Create a NotFound.jsx component displaying a friendly 404 message (e.g., "Oops! Looks like you forged the wrong path.").
  2. Add a Call-to-Action (CTA) button in the component that navigates the user back to the / or /dashboard route.
  3. Add the catch-all route (path="*") to the main router configuration to render this component.

Impact

  • Prevents users from getting stuck on a blank/broken screen.
  • Adds professional polish to the client-side routing architecture.

I have experience with React Router and Tailwind CSS. Kindly assign this issue to me under GSSoC 2026.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GSSoC '26backendIssues related to server-side, database logic or APIsbugSomething isn't workingfeatureImprove existing feature or add newfrontendIssues related to UI/UX

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions