Skip to content

Navbar links not working after navigating to Contact page #973

@Srushtee1706

Description

@Srushtee1706

Describe the bug

When on the Contact page, clicking any navbar link does not redirect to the respective pages.
Instead, it shows the following error message:Cannot GET /src/index.html

To Reproduce

Start the application.

Navigate to the Contact page.

Click on any navbar link (e.g., Home, About, Login, etc.).

The page fails to load and shows the “Cannot GET /src/index.html” error.

Expected behavior

Navbar links should properly navigate to their respective routes from any page, including the Contact page.

Additional context

The same issue occurs on the Login page as well.

This affects all internal navigation links once the user is on a non-root page.

Likely related to route handling setup in the React or Vite configuration.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions