Rename "Admin" nav button to "Login" on home page

Open Beginner friendly
#2,168 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
95/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
javascript
Domain
frontend

Research direction

Open client/src/components/Navbar.jsx and inspect the !auth?.user conditional block around lines 51–59, especially line 57. Change the unauthenticated navbar button label from ADMIN to LOGIN, then verify that it still routes to /login and that the home page displays the corrected label.

Written by the indexing model from the issue text.

Description

complexity: small housekeeping p-feature: Login role: Front End size: 0.25pt
Overview

The navbar displays an "ADMIN" button for unauthenticated users that routes to /login. The label is misleading — it should say "LOGIN" to accurately reflect its purpose.

Action Items
  • In client/src/components/Navbar.jsx line 57, change the button label from ADMIN to LOGIN
Resources/Instructions

Relevant code: client/src/components/Navbar.jsx — the !auth?.user conditional block (~line 51–59)

Dominant language
JavaScript
Stars
61
Forks
101
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hackforla/VRMS

All issues in hackforla/VRMS

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.