109 lines
4.7 KiB
TypeScript
109 lines
4.7 KiB
TypeScript
/** Site-wide navigation — used by Navbar “All pages” dropdown. */
|
||
|
||
export type SiteNavItem = { label: string; href: string; icon: string };
|
||
|
||
export type SiteNavGroup = { title: string; items: SiteNavItem[] };
|
||
|
||
export const SITE_NAV_GROUPS: SiteNavGroup[] = [
|
||
{
|
||
title: "Hub & account",
|
||
items: [
|
||
{ label: "Hub", href: "/", icon: "⌂" },
|
||
{ label: "Master directory", href: "/directory", icon: "🧭" },
|
||
{ label: "Dashboard", href: "/dashboard", icon: "📊" },
|
||
{ label: "Sign in", href: "/sign-in", icon: "🔑" },
|
||
{ label: "Register", href: "/sign-up", icon: "✎" },
|
||
{ label: "Add funds (BTC → USD)", href: "/account/add-funds", icon: "₿" },
|
||
{ label: "Onion mirrors", href: "/account/hidden-services", icon: "🧅" },
|
||
],
|
||
},
|
||
{
|
||
title: "Commerce",
|
||
items: [
|
||
{ label: "Dark Bazaar (market)", href: "/market", icon: "📈" },
|
||
{ label: "Checkout", href: "/checkout", icon: "🛒" },
|
||
{ label: "Wallets & catalog", href: "/wallets", icon: "👛" },
|
||
{ label: "Vendor hall", href: "/vendors", icon: "🏪" },
|
||
{ label: "Apply as vendor", href: "/vendor/apply", icon: "📋" },
|
||
{ label: "Floor analytics", href: "/market/analytics", icon: "📉" },
|
||
{ label: "Operations", href: "/market/operations", icon: "⚙️" },
|
||
{ label: "Buyer intel", href: "/market/intel", icon: "🔍" },
|
||
{ label: "Escrow & trust", href: "/market/trust", icon: "🤝" },
|
||
],
|
||
},
|
||
{
|
||
title: "Community",
|
||
items: [
|
||
{ label: "Forum", href: "/forum", icon: "◆" },
|
||
{ label: "Messages", href: "/messages", icon: "💬" },
|
||
{ label: "Chatter", href: "/chatter", icon: "📡" },
|
||
{ label: "Submit post", href: "/forum/submit", icon: "➕" },
|
||
{ label: "Sanctum", href: "/sanctuary", icon: "🛡️" },
|
||
{ label: "Inner circle", href: "/inner-circle", icon: "◎" },
|
||
],
|
||
},
|
||
{
|
||
title: "Exchange & barter",
|
||
items: [
|
||
{ label: "Soul Trade", href: "/exchange", icon: "📰" },
|
||
{ label: "Exchange ledger", href: "/exchange/ledger", icon: "📒" },
|
||
{ label: "Guidelines", href: "/exchange/guidelines", icon: "📜" },
|
||
{ label: "Barter", href: "/barter", icon: "♻️" },
|
||
],
|
||
},
|
||
{
|
||
title: "VOID Tools & Labs",
|
||
items: [
|
||
{ label: "VOID Tools (unlock)", href: "/tools", icon: "🔓" },
|
||
{ label: "Void Labs", href: "/labs", icon: "🧪" },
|
||
{ label: "Cipher Academy", href: "/academy", icon: "🎓" },
|
||
{ label: "The Codex", href: "/codex", icon: "📖" },
|
||
{ label: "The Oracle", href: "/oracle", icon: "🔮" },
|
||
{ label: "The Nexus", href: "/nexus", icon: "🕸️" },
|
||
{ label: "DarkHost", href: "/hosting", icon: "🖥️" },
|
||
],
|
||
},
|
||
{
|
||
title: "Intel & tools",
|
||
items: [
|
||
{ label: "Grimoire (vault)", href: "/vault", icon: "🗝️" },
|
||
{ label: "Forbidden wiki", href: "/hidden-wiki", icon: "📚" },
|
||
{ label: "Darknet atlas", href: "/darknet-atlas", icon: "🗺️" },
|
||
{ label: "Shadow syndicate", href: "/syndicate", icon: "🕸️" },
|
||
{ label: "Routing", href: "/syndicate/routing", icon: "↗" },
|
||
{ label: "Topology", href: "/syndicate/topology", icon: "⬡" },
|
||
{ label: "Void crawl (search)", href: "/search", icon: "🔦" },
|
||
{ label: "Links", href: "/links", icon: "🔗" },
|
||
{ label: "Presswire", href: "/presswire", icon: "📣" },
|
||
],
|
||
},
|
||
{
|
||
title: "Extras",
|
||
items: [
|
||
{ label: "Launch", href: "/launch", icon: "🔥" },
|
||
{ label: "Drops", href: "/drops", icon: "🚀" },
|
||
{ label: "Drop box", href: "/drop-box", icon: "📦" },
|
||
{ label: "Raffle", href: "/raffle", icon: "🎟️" },
|
||
{ label: "Awards", href: "/awards", icon: "🏆" },
|
||
{ label: "Testimonials", href: "/testimonials", icon: "✨" },
|
||
{ label: "Reviews", href: "/reviews", icon: "⭐" },
|
||
{ label: "Support", href: "/support", icon: "🆘" },
|
||
{ label: "Game", href: "/game", icon: "🎮" },
|
||
{ label: "Mixer", href: "/mixer", icon: "🌀" },
|
||
{ label: "Webring", href: "/webring", icon: "∞" },
|
||
{ label: "Trust", href: "/trust", icon: "⚖️" },
|
||
{ label: "Security analysis", href: "/security-analysis", icon: "🔐" },
|
||
{ label: "Arb academy", href: "/arb-academy", icon: "📚" },
|
||
{ label: "Comparison", href: "/comparison", icon: "⚗️" },
|
||
{ label: "Conspiracies", href: "/conspiracies", icon: "🕯️" },
|
||
{ label: "Trees", href: "/trees", icon: "🌲" },
|
||
{ label: "Easter eggs", href: "/easter-eggs", icon: "🥚" },
|
||
{ label: "Red room", href: "/red-room", icon: "🚪" },
|
||
],
|
||
},
|
||
];
|
||
|
||
export function flattenSiteNavItems(): SiteNavItem[] {
|
||
return SITE_NAV_GROUPS.flatMap((g) => g.items);
|
||
}
|