[dyad] Restoring sidebar links and including new pages - wrote 1 file(s)

This commit is contained in:
[dyad] 2025-09-19 11:51:46 +02:00
parent 77c926ea54
commit ad018e75d8

View file

@ -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,
},
];