import { Bell, Menu } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { useAuth } from "@/hooks/use-auth"; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; import { useLocation } from "wouter"; import { NotificationsBell } from "@/components/layout/notification-bell"; interface TopAppBarProps { toggleMobileMenu: () => void; } export function TopAppBar({ toggleMobileMenu }: TopAppBarProps) { const { user, logoutMutation } = useAuth(); const [location, setLocation] = useLocation(); const handleLogout = () => { logoutMutation.mutate(); }; const getInitials = (username: string) => { return username.substring(0, 2).toUpperCase(); }; return (

DentalConnect

{/* Search bar removed */}
{user?.username} My Profile setLocation("/settings")}> Account Settings Log out
); }