mirror of
https://github.com/mudabbir-ahmad/peworkshop.git
synced 2026-10-07 19:50:20 +00:00
all that's left is adding slightly better error handling for map to check if a hunt is active or not and to add the clues pages.
Grey = cant click Red = current Green = complete blue = skipped?
This commit is contained in:
1 parent
95348df5a9
commit
0269fdfe68
8 files changed
+602
-23
No files matched your search
@@ -275,23 +275,26 @@ export default function TeamPage({ params }) {
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Replace the outdated navbar with the correct one */}
|
||||
<div className="nav-bar">
|
||||
{/* Update the Home link to point to the current team page */}
|
||||
<Link href={`/${teamId}`} className="nav-item">
|
||||
<div className="nav-icon">🏠</div>
|
||||
<div className="nav-label">Home</div>
|
||||
<Link href="/map" className="nav-item">
|
||||
<div className="nav-icon">🗺️</div>
|
||||
<div className="nav-label">Map</div>
|
||||
</Link>
|
||||
<Link href="/leaderboard" className="nav-item">
|
||||
<Link href="/stats" className="nav-item">
|
||||
<div className="nav-icon">📊</div>
|
||||
<div className="nav-label">Stats</div>
|
||||
</Link>
|
||||
<Link href="/team-selection" className="nav-item active">
|
||||
<Link
|
||||
href={team ? `/${team.id}` : "/team-selection"}
|
||||
className="nav-item active"
|
||||
>
|
||||
<div className="nav-icon">👥</div>
|
||||
<div className="nav-label">Team</div>
|
||||
</Link>
|
||||
<Link href="/profile" className="nav-item">
|
||||
<div className="nav-icon">👤</div>
|
||||
<div className="nav-label">Profile</div>
|
||||
<Link href="/leaderboard" className="nav-item">
|
||||
<div className="nav-icon">🏆</div>
|
||||
<div className="nav-label">Leaderboard</div>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user