Skip to content

Commit

Permalink
Merge branch 'foodlist'
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtrazy committed Jul 17, 2024
2 parents b132409 + 74c48ac commit 0790967
Show file tree
Hide file tree
Showing 10 changed files with 1,527 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import UserLayout from '@layouts/UserLayout';
import Foods from '@pages/BranchManager/Foods';
import FoodItem from '@pages/FoodItem';
import AllFoodItems from '@pages/AllFoodItems';
import FoodList from '@pages/BranchManager/FoodList';
import { Gallery } from '@components/Gallery/Gallery';
import DiscountList from './pages/BranchManager/FoodList/DiscountList';
import Cart from '@pages/Cart';
import { OrderHistory } from './components/User/OrderHistory/OrderHistory';

Expand Down Expand Up @@ -110,6 +112,24 @@ const routes = createRoutesFromElements(
</>
}
/>
<Route
path="foodlist"
element={
<>
<PageTitle title="Branch Manager | Foods List" />
<FoodList />
</>
}
/>
<Route
path="discountlist"
element={
<>
<PageTitle title="Branch Manager | Discount List" />
<DiscountList />
</>
}
/>
</Route>
</Route>,
);
Expand Down
24 changes: 24 additions & 0 deletions src/pages/BranchManager/FoodList/ChevronDownIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from "react";
import {IconSvgProps} from "./types";

export const ChevronDownIcon = ({strokeWidth = 1.5, ...otherProps}: IconSvgProps) => (
<svg
aria-hidden="true"
fill="none"
focusable="false"
height="1em"
role="presentation"
viewBox="0 0 24 24"
width="1em"
{...otherProps}
>
<path
d="m19.92 8.95-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeMiterlimit={10}
strokeWidth={strokeWidth}
/>
</svg>
);
Loading

0 comments on commit 0790967

Please sign in to comment.