feat: add admin share index
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user