added routes and header button

This commit is contained in:
2026-07-17 09:48:05 -05:00
parent 29e9302d8e
commit 65df987f62
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -10,6 +10,7 @@ import {BarkHeader} from "./common/components/BarkHeader.tsx";
import AddItem from "./features/inventory/AddItem.tsx";
import { Notifications } from '@mantine/notifications';
import '@mantine/notifications/styles.css';
import CustomerList from "@/features/customers/CustomerList.tsx";
// Create a client
const queryClient = new QueryClient()
@@ -46,6 +47,8 @@ function App() {
<Route path="inventory/itemDetail/:itemId" element={<ItemDetail/>}/>
<Route path="inventory/editItem/:itemId" element={<EditItem/>}/>
<Route path="inventory/addItem" element={<AddItem/>}/>
<Route path="customers" element={<CustomerList/>}/>
</Routes>
</>
</QueryClientProvider>
@@ -7,6 +7,7 @@ import BarkLogo from '@/assets/barklogo.png';
const links = [
{ link: '/', label: 'Home' },
{ link: '/customers', label: 'Customers' },
{ link: '/inventory', label: 'Inventory' },
];