go to dashboard

This commit is contained in:
hamid zarghami
2025-05-08 09:06:36 +03:30
parent 2b5a11aab0
commit 3980c5a992
+11 -1
View File
@@ -8,7 +8,7 @@ import Image from 'next/image'
import { usePathname } from 'next/navigation'
import Button from '@/components/Button'
import Link from 'next/link'
import { LOGIN_URL } from '@/config/const'
import { CONSOLE_URL, LOGIN_URL } from '@/config/const'
const SideBar: FC = () => {
@@ -114,6 +114,16 @@ const SideBar: FC = () => {
</Link>
</div>
)
else
return (
<div className='flex-1 flex items-end justify-center px-12'>
<Link className='w-full' href={`${CONSOLE_URL}/dashboard`}>
<Button
label='ناحیه کاربری'
/>
</Link>
</div>
)
})()
)}