"use client";
import {
RiArrowLeftRightLine,
RiBankCard2Line,
RiBankLine,
RiCalendarEventLine,
RiDashboardLine,
RiFileChartLine,
RiFundsLine,
RiGroupLine,
RiInboxLine,
RiMenuLine,
RiPriceTag3Line,
RiSparklingLine,
RiTodoLine,
} from "@remixicon/react";
import { useState } from "react";
import { Button } from "@/components/ui/button";
import {
NavigationMenu,
NavigationMenuContent,
NavigationMenuItem,
NavigationMenuList,
NavigationMenuTrigger,
} from "@/components/ui/navigation-menu";
import {
Sheet,
SheetContent,
SheetHeader,
SheetTitle,
SheetTrigger,
} from "@/components/ui/sheet";
import type { DropdownLinkItem } from "./dropdown-link-list";
import { DropdownLinkList } from "./dropdown-link-list";
import { MobileNavLink, MobileSectionLabel } from "./mobile-nav-link";
import { triggerClass } from "./nav-styles";
import { SimpleNavLink } from "./simple-nav-link";
type TopNavMenuProps = {
preLancamentosCount?: number;
};
export function TopNavMenu({ preLancamentosCount = 0 }: TopNavMenuProps) {
const [sheetOpen, setSheetOpen] = useState(false);
const close = () => setSheetOpen(false);
const lancamentosItems: DropdownLinkItem[] = [
{
href: "/lancamentos",
label: "Lançamentos",
icon: ,
},
{
href: "/pre-lancamentos",
label: "Pré-Lançamentos",
icon: ,
badge: preLancamentosCount,
},
];
const organizacaoItems: DropdownLinkItem[] = [
{
href: "/orcamentos",
label: "Orçamentos",
icon: ,
},
{
href: "/pagadores",
label: "Pagadores",
icon: ,
},
{
href: "/categorias",
label: "Categorias",
icon: ,
},
{
href: "/anotacoes",
label: "Anotações",
icon: ,
},
];
const analiseItems: DropdownLinkItem[] = [
{
href: "/insights",
label: "Insights",
icon: ,
},
{
href: "/relatorios/tendencias",
label: "Tendências",
icon: ,
},
{
href: "/relatorios/uso-cartoes",
label: "Uso de Cartões",
icon: ,
},
];
return (
<>
{/* Desktop nav */}
{/* Mobile hamburger */}
Menu
>
);
}