base create and list

This commit is contained in:
hamid zarghami
2025-08-31 12:26:26 +03:30
parent 54c3c59a12
commit 6191fb15a4
18 changed files with 1380 additions and 11 deletions
+5 -2
View File
@@ -1,10 +1,12 @@
import { type FC } from 'react'
import SideBar from '../shared/SideBar'
import Header from '../shared/Header'
import { Routes } from 'react-router-dom'
import { Route, Routes } from 'react-router-dom'
import Footer from '../shared/Footer'
import { clx } from '../helpers/utils'
import { useSharedStore } from '../shared/store/sharedStore'
import Create from '../pages/category/Create'
import List from '../pages/category/List'
const MainRouter: FC = () => {
@@ -23,7 +25,8 @@ const MainRouter: FC = () => {
)}>
<div className='pb-20'>
<Routes>
<Route path='/category/create' element={<Create />} />
<Route path='/category/list' element={<List />} />
</Routes>
</div>
</div>