@@ -10,7 +10,7 @@ type LocationBtnProps = {
1010
1111function LocationBtn ( { innerText, href, className, ...props } : LocationBtnProps ) {
1212 return (
13- < div className = { cn ( className , "w-full max-w-sm px-2 py-2 text-center" ) } >
13+ < div className = { cn ( className , "px-2 py-2 text-center flex justify -center" ) } >
1414 < a
1515 href = { href }
1616 target = "_blank"
@@ -31,32 +31,24 @@ export function Location({ className, ...props }: React.ComponentProps<"div">) {
3131 const MAPS_LINK = "https://maps.app.goo.gl/H3qypQFBy88CQa7N9"
3232
3333 return (
34- < div className = { cn ( className ) } { ...props } >
35- < div className = "flex-row " >
34+ < div className = { cn ( className , "flex flex-col" ) } { ...props } >
35+ < div className = "container max-w-[80rem] text-center " >
3636 < p
37- className = { cn (
38- "px-60 my-13 flex-1/2 text-center text-[#207ea7] font-medium text-[32px]/[100%]" ,
39- darkerGrotesk . className ,
40- ) }
37+ className = { cn ( "flex-1/2 text-center text-[#207ea7] font-medium text-[32px]/[100%]" , darkerGrotesk . className ) }
4138 >
4239 DurHack takes place in the Teaching and Learning Centre at Durham University. It’s just a short walk or bus
4340 ride from Durham Train Station, with direct connections to major UK cities. To make your journey easier, we
4441 are coordinating coaches to the event from Leeds, Manchester, Sheffield and Nottingham. We also offer travel
4542 reimbursements for participants< sup > *</ sup > travelling from elsewhere — so getting here is one less thing to
4643 worry about.
4744 </ p >
48- < p
49- className = { cn (
50- "px-60 my-5 text-center text-[#207ea7] font-medium text-[32px]/[100%]" ,
51- darkerGrotesk . className ,
52- ) }
53- >
45+ < p className = { cn ( "text-center text-[#207ea7] font-medium text-[32px]/[100%]" , darkerGrotesk . className ) } >
5446 * see FAQs for details.
5547 </ p >
56- < div className = { cn ( "flex flex-row flex-wrap justify-center items-center align-middle px-50 my-10 w-full" ) } >
57- < LocationBtn href = { MAPS_LINK } innerText = "Google Maps" / >
58- < LocationBtn href = { SU_LINK } innerText = "Book Coach Tickets " />
59- </ div >
48+ </ div >
49+ < div className = { cn ( "flex flex-row flex-wrap justify-center items-center align-middle my-10 w-full" ) } >
50+ < LocationBtn href = { MAPS_LINK } innerText = "Google Maps " />
51+ < LocationBtn href = { SU_LINK } innerText = "Book Coach Tickets" / >
6052 </ div >
6153 </ div >
6254 )
0 commit comments