feat(settings): add admin settings UI and Navbar link
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -25,6 +25,12 @@ export default function Navbar() {
|
||||
>
|
||||
Analyze
|
||||
</Link>
|
||||
{/* If you have an isAdmin helper, show Settings only for admins. Example:
|
||||
{isAdmin(user) && (
|
||||
<Link to="/settings" className="text-gray-600 hover:text-blue-600 font-medium transition-colors">Settings</Link>
|
||||
)}
|
||||
*/}
|
||||
<a href="/settings" className="text-gray-600 hover:text-blue-600 font-medium transition-colors">Settings</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user