avatar url
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-07-17 20:20:12 +03:30
parent f61a1db4a7
commit b10106fd95
21 changed files with 244 additions and 81 deletions
+10 -3
View File
@@ -1,14 +1,21 @@
import { type FC } from 'react'
import { type ProductType } from '@/pages/request/type/Types'
import PresignedImage from '@/components/PresignedImage'
const ServiceItem: FC<{ product: ProductType }> = ({ product }) => {
return (
<div>
<div className='size-20 rounded-full bg-gray-200 border-[3px] border-primary'>
<img src={product.images?.[0]} alt={product.title} className='w-full h-full object-cover' />
<div className='size-20 rounded-full bg-gray-200 border-[3px] border-primary overflow-hidden'>
{product.images?.[0] ? (
<PresignedImage
src={product.images[0]}
alt={product.title}
className='w-full h-full object-cover'
/>
) : null}
</div>
</div>
)
}
export default ServiceItem
export default ServiceItem