import { AnimatedThemeToggler } from "@/shared/components/animated-theme-toggler"; import { NotificationBell } from "@/shared/components/navigation/navbar/notification-bell"; import { RefreshPageButton } from "@/shared/components/refresh-page-button"; import type { DashboardNotificationsSnapshot } from "@/shared/lib/types/notifications"; import { checkForUpdate } from "@/shared/lib/version/check-update"; import type { NavbarFinanceLinks } from "./nav-items"; import { NavMenu } from "./nav-menu"; import { NavbarShell } from "./navbar-shell"; import { NavbarUser } from "./navbar-user"; type AppNavbarProps = { user: { id: string; name: string; email: string; image: string | null; }; payerAvatarUrl: string | null; inboxPendingCount?: number; notificationsSnapshot: DashboardNotificationsSnapshot; financeLinks: NavbarFinanceLinks; }; export async function AppNavbar({ user, payerAvatarUrl, inboxPendingCount = 0, notificationsSnapshot, financeLinks, }: AppNavbarProps) { const updateCheck = await checkForUpdate(); return (
); }