diff --git a/components/ui/app-sidebar.tsx b/components/ui/app-sidebar.tsx index 9fd8c55..cf539d0 100644 --- a/components/ui/app-sidebar.tsx +++ b/components/ui/app-sidebar.tsx @@ -1,4 +1,12 @@ -import { ChevronRight } from "lucide-react"; +import { + ChevronRight, + Coins, + CreditCard, + Handshake, + MonitorSpeaker, + Smartphone, + UsersRound, +} from "lucide-react"; import { Collapsible, @@ -29,18 +37,18 @@ const data = { { title: "Devices", url: "/devices", + icon: , }, - { - title: "Parental Controls", - url: "/parental-controls", - }, + { title: "Payments", url: "/payments", + icon: , }, { title: "Agreements", url: "/agreements", + icon: , }, ], }, @@ -52,14 +60,17 @@ const data = { { title: "Users", url: "/users", + icon: , }, { title: "User Devices", url: "/user-devices", + icon: , }, { title: "User Payments", url: "/user-payments", + icon: , }, ], }, @@ -78,43 +89,6 @@ export function AppSidebar({ - {/* We create a collapsible SidebarGroup for each parent. */} - {/* {data.navMain.map((item) => ( - - - - - - {item.title}{" "} - - - - - - - {item.items.map((item) => ( - - - - {item.title} - - - - ))} - - - - - - ))} */} {data.navMain .filter( (item) => @@ -146,7 +120,10 @@ export function AppSidebar({ - {item.title} + {item.icon} + + {item.title} + diff --git a/components/ui/textarea.tsx b/components/ui/textarea.tsx new file mode 100644 index 0000000..e56b0af --- /dev/null +++ b/components/ui/textarea.tsx @@ -0,0 +1,22 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +const Textarea = React.forwardRef< + HTMLTextAreaElement, + React.ComponentProps<"textarea"> +>(({ className, ...props }, ref) => { + return ( +