go to dashboard
This commit is contained in:
+11
-1
@@ -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>
|
||||
)
|
||||
})()
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user