quik acess

This commit is contained in:
hamid zarghami
2025-02-25 12:24:43 +03:30
parent 24a5461d2a
commit 221bcc052c
14 changed files with 357 additions and 103 deletions
+3 -2
View File
@@ -7,7 +7,8 @@ import { useTranslation } from 'react-i18next'
import { ItemServiceType } from '../pages/service/types/ServiecTypes'
type Props = {
item: ItemServiceType
item: ItemServiceType,
className?: string,
}
const ServiceItem: FC<Props> = (props: Props) => {
@@ -16,7 +17,7 @@ const ServiceItem: FC<Props> = (props: Props) => {
const { item } = props
return (
<div className='flex-1 min-w-[45%] xl:min-w-[30%] bg-white rounded-3xl xl:p-6 p-4'>
<div className={`flex-1 min-w-[45%] xl:min-w-[30%] bg-white rounded-3xl xl:p-6 p-4 ${props.className}`}>
<div className='flex gap-2 items-center'>
<div className='xl:size-[50px] size-10 overflow-hidden rounded-xl'>
<img src={item.icon} alt={item.name} className='w-full h-full' />