File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -328,12 +328,12 @@ const promoData: Record<string, PromoData> = {
328328 link : "https://audio.com/" ,
329329 } ,
330330 popupOptions : {
331- title : "Keep your audio safe in the cloud" ,
331+ title : "Leave before setting up cloud storage? " ,
332332 routeAllowlist : [ "/download" , "/post-download" , "/cloud-saving" ] ,
333333 displayMode : "modal" ,
334334 promoImageSrc : AUDIO_COM_EXIT_POPUP_IMAGE_SRC ,
335335 promoImageAlt : "Audio.com promotion" ,
336- dismissText : "Not now " ,
336+ dismissText : "Leave site " ,
337337 policy : {
338338 minDwellMs : 3000 ,
339339 } ,
Original file line number Diff line number Diff line change @@ -396,23 +396,28 @@ const ExitIntentPopup: React.FC<ExitIntentPopupProps> = ({ requestPath }) => {
396396 const body = popupBody ?? selectedPromo . message ;
397397 const promoImageClassName =
398398 displayMode === "toast"
399- ? "mb-3 h-[5rem] w-full rounded-md object-cover object-center"
400- : "mb-3 h-auto w-full rounded-md" ;
399+ ? "h-[5rem] w-full rounded-md object-cover object-center"
400+ : "h-auto w-full rounded-md" ;
401401
402402 const content = (
403- < div className = "w-[calc(100%-2rem)] max-w-md rounded-lg border border-gray-300 bg-white p-4 shadow-lg" >
403+ < div className = "flex w-[calc(100%-2rem)] max-w-[30rem] flex-col gap-4 rounded-lg border border-gray-300 bg-white px-8 py-9 shadow-lg" >
404404 { promoImageSrc && (
405405 < img
406406 src = { promoImageSrc }
407407 alt = { promoImageAlt ?? "" }
408408 className = { promoImageClassName }
409409 />
410410 ) }
411- < p id = "exit-intent-title" className = "text-lg font-semibold text-gray-900" >
412- { title }
413- </ p >
414- < p className = "mt-2 text-gray-700" > { body } </ p >
415- < div className = "mt-4 flex gap-2 justify-end" >
411+ < div className = "flex flex-col gap-2" >
412+ < p
413+ id = "exit-intent-title"
414+ className = "text-lg font-semibold text-gray-900"
415+ >
416+ { title }
417+ </ p >
418+ < p className = "text-gray-700" > { body } </ p >
419+ </ div >
420+ < div className = "mt-5 flex justify-end gap-2" >
416421 < button
417422 type = "button"
418423 onClick = { ( ) => handleDismiss ( "button" ) }
You can’t perform that action at this time.
0 commit comments