"use client"; import Link from "next/link"; import { useAuth } from "@/context/AuthContext"; export default function AdminHomePage() { const { token } = useAuth(); if (!token) { return (
You must be logged in to view this page.
); } const cards = [ { title: "Canonical categories", href: "admin/gunbuilder/categories", description: "Manage the core builder categories and their group/grouping + sort order.", }, { title: "Part role mappings", href: "/admin/gunbuilder/part-role-mappings", description: "Advanced: map logical builder part roles to canonical categories per platform.", }, { title: "Merchant category mappings", href: "/admin/gunbuilder/merchant-category-mappings", description: "Map raw merchant feed categories to your canonical categories.", }, ]; return (

Admin

Internal tools to keep your builder data clean and consistent.

{cards.map((card) => (

{card.title}

{card.description}

))}
); }