"use client"; import { Dock, DockIcon } from "@/components/ui/dock"; import { signOut } from "next-auth/react"; import { Home, User, LogOut, Download, BookOpen, LayoutDashboard, Bookmark } from "lucide-react"; export function HomeDock({ isAuthenticated, isAdmin, onLoginClick, }: { isAuthenticated: boolean; isAdmin: boolean; onLoginClick?: () => void; }) { return (
{isAuthenticated && ( )} {isAdmin && ( )} {isAuthenticated ? ( ) : ( )}
); }