structure category product

This commit is contained in:
hamid zarghami
2026-01-24 09:24:18 +03:30
parent 2eba93984c
commit 2995bb86b4
12 changed files with 109 additions and 2 deletions
+6
View File
@@ -25,6 +25,8 @@ import CriticismsDetail from '@/pages/criticisms/Detail'
import LearningList from '@/pages/learning/List'
import LearningCreate from '@/pages/learning/Create'
import LearningCategory from '@/pages/learning/Category'
import CategoryList from '@/pages/product/category/List'
import CreateCategory from '@/pages/learning/components/CreateCategory'
const MainRouter: FC = () => {
return (
<div className='p-4 overflow-hidden'>
@@ -40,8 +42,12 @@ const MainRouter: FC = () => {
<Route path={Paths.perfomaInvoice.list} element={<ProformaInvoice />} />
<Route path={Paths.perfomaInvoice.detail + ':id'} element={<DetailPerfomaInvoice />} />
<Route path={Paths.requests.list} element={<RequestList />} />
<Route path={Paths.product.list} element={<ProductList />} />
<Route path={Paths.product.create} element={<CreateProduct />} />
<Route path={Paths.product.category.list} element={<CategoryList />} />
<Route path={Paths.product.category.create} element={<CreateCategory />} />
<Route path={Paths.order.list} element={<OrdersList />} />
<Route path={Paths.features.list} element={<FeaturesList />} />
<Route path={Paths.features.create} element={<CreateFeature />} />