fix bug structure

This commit is contained in:
hamid zarghami
2025-08-26 22:35:06 +03:30
parent c69d4ea60b
commit 2bc32e9d08
18 changed files with 726 additions and 192 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
import { type FC } from 'react'
import SideBar from '../shared/SideBar'
import Header from '../shared/Header'
import { Routes, Route } from 'react-router-dom'
import { Routes } from 'react-router-dom'
import Footer from '../shared/Footer'
import { clx } from '../helpers/utils'
import { useSharedStore } from '../shared/store/sharedStore'
@@ -23,8 +23,7 @@ const MainRouter: FC = () => {
)}>
<div className='pb-20'>
<Routes>
<Route path="/" element={<div className="p-8 text-center">خوش آمدید - صفحه اصلی</div>} />
<Route path="/dashboard" element={<div className="p-8 text-center">داشبورد</div>} />
</Routes>
</div>
</div>