"use client" import * as React from "react" import { IconBuildingArch, IconDashboard, IconDatabase, IconFileWord, IconHelp, IconInnerShadowTop, IconListDetails, IconReport, IconSearch, IconSettings, IconUsers, } from "@tabler/icons-react" import { NavMain } from "@/components/nav-main" import { NavUser } from "@/components/nav-user" import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/components/ui/sidebar" import Link from "next/link" import { UserContext } from "@/context/UserContext" const data = { navMain: [ { title: "Dashboard", url: "/dashboard", icon: IconDashboard, }, { title: "Events", url: "/events", icon: IconListDetails, }, { title: "Guest Book", url: "/guest-book", icon: IconUsers, }, { title: "Locations", url: "/locations", icon: IconBuildingArch, }, ], // navClouds: [ // { // title: "Capture", // icon: IconCamera, // isActive: true, // url: "#", // items: [ // { // title: "Active Proposals", // url: "#", // }, // { // title: "Archived", // url: "#", // }, // ], // }, // { // title: "Proposal", // icon: IconFileDescription, // url: "#", // items: [ // { // title: "Active Proposals", // url: "#", // }, // { // title: "Archived", // url: "#", // }, // ], // }, // { // title: "Prompts", // icon: IconFileAi, // url: "#", // items: [ // { // title: "Active Proposals", // url: "#", // }, // { // title: "Archived", // url: "#", // }, // ], // }, // ], navSecondary: [ { title: "Settings", url: "/admin", icon: IconSettings, }, { title: "Get Help", url: "#", icon: IconHelp, }, { title: "Search", url: "#", icon: IconSearch, }, ], documents: [ { name: "Data Library", url: "#", icon: IconDatabase, }, { name: "Reports", url: "#", icon: IconReport, }, { name: "Word Assistant", url: "#", icon: IconFileWord, }, ], } export function AppSidebar({ ...props }: React.ComponentProps) { const { currentUser } = React.useContext(UserContext) return ( Event Planner {/* */} {currentUser && ( )} ) }