From 8951b32157e7a01f0da6624a6215920d488bedf1 Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Mon, 2 Nov 2026 02:04:00 -0500 Subject: [PATCH] feat(sidebar): move Contributions link into Contribute sub-navlist above Minigames --- src/components/frontend/blocks/NavContribute.tsx | 12 +++++++++++- src/components/frontend/blocks/sidebarData.ts | 6 ------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/frontend/blocks/NavContribute.tsx b/src/components/frontend/blocks/NavContribute.tsx index cc090f4c..bed7cb21 100644 --- a/src/components/frontend/blocks/NavContribute.tsx +++ b/src/components/frontend/blocks/NavContribute.tsx @@ -1,12 +1,13 @@ "use client"; -import { ChevronRight, Mic } from "lucide-react"; +import { ChevronRight, Mic, Trophy } from "lucide-react"; import Link from "next/link"; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, + DropdownMenuSeparator, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; import { @@ -20,6 +21,8 @@ import { * (NavUser): a "Contribute" header with a single Voiceover entry. Kept as its * own dropdown so it stays visually consistent with the adjacent Minigames * entry and can grow to more contribution channels without a code change. + * Now holds both contribution channels: Voiceover (record takes) and + * Contributions (leaderboard + moderation). */ export function NavContribute() { const { isMobile } = useSidebar(); @@ -46,6 +49,13 @@ export function NavContribute() { Voiceover + + + + + Contributions + + diff --git a/src/components/frontend/blocks/sidebarData.ts b/src/components/frontend/blocks/sidebarData.ts index 0922f49c..74d844e3 100644 --- a/src/components/frontend/blocks/sidebarData.ts +++ b/src/components/frontend/blocks/sidebarData.ts @@ -25,7 +25,6 @@ import { Search, Store, Swords, - Trophy, Truck, UserCog, Users, @@ -199,11 +198,6 @@ export const sidebarData = { url: "/awards", icon: Award, }, - { - title: "Contributions", - url: "/contributions", - icon: Trophy, - }, { title: "Locker", url: "/locker",