fix design

This commit is contained in:
hamid zarghami
2025-04-26 16:09:21 +03:30
parent 849235ae3c
commit c017289d50
6 changed files with 20 additions and 13 deletions
+6 -6
View File
@@ -35,8 +35,8 @@ const DetailService: FC<{ id: string }> = ({ id }) => {
{getDetailService.data?.data.danakService && (
<ServiceHeader data={getDetailService.data.data.danakService} />
)}
<div className='mt-8 flex xl:flex-row flex-col overflowX justify-between items-center xl:gap-8 gap-5'>
<div className='bg-white flex xl:min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='mt-8 flex overflowX justify-between items-center xl:gap-8 gap-5'>
<div className='bg-white flex min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='text-description xl:text-xs text-[11px]'>
توسعه شرکت
</div>
@@ -44,7 +44,7 @@ const DetailService: FC<{ id: string }> = ({ id }) => {
دانک
</div>
</div>
<div className='bg-white flex xl:min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='bg-white flex min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='text-description xl:text-xs text-[11px]'>
تعداد کاربر
</div>
@@ -52,7 +52,7 @@ const DetailService: FC<{ id: string }> = ({ id }) => {
+{getDetailService?.data?.data?.danakService?.userCount}
</div>
</div>
<div className='bg-white flex xl:min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='bg-white flex min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='text-description xl:text-xs text-[11px]'>
سال تولید
</div>
@@ -61,7 +61,7 @@ const DetailService: FC<{ id: string }> = ({ id }) => {
moment(getDetailService.data.data.danakService.createdAt).format('jYYYY/jMM/jDD') : ''}
</div>
</div>
<div className='bg-white flex xl:min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='bg-white flex min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='text-description xl:text-xs text-[11px]'>
زبان برنامه
</div>
@@ -69,7 +69,7 @@ const DetailService: FC<{ id: string }> = ({ id }) => {
{getDetailService?.data?.data?.danakService?.serviceLanguage === 'fa' ? 'فارسی' : 'انگلیسی'}
</div>
</div>
<div className='bg-white flex xl:min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='bg-white flex min-w-[127px] w-full flex-1 flex-col justify-center items-center h-[109px] rounded-2xl py-6 px-4'>
<div className='text-description xl:text-xs text-[11px]'>
امتیاز
</div>
+2 -2
View File
@@ -44,7 +44,7 @@ const Products: FC = () => {
/>
</Link>
<div className='absolute bottom-0 left-0 w-full modalGlass3 h-[150px] rounded-b-3xl text-white p-4'>
<div className='absolute bottom-0 left-0 w-full modalGlass3 min-h-[150px] rounded-b-3xl text-white p-4'>
<div className='flex justify-between items-center'>
<h6 className='text-xs'>
{item.name}
@@ -56,7 +56,7 @@ const Products: FC = () => {
</div>
<div className='mt-6 flex justify-between items-end'>
<div className='flex gap-4'>
<div className='size-14 overflow-hidden rounded-2xl'>
<div className='size-14 min-w-14 overflow-hidden rounded-2xl'>
<Image src={item.icon} alt='product' width={1080} height={1080} className='w-full min-w-14 h-full object-cover' />
</div>
<div>