feat: add admin share index

This commit is contained in:
2026-08-16 02:01:05 +07:00 Unverified
parent bdd8442e75
commit 0494de677d
2 changed files with 200 additions and 1 deletions
+15 -1
View File
@@ -15,7 +15,15 @@ import {
SidebarInset,
SidebarTrigger,
} from "@/components/ui/sidebar";
import { ClipboardList, KeyRound, Server, LayoutDashboard, Upload, LucideIcon } from "lucide-react";
import {
ClipboardList,
KeyRound,
LayoutDashboard,
LucideIcon,
Server,
Share2,
Upload,
} from "lucide-react";
import { ThemeToggle } from "@/components/theme-toggle";
import { DropdownMenuAvatar, DiscordMemberProfile } from "@/components/avatar";
@@ -40,6 +48,12 @@ const NAV_ITEMS: NavItem[] = [
icon: ClipboardList,
isActive: (pathname) => pathname === "/admin/form",
},
{
href: "/admin/share",
label: "Share",
icon: Share2,
isActive: (pathname) => pathname.startsWith("/admin/share"),
},
{
href: "/admin/backend",
label: "Backend",