diff --git a/src/components/navigation.tsx b/src/components/navigation.tsx
index c744453..f004745 100644
--- a/src/components/navigation.tsx
+++ b/src/components/navigation.tsx
@@ -2,65 +2,125 @@
import {
NavigationMenu,
+ navigationMenuIconTriggerStyle,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuList,
navigationMenuTriggerStyle,
} from '@/components/ui/navigation-menu';
-import React from 'react';
+import React, { useState } from 'react';
import Link from 'next/link';
-import { User } from 'lucide-react';
+import { Banknote, Home, Menu, Tag, User, UserSearch } from 'lucide-react';
+import { Drawer, DrawerContent, DrawerTrigger } from '@/components/ui/drawer';
+import { Button } from '@/components/ui/button';
export default function Navigation() {
+ const [open, setOpen] = useState(false);
+
return (
-
-
-
-
-

-
-
-
-
- Dashboard
-
+
+
setOpen(open)}>
+
+
+
+
+
+ setOpen(false)}
+ passHref>
+
+ Dashboard
-
-
-
-
- Payments
-
+ setOpen(false)}
+ passHref>
+
+ Payments
-
-
-
-
- Entities
-
+ setOpen(false)}
+ passHref>
+
+ Entities
-
-
-
-
- Categories
-
+ setOpen(false)}
+ passHref>
+
+ Categories
-
-
-
-
-
-
- Account
+ setOpen(false)}
+ passHref>
-
-
-
-
-
+ Account
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+ Dashboard
+
+
+
+
+
+
+ Payments
+
+
+
+
+
+
+ Entities
+
+
+
+
+
+
+ Categories
+
+
+
+
+
+
+
+
+ Account
+
+
+
+
+
+
+
);
}
diff --git a/src/components/ui/navigation-menu.tsx b/src/components/ui/navigation-menu.tsx
index 800788d..71f001a 100644
--- a/src/components/ui/navigation-menu.tsx
+++ b/src/components/ui/navigation-menu.tsx
@@ -44,6 +44,10 @@ const navigationMenuTriggerStyle = cva(
'group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50',
);
+const navigationMenuIconTriggerStyle = cva(
+ 'group inline-flex h-10 w-full items-center justify-start rounded-md bg-background px-4 py-2 space-x-4 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50',
+);
+
const NavigationMenuTrigger = React.forwardRef<
React.ElementRef,
React.ComponentPropsWithoutRef
@@ -117,6 +121,7 @@ NavigationMenuIndicator.displayName =
export {
navigationMenuTriggerStyle,
+ navigationMenuIconTriggerStyle,
NavigationMenu,
NavigationMenuList,
NavigationMenuItem,