@@ -11,68 +11,75 @@ import contactSuccessHero from "../../assets/contact-success-hero.png";
1111 <main class =" min-h-screen bg-gray-100" >
1212 <div class =" w-full h-screen flex items-center justify-center" >
1313 <Section className =" !py-0 !px-7 flex items-center justify-center w-full" >
14- <div class =" max-w-[1440px] w-full flex flex-col lg:flex-row items-center justify-center gap-7" >
15- <!-- Content Column -->
16- <div class =" w-full max-w-[501px] flex flex-col gap-7 text-center lg:text-left" >
17- <!-- Main Content -->
18- <div class =" flex flex-col gap-7" >
19- <!-- Header -->
20- <div class =" flex flex-col gap-4" >
21- <h1 class =" font-medium text-4xl md:text-[54px] leading-[1.1] text-secondary" >
22- You're All Set!
23- </h1 >
24- </div >
25-
26- <!-- Description -->
27- <p class =" text-lg md:text-[22px] leading-[1.45] text-secondary" >
28- <span id =" meeting-confirmation" >
29- Your meeting is confirmed.<br >
30- A calendar invite is on its way to your inbox.<br >
31- </span >
32- Talk soon — we're looking forward to it.
33- </p >
34-
35- <!-- Button -->
36- <div class =" flex flex-col gap-[10px]" >
37- <a
38- href =" /"
39- class =" flex items-center justify-center gap-[10px] px-[25px] py-4 bg-crocoder-yellow rounded-md font-medium text-base leading-[1.8] tracking-[0.02em] uppercase text-contrast hover:opacity-90 w-fit mx-auto lg:mx-0"
40- >
41- Back to homepage
42- </a >
14+ <div
15+ class =" max-w-[1440px] w-full flex flex-col lg:flex-row items-center justify-center gap-7"
16+ >
17+ <!-- Content Column -->
18+ <div
19+ class =" w-full max-w-[501px] flex flex-col gap-7 text-center lg:text-left"
20+ >
21+ <!-- Main Content -->
22+ <div class =" flex flex-col gap-7" >
23+ <!-- Header -->
24+ <div class =" flex flex-col gap-4" >
25+ <h1
26+ class =" font-medium text-4xl md:text-[54px] leading-[1.1] text-secondary"
27+ >
28+ You're All Set!
29+ </h1 >
30+ </div >
31+
32+ <!-- Description -->
33+ <p class =" text-lg md:text-[22px] leading-[1.45] text-secondary" >
34+ <span id =" meeting-confirmation" >
35+ Your meeting is confirmed.<br />
36+ A calendar invite is on its way to your inbox.<br />
37+ </span >
38+ Talk soon — we're looking forward to it.
39+ </p >
40+
41+ <!-- Button -->
42+ <div class =" flex flex-col gap-[10px]" >
43+ <a
44+ href =" /"
45+ class =" flex items-center justify-center gap-[10px] px-[25px] py-4 bg-crocoder-yellow rounded-md font-medium text-base leading-[1.8] tracking-[0.02em] uppercase text-contrast hover:opacity-90 w-fit mx-auto lg:mx-0"
46+ >
47+ Back to homepage
48+ </a >
49+ </div >
4350 </div >
4451 </div >
45- </ div >
46-
47- <!-- Image Container -->
48- < div class =" hidden md:flex w-full max-w-[706px] items-center justify-center" >
49- < div class = " w-full h-[529px] flex items-center justify-center " >
50- <Image
51- src = { contactSuccessHero }
52- alt = " Success illustration "
53- class = " w-full h-full object-contain "
54- loading = " eager "
55- fetchpriority = " high "
56- width = { 1652 }
57- height = { 939 }
58- widths = { [ 320 , 480 , 640 , 800 , 1200 ] }
59- sizes = " (max-width: 768px) 100vw, (max-width: 1024px) 50vw, 706px "
60- / >
52+
53+ <!-- Image Container -->
54+ < div
55+ class =" hidden md:flex w-full max-w-[706px] items-center justify-center"
56+ >
57+ <div class = " w-full h-[529px] flex items-center justify-center " >
58+ < Image
59+ src = { contactSuccessHero }
60+ alt = " Success illustration "
61+ class = " w-full h-full object-contain max-w-[640px] "
62+ loading = " eager "
63+ fetchpriority = " high "
64+ widths = { [ 640 , 720 ] }
65+ sizes = " (max-width: 1024px) 720px, calc(50vw-56px) "
66+ />
67+ </ div >
6168 </div >
6269 </div >
6370 </Section >
6471 </div >
6572 </main >
66- </Base >
6773
68- <script is:inline >
69- // Check if the page was accessed from Calcom
70- const urlParams = new URLSearchParams(window.location.search);
71- const src = urlParams.get('src');
72- const meetingConfirmation = document.getElementById('meeting-confirmation');
73-
74- if (src !== 'calcom' && meetingConfirmation) {
75- // Hide only the meeting-specific text if not from Calcom
76- meetingConfirmation.style.display = 'none';
77- }
78- </script >
74+ <script is:inline >
75+ // Check if the page was accessed from Calcom
76+ const urlParams = new URLSearchParams(window.location.search);
77+ const src = urlParams.get("src");
78+ const meetingConfirmation = document.getElementById("meeting-confirmation");
79+
80+ if (src !== "calcom" && meetingConfirmation) {
81+ // Hide only the meeting-specific text if not from Calcom
82+ meetingConfirmation.style.display = "none";
83+ }
84+ </script ></Base
85+ >
0 commit comments