"use client";
import {
Sidebar,
SidebarContent,
SidebarFooter,
SidebarHeader,
SidebarTrigger,
useSidebar,
} from "@/components/ui/sidebar";
import { cn } from "@/lib/utils";
import { motion } from "framer-motion";
import {
Bookmark,
MessageSquare,
Plus,
Settings,
Users,
} from "lucide-react";
import Image from "next/image";
import { Logo } from "@/components/sidebar-02/logo";
import type { Route } from "./nav-main";
import DashboardNavigation from "@/components/sidebar-02/nav-main";
import { NotificationsPopover } from "@/components/sidebar-02/nav-notifications";
import { TeamSwitcher } from "@/components/sidebar-02/team-switcher";
const sampleNotifications = [
{
id: "1",
avatar: "/avatars/01.png",
fallback: "LR",
text: "New lab results are available.",
time: "10m ago",
},
{
id: "2",
avatar: "/avatars/02.png",
fallback: "PC",
text: "A patient chart was updated.",
time: "1h ago",
},
{
id: "3",
avatar: "/avatars/03.png",
fallback: "CT",
text: "New message from the care team.",
time: "2h ago",
},
];
const dashboardRoutes: Route[] = [
{
id: "new-chat",
title: "New chat",
icon: ,
link: "/",
},
{
id: "patients",
title: "Patients",
icon: ,
link: "#",
},
{
id: "conversations",
title: "Conversations",
icon: ,
link: "#",
},
{
id: "saved",
title: "Saved",
icon: ,
link: "#",
},
{
id: "settings",
title: "Settings",
icon: ,
link: "/settings",
},
];
const teams = [{ id: "1", name: "temetro", logo: Logo, plan: "Clinic" }];
export function DashboardSidebar() {
const { state } = useSidebar();
const isCollapsed = state === "collapsed";
return (
{!isCollapsed && (
temetro
)}
);
}