home page

This commit is contained in:
hamid zarghami
2024-12-28 12:32:45 +03:30
parent 4c224236da
commit 50df161858
18 changed files with 303 additions and 6 deletions
+10
View File
@@ -1,12 +1,22 @@
import { FC } from 'react'
import SideBar from '../shared/SideBar'
import Header from '../shared/Header'
import { Route, Routes } from 'react-router-dom'
import { Pages } from '../config/Pages'
import Home from '../pages/home/Home'
const MainRouter: FC = () => {
return (
<div className='p-4'>
<SideBar />
<Header />
<div className='flex-1 ms-[269px] mt-[66px]'>
<div className='pt-8'>
<Routes>
<Route path={Pages.dashboard} element={<Home />} />
</Routes>
</div>
</div>
</div>
)
}