diff --git a/src/config/Paths.tsx b/src/config/Paths.tsx index e1a3751..161e066 100644 --- a/src/config/Paths.tsx +++ b/src/config/Paths.tsx @@ -8,6 +8,9 @@ export const Paths = { order: { list: '/order/list' }, + features: { + list: '/features/list' + }, home: '/home', myOrders: '/my-orders', proformaInvoice: '/proforma-invoice', diff --git a/src/pages/Features/List.tsx b/src/pages/Features/List.tsx new file mode 100644 index 0000000..d6a0cc9 --- /dev/null +++ b/src/pages/Features/List.tsx @@ -0,0 +1,90 @@ +import Button from '@/components/Button' +import Filters from '@/components/Filters' +import SwitchComponent from '@/components/Switch' +import Table from '@/components/Table' +import { AddSquare, Edit } from 'iconsax-react' +import { type FC } from 'react' + +const FeaturesList: FC = () => { + return ( +
+
+

+ ویژگی ها +

+ + +
+ +
+ { }} + /> +
+ +
+ { + return ( + { }} + /> + ) + } + }, + { + key: 'actions', + title: '', + render: () => { + return ( + + ) + } + }, + ]} + data={[ + { + id: 1, + title: 'رنگ', + items: 'آبی، سبز، قرمز', + status: 'فعال', + } + ]} + /> + + + ) +} + +export default FeaturesList \ No newline at end of file diff --git a/src/router/MainRouter.tsx b/src/router/MainRouter.tsx index 06af5b7..c9762ae 100644 --- a/src/router/MainRouter.tsx +++ b/src/router/MainRouter.tsx @@ -8,6 +8,7 @@ import ProformaInvoice from '@/pages/invoice/ProformaInvoice' import RequestList from '@/pages/requests/RequestList' import ProductList from '@/pages/product/List' import OrdersList from '@/pages/order/List' +import FeaturesList from '@/pages/Features/List' const MainRouter: FC = () => { return ( @@ -26,6 +27,7 @@ const MainRouter: FC = () => { } /> } /> } /> + } />