sidebar name

This commit is contained in:
hamid zarghami
2025-05-07 08:53:41 +03:30
parent 00d46d26b9
commit 7e58aa0d3d
2 changed files with 19 additions and 3 deletions
+15 -1
View File
@@ -3,10 +3,11 @@ import { useGetPlans } from './hooks/useSupportData'
import { useTranslation } from 'react-i18next'
import Td from '../../components/Td'
import { NumberFormat } from '../../config/func'
import { Edit } from 'iconsax-react'
import { Add, Edit } from 'iconsax-react'
import { Link } from 'react-router-dom'
import { Pages } from '../../config/Pages'
import Delete from './components/Delete'
import Button from '../../components/Button'
const SupportList: FC = () => {
const { t } = useTranslation('global')
@@ -18,6 +19,19 @@ const SupportList: FC = () => {
<div>
{t('support.plans')}
</div>
<Link to={Pages.support.create}>
<Button
className='w-fit px-6'
>
<div className='flex gap-2 items-center'>
<Add size={20} color='white' />
<div>
{t('support.new_plan')}
</div>
</div>
</Button>
</Link>
</div>
<div className='relative overflow-x-auto rounded-3xl mt-9 w-full'>