Updated the public documentation site with improved layout and accessibility, including new sections for client integration and admin guides. Enhanced API queries by adding 'active_only' and 'group_by' parameters for better data filtering in risk management. Refined UI components for agent management, ensuring consistent styling and improved user experience across the application. Added localization support for new documentation content in English and Nepali.
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
import type { DocsNavGroup } from "@/lib/docs-nav";
|
|
|
|
export const ADMIN_DOCS_NAV_GROUPS: DocsNavGroup[] = [
|
|
{
|
|
titleKey: "nav.gettingStarted",
|
|
items: [
|
|
{ href: "/docs/admin", titleKey: "nav.overview" },
|
|
{ href: "/docs/admin/roles", titleKey: "nav.roles" },
|
|
],
|
|
},
|
|
{
|
|
titleKey: "nav.operations",
|
|
items: [
|
|
{ href: "/docs/admin/site-setup", titleKey: "nav.siteSetup" },
|
|
{ href: "/docs/admin/draws", titleKey: "nav.draws" },
|
|
{ href: "/docs/admin/manual-review", titleKey: "nav.manualReview" },
|
|
{ href: "/docs/admin/settlement-center", titleKey: "nav.settlementCenter" },
|
|
],
|
|
},
|
|
{
|
|
titleKey: "nav.management",
|
|
items: [
|
|
{ href: "/docs/admin/agents", titleKey: "nav.agents" },
|
|
{ href: "/docs/admin/players", titleKey: "nav.players" },
|
|
],
|
|
},
|
|
{
|
|
titleKey: "nav.finance",
|
|
items: [
|
|
{ href: "/docs/admin/tickets", titleKey: "nav.tickets" },
|
|
{ href: "/docs/admin/wallet", titleKey: "nav.wallet" },
|
|
{ href: "/docs/admin/fund-operations", titleKey: "nav.fundOperations" },
|
|
{ href: "/docs/admin/reports", titleKey: "nav.reports" },
|
|
],
|
|
},
|
|
{
|
|
titleKey: "nav.platform",
|
|
items: [{ href: "/docs/admin/config", titleKey: "nav.config" }],
|
|
},
|
|
{
|
|
titleKey: "nav.reference",
|
|
items: [{ href: "/docs/admin/faq", titleKey: "nav.faq" }],
|
|
},
|
|
];
|