show storage

This commit is contained in:
hamid zarghami
2025-07-12 10:09:11 +03:30
parent 6d564e4045
commit 0cf98ee67c
15 changed files with 223 additions and 19 deletions
+2 -9
View File
@@ -2,16 +2,9 @@ import { FC } from 'react'
import SideBar from './SideBar'
import AppRouter from '@/router/AppRouter'
import Header from './Header'
import Button from '@/components/Button'
import { Add } from 'iconsax-react'
import { useTranslation } from 'react-i18next'
import { useSharedStore } from './store/sharedStore'
const Main: FC = () => {
const { t } = useTranslation()
const { setOpenSidebar, setOpenNewMessage } = useSharedStore()
return (
<div className='p-2 md:p-4 overflow-hidden'>
<SideBar />
@@ -24,7 +17,7 @@ const Main: FC = () => {
</div>
</div>
<div className='flex fixed bottom-4 xl:hidden right-0 justify-center mt-10 md:mt-14 px-4'>
{/* <div className='flex fixed bottom-4 xl:hidden right-0 justify-center mt-10 md:mt-14 px-4'>
<Button
className='bg-secondary font-normal text-primary w-fit px-4 md:px-6 text-sm'
onClick={() => {
@@ -37,7 +30,7 @@ const Main: FC = () => {
<div>{t('sidebar.new_message')}</div>
</div>
</Button>
</div>
</div> */}
</div>
)