From ad018e75d8b422b2445c96beae557fcfc72ebbf5 Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Fri, 19 Sep 2025 11:51:46 +0200 Subject: [PATCH] [dyad] Restoring sidebar links and including new pages - wrote 1 file(s) --- src/components/SidebarNav.tsx | 43 +++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/src/components/SidebarNav.tsx b/src/components/SidebarNav.tsx index c80f134..375d86e 100644 --- a/src/components/SidebarNav.tsx +++ b/src/components/SidebarNav.tsx @@ -1,7 +1,7 @@ import { Link, useLocation } from "react-router-dom"; import { cn } from "@/lib/utils"; import { buttonVariants } from "@/components/ui/button"; -import { Home, Book, Users, ArrowLeftRight } from "lucide-react"; +import { Home, Book, Users, ArrowLeftRight, Package, ShoppingCart, Truck } from "lucide-react"; const sidebarNavItems = [ { @@ -10,19 +10,44 @@ const sidebarNavItems = [ icon: Home, }, { - title: "Books", - href: "/books", - icon: Book, + title: "Stock", + href: "/stock", + icon: Package, }, { - title: "Members", - href: "/members", + title: "Book Out", + href: "/book-out", + icon: ArrowLeftRight, + }, + { + title: "Customers", + href: "/customers", icon: Users, }, { - title: "Transactions", - href: "/transactions", - icon: ArrowLeftRight, + title: "Reports", + href: "/reports", + icon: Book, + }, + { + title: "Products", + href: "/products", + icon: Package, + }, + { + title: "Orders", + href: "/orders", + icon: ShoppingCart, + }, + { + title: "Purchase Orders", + href: "/purchase-orders", + icon: ShoppingCart, + }, + { + title: "Suppliers", + href: "/suppliers", + icon: Truck, }, ];