@@ -10,17 +10,18 @@ type LocationBtnProps = {
1010
1111function LocationBtn ( { innerText, href, className, ...props } : LocationBtnProps ) {
1212 return (
13- < a
14- href = { href }
15- target = "_blank"
16- className = { cn (
17- className ,
18- "border-[1px] border-white text-[#207ea7] bg-[#cce8f9]/35 hover:bg-[#cce8f9]/100 transition duration-300 ease-in-out rounded-full text-2xl uppercase px-10 py-4 mx-4" ,
19- ) }
20- { ...props }
21- >
22- { innerText }
23- </ a >
13+ < div className = { cn ( className , "w-full max-w-sm px-2 py-2 text-center" ) } >
14+ < a
15+ href = { href }
16+ target = "_blank"
17+ className = { cn (
18+ "border-[1px] border-white text-[#207ea7] bg-[#cce8f9]/35 hover:bg-[#cce8f9]/100 transition duration-300 ease-in-out rounded-full text-2xl uppercase px-10 py-4 mx-4 w-full inline-block sm:w-auto" ,
19+ ) }
20+ { ...props }
21+ >
22+ { innerText }
23+ </ a >
24+ </ div >
2425 )
2526}
2627
@@ -34,7 +35,7 @@ export function Location({ className, ...props }: React.ComponentProps<"div">) {
3435 < div className = "flex-row" >
3536 < p
3637 className = { cn (
37- "px-60 my-13 text-center text-[#207ea7] font-medium text-[32px]/[100%]" ,
38+ "px-60 my-13 flex-1/2 text-center text-[#207ea7] font-medium text-[32px]/[100%]" ,
3839 darkerGrotesk . className ,
3940 ) }
4041 >
@@ -44,8 +45,15 @@ export function Location({ className, ...props }: React.ComponentProps<"div">) {
4445 reimbursements for participants< sup > *</ sup > travelling from elsewhere — so getting here is one less thing to
4546 worry about.
4647 </ p >
47- < p > * see FAQs for details.</ p >
48- < div className = { cn ( "flex justify-center items-center px-4 my-10" ) } >
48+ < p
49+ className = { cn (
50+ "px-60 my-5 text-center text-[#207ea7] font-medium text-[32px]/[100%]" ,
51+ darkerGrotesk . className ,
52+ ) }
53+ >
54+ * see FAQs for details.
55+ </ p >
56+ < div className = { cn ( "flex flex-row flex-wrap justify-center items-center align-middle px-50 my-10 w-full" ) } >
4957 < LocationBtn href = { MAPS_LINK } innerText = "Google Maps" />
5058 < LocationBtn href = { SU_LINK } innerText = "Book Coach Tickets" />
5159 </ div >
0 commit comments