fix degisn bug

This commit is contained in:
hamid zarghami
2025-03-06 09:11:38 +03:30
parent 7430c9f246
commit cfb6c330cf
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ define(['./workbox-e7681877'], (function (workbox) { 'use strict';
"revision": "3ca0b8505b4bec776b69afdba2768812" "revision": "3ca0b8505b4bec776b69afdba2768812"
}, { }, {
"url": "index.html", "url": "index.html",
"revision": "0.rftf057ulb" "revision": "0.se5chuts08o"
}], {}); }], {});
workbox.cleanupOutdatedCaches(); workbox.cleanupOutdatedCaches();
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
+1 -1
View File
@@ -74,7 +74,7 @@ const AnnouncementtList: FC = () => {
getAnnoncements.data?.data?.announcements?.map((item: AnnoncementItemType) => { getAnnoncements.data?.data?.announcements?.map((item: AnnoncementItemType) => {
return ( return (
<div onClick={() => handleChange(item)} className={clx( <div onClick={() => handleChange(item)} className={clx(
'p-4 rounded-2xl', 'p-4 border-b',
item.id === itemSelected?.id && 'bg-[#F8F9FB]' item.id === itemSelected?.id && 'bg-[#F8F9FB]'
)}> )}>
<div className='flex justify-between'> <div className='flex justify-between'>
+2 -2
View File
@@ -37,12 +37,12 @@ const Home: FC = () => {
: :
<div className='w-full flex gap-6'> <div className='w-full flex gap-6'>
<div className='flex-1'> <div className='flex-1'>
<Carousel autoplay className="rounded-xl carousel overflow-hidden h-fit dltr z-[1]" placeholder="" onPointerEnterCapture={() => { }} onPointerLeaveCapture={() => { }} > <Carousel autoplay className="rounded-3xl carousel overflow-hidden h-fit dltr z-[1]" placeholder="" onPointerEnterCapture={() => { }} onPointerLeaveCapture={() => { }} >
{ {
getAds.data?.data?.ads?.map((item: AdsItemType) => { getAds.data?.data?.ads?.map((item: AdsItemType) => {
return ( return (
<div key={item.id} className='relative drtl'> <div key={item.id} className='relative drtl'>
<img src={item.imageUrl} className='w-full rounded-xl min-h-[190px] max-h-[300px] h-full object-cover' /> <img src={item.imageUrl} className='w-full rounded-3xl min-h-[190px] max-h-[300px] h-full object-cover' />
<div className='absolute bg-black bg-opacity-20 size-full top-0 right-0 py-6 px-8 flex flex-col justify-between'> <div className='absolute bg-black bg-opacity-20 size-full top-0 right-0 py-6 px-8 flex flex-col justify-between'>
<div></div> <div></div>
+1 -1
View File
@@ -96,7 +96,7 @@ const DetailService: FC = () => {
getDetailService.data?.data?.purchased && getDetailService.data?.data?.purchased &&
<CreateReview refetch={() => getDetailService.refetch()} /> <CreateReview refetch={() => getDetailService.refetch()} />
} }
<div className='flex-1 max-w-full bg-white p-6 rounded-3xl'> <div className='flex-1 w-full max-w-full bg-white p-6 rounded-3xl'>
<div className='text-sm'> <div className='text-sm'>
{t('service.users_comments')} {t('service.users_comments')}
</div> </div>
+2 -2
View File
@@ -33,12 +33,12 @@ const OtherServices: FC = () => {
<PageLoading /> <PageLoading />
: :
<Fragment> <Fragment>
<Carousel autoplay className="rounded-xl overflow-hidden h-fit dltr z-[1]" placeholder="" onPointerEnterCapture={() => { }} onPointerLeaveCapture={() => { }} > <Carousel autoplay className="rounded-3xl overflow-hidden h-fit dltr z-[1]" placeholder="" onPointerEnterCapture={() => { }} onPointerLeaveCapture={() => { }} >
{ {
getAds.data?.data?.ads?.map((item: AdsItemType) => { getAds.data?.data?.ads?.map((item: AdsItemType) => {
return ( return (
<div key={item.id} className='relative drtl'> <div key={item.id} className='relative drtl'>
<img src={item.imageUrl} className='w-full rounded-xl min-h-[190px] max-h-[300px] h-full object-cover' /> <img src={item.imageUrl} className='w-full rounded-3xl min-h-[190px] max-h-[300px] h-full object-cover' />
<div className='absolute bg-black bg-opacity-20 size-full top-0 right-0 py-6 px-8 flex flex-col justify-between'> <div className='absolute bg-black bg-opacity-20 size-full top-0 right-0 py-6 px-8 flex flex-col justify-between'>
<div></div> <div></div>
@@ -38,7 +38,7 @@ const ServiceHeader: FC<Props> = (props: Props) => {
return ( return (
<div className='w-full p-6 bg-white rounded-3xl flex xl:flex-row flex-col items-end xl:justify-between'> <div className='w-full p-6 bg-white rounded-3xl flex xl:flex-row flex-col items-end xl:justify-between'>
<div className='flex xl:gap-8 gap-4'> <div className='flex xl:gap-8 gap-4'>
<div className='xl:size-[70px] min-w-[50px] size-[50px] rounded-xl'> <div className='xl:size-[70px] xl:min-w-[70px] min-w-[50px] size-[50px] rounded-xl'>
<img src={data?.icon} className='w-full h-full rounded-xl' /> <img src={data?.icon} className='w-full h-full rounded-xl' />
</div> </div>
<div> <div>