blog + sidebar

This commit is contained in:
hamid zarghami
2025-04-20 16:30:55 +03:30
parent 3aaea96c2a
commit 486bf6a0a7
5 changed files with 23 additions and 9 deletions
+15 -1
View File
@@ -6,6 +6,7 @@ import { useSharedStore } from './store/sharedStore'
import { clx } from '../helpers/utils'
import Image from 'next/image'
import { usePathname } from 'next/navigation'
import Button from '@/components/Button'
const SideBar: FC = () => {
@@ -35,7 +36,7 @@ const SideBar: FC = () => {
<Image src={'/images/logo.svg'} width={140} height={40} alt='logo' className='w-[140px]' />
</div>
<div className='flex-1 h-full overflow-y-auto no-scrollbar'>
<div className='flex-1 flex flex-col h-full overflow-y-auto no-scrollbar'>
<div className='mt-10 px-12 text-header text-sm font-normal'>
منو
</div>
@@ -90,6 +91,19 @@ const SideBar: FC = () => {
link={'/blogs'}
/>
<SideBarItem
icon={<DocumentText variant={isActive('contact') ? 'Bold' : 'Outline'} color={isActive('contact') ? 'black' : '#8C90A3'} size={iconSizeSideBar} />}
title={'تماس با ما'}
isActive={isActive('contact')}
link={'/contact'}
/>
</div>
<div className='flex-1 flex items-end justify-center px-12'>
<Button
label='ورود | ثبت نام'
/>
</div>
</div>