Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/app/admin/players/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { type Metadata } from "next"
import { PlayerStandingDashboard } from "~/components/admin/players/player-standing-dashboard"

export const dynamic = "force-dynamic"

export const metadata: Metadata = {
title: "Player Standing"
}

export default function Page() {
return <PlayerStandingDashboard />
}
15 changes: 14 additions & 1 deletion src/app/admin/sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
"use client"

import { Badge, BadgeCheck, Database, FileWarning, Settings, type LucideProps } from "lucide-react"
import {
Badge,
BadgeCheck,
Database,
FileWarning,
Settings,
UserSearch,
type LucideProps
} from "lucide-react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { useSession } from "~/hooks/app/useSession"
Expand All @@ -26,6 +34,11 @@ const adminRoutes: AdminRoute[] = [
path: "/reporting",
Icon: FileWarning
},
{
name: "Player Standing",
path: "/players",
Icon: UserSearch
},
{
name: "Badges",
path: "/badges",
Expand Down
Loading