fix: eslint rules
This commit is contained in:
		
							
								
								
									
										2
									
								
								.env
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								.env
									
									
									
									
									
								
							| @@ -1,2 +1,2 @@ | |||||||
| # NEXT_PUBLIC_BASE_URL=https://api-staging.cariparkir.co.id | # NEXT_PUBLIC_BASE_URL=https://api-staging.cariparkir.co.id | ||||||
| NEXT_PUBLIC_BASE_URL=https://9d52-101-255-119-166.ap.ngrok.io | NEXT_PUBLIC_BASE_URL=https://d2cc-101-255-119-166.ap.ngrok.io | ||||||
|   | |||||||
| @@ -12,14 +12,16 @@ const NotAvailable = observer(() => { | |||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     const title = `"Lippo Mall Kemang"` | ||||||
|  |  | ||||||
|     return ( |     return ( | ||||||
|         <> |         <> | ||||||
|             <div className="mx-auto flex flex-col"> |             <div className="mx-auto flex flex-col"> | ||||||
|                 <div className="mt-9"> |                 <div className="mt-9"> | ||||||
|                     <p className={'text-[#FFB500] font-bold text-2xl lg:text-3xl text-center'}>Pesan LOCKEY</p> |                     <p className={'text-[#FFB500] font-bold text-2xl lg:text-3xl text-center'}>Pesan LOCKEY</p> | ||||||
|                     <p className={'font-bold text-xl lg:text-2xl text-center mt-4'}>"Lippo Mall Kemang"</p> |                     <p className={'font-bold text-xl lg:text-2xl text-center mt-4'}>{title}</p> | ||||||
|                 </div> |                 </div> | ||||||
|                 <Image src={'/assets/backgrounds/not_available.svg'} preview={false} /> |                 <Image src={'/assets/backgrounds/not_available.svg'} preview={false} alt={'image not found'} /> | ||||||
|                 <div className="mx-auto px-4 text-center mb-3 mt-4 sm:px-16"> |                 <div className="mx-auto px-4 text-center mb-3 mt-4 sm:px-16"> | ||||||
|                     <p className={'font-bold text-base md:text-lg lg:text-xl mb-3'}>Maaf, saat ini LOCKEY sudah terpesan semua.</p> |                     <p className={'font-bold text-base md:text-lg lg:text-xl mb-3'}>Maaf, saat ini LOCKEY sudah terpesan semua.</p> | ||||||
|                     <p className="font-normal text-base md:text-lg lg:text-xl mb-4">Silahkan mencoba beberapa saat lagi. Atau install aplikasi CariParkir untuk pesan LOCKEY lebih mudah dan dapatkan penawaran menarik lainnya!</p> |                     <p className="font-normal text-base md:text-lg lg:text-xl mb-4">Silahkan mencoba beberapa saat lagi. Atau install aplikasi CariParkir untuk pesan LOCKEY lebih mudah dan dapatkan penawaran menarik lainnya!</p> | ||||||
|   | |||||||
| @@ -38,13 +38,13 @@ const PolicyTerms = observer(() => { | |||||||
|             label: `Syarat & Ketentuan`, |             label: `Syarat & Ketentuan`, | ||||||
|             key: '1', |             key: '1', | ||||||
|             children: [ |             children: [ | ||||||
|                 <p className="font-bold text-xs md:text-sm lg:text-base text-center mb-2" > Syarat - syarat & Ketentuan[Layanan] <i> (Terms & Condition of Serfices)</i></p>, |                 <p className="font-bold text-xs md:text-sm lg:text-base text-center mb-2" > Syarat - syarat & Ketentuan[Layanan] <i> (Terms & Condition of Serfices)</i></p>, | ||||||
|                 <p className="font-bold text-xs md:text-base mb-7">PENTING: <span className="font-normal text-xs md:text-sm">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</span></p>, |                 <p className="font-bold text-xs md:text-base mb-7">PENTING: <span className="font-normal text-xs md:text-sm">Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</span></p>, | ||||||
|                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, |                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, | ||||||
|                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, |                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, | ||||||
|                 <p className="font-bold text-xs md:text-base">Ketentuan Umum</p>, |                 <p className="font-bold text-xs md:text-base">Ketentuan Umum</p>, | ||||||
|                 general_requirements.map(value => ( |                 general_requirements.map((value, index) => ( | ||||||
|                     <div className="flex"> |                     <div className="flex" key={index}> | ||||||
|                         <p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.key}.</p> |                         <p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.key}.</p> | ||||||
|                         <p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.value}</p> |                         <p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.value}</p> | ||||||
|                     </div> |                     </div> | ||||||
| @@ -60,10 +60,10 @@ const PolicyTerms = observer(() => { | |||||||
|                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, |                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, | ||||||
|                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, |                 <p className="font-normal text-xs md:text-sm mb-7">Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged</p>, | ||||||
|                 <p className="font-bold text-xs md:text-base">Ketentuan Umum</p>, |                 <p className="font-bold text-xs md:text-base">Ketentuan Umum</p>, | ||||||
|                 general_requirements.map(value => ( |                 general_requirements.map((value,index) => ( | ||||||
|                     <div className="flex"> |                     <div className="flex" key={index}> | ||||||
|                         <p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.key}.</p> |                         <p className="font-normal text-xs md:text-sm mb-0">{value?.key}.</p> | ||||||
|                         <p key={value?.key} className="font-normal text-xs md:text-sm mb-0">{value?.value}</p> |                         <p className="font-normal text-xs md:text-sm mb-0">{value?.value}</p> | ||||||
|                     </div> |                     </div> | ||||||
|                 )) |                 )) | ||||||
|             ], |             ], | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user