import Image from "next/image"; import Link from "next/link"; import { AnimatedThemeToggler } from "@/components/animated-theme-toggler"; import { CalculatorDialogButton } from "@/components/calculadora/calculator-dialog"; import { FeedbackDialog } from "@/components/feedback/feedback-dialog"; import { NotificationBell } from "@/components/notificacoes/notification-bell"; import { PrivacyModeToggle } from "@/components/privacy-mode-toggle"; import { RefreshPageButton } from "@/components/refresh-page-button"; import type { DashboardNotificationsSnapshot } from "@/lib/dashboard/notifications"; import { TopNavMenu } from "./top-nav-menu"; import { TopbarUser } from "./topbar-user"; type AppTopbarProps = { user: { id: string; name: string; email: string; image: string | null; }; pagadorAvatarUrl: string | null; preLancamentosCount?: number; notificationsSnapshot: DashboardNotificationsSnapshot; }; export function AppTopbar({ user, pagadorAvatarUrl, preLancamentosCount = 0, notificationsSnapshot, }: AppTopbarProps) { return (
{/* Logo */} OpenMonetis OpenMonetis {/* Navigation */} {/* Right-side actions */}
{/* User avatar */}
); }