Skip to content

Navbar links not working after navigating to login page #972

@Srushtee1706

Description

@Srushtee1706

Describe the bug

When on the login page, clicking on any navbar links does not redirect to the respective pages.
Instead, it shows the error message:

Image

To Reproduce

Start the application.

Navigate to the Login page.

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

Observe that the page does not load and shows a “Cannot GET /src/index.html” error.

Expected behavior

Navbar links should correctly navigate to their respective pages (e.g., Home → /, About → /about, etc.) even when accessed from the login page.

Additional context

Occurs only after visiting the Login page.

Screenshot attached for reference (see below).

The issue may affect deployment builds if routing is not handled correctly.

Metadata

Metadata

Assignees

Labels

UI/UXbugSomething isn't workinggssoc25GirlScript Summer of Code 2025level 3hard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions