fix: update authentication and navigation components

This commit is contained in:
2026-04-26 16:37:32 -07:00
parent d69bd7a0ba
commit d436b1f66e
7 changed files with 55 additions and 35 deletions
+4 -3
View File
@@ -39,6 +39,7 @@ export default function Navigation() {
}
// Determine wordmark href based on session and role
// If session exists but role is not yet loaded, use /rankings as default for players
const wordmarkHref = session
? (userRole === "club_admin" || userRole === "site_admin")
? "/admin"
@@ -50,12 +51,12 @@ export default function Navigation() {
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between h-16">
<div className="flex items-center">
<a
href={wordmarkHref}
<Link
href="/wordmark-redirect"
className="text-xl font-bold text-gray-900 no-underline"
>
EuchreCamp
</a>
</Link>
<div className="hidden md:ml-6 md:flex md:space-x-8">
<Link
href="/rankings"