@@ -4,35 +4,41 @@ import { Underline } from "@/utils/text-utils";
44
55export default function page ( ) {
66 return (
7- < div className = "flex w-full flex-col justify-center rounded-xl bg-white p-4 md:p-8 " >
8- < div className = "gap-6 p-8 text-center font-bold" >
9- < h1 className = "flex justify-start pb-4 text-4xl" > But First... </ h1 >
10- < div className = "flex w-full flex-col items-center gap-3 rounded-3xl bg-pastel-green p-8 text-xl " >
11- < div className = "w-1/2 rounded- 3xl bg-white p-8 " >
12- < div className = "relative inline- block text-3xl " >
7+ < div className = "flex w-full flex-col gap-6 rounded-xl bg-white p-8 text-center font-bold " >
8+ < h1 className = "flex justify-start text-4xl" > But First... </ h1 >
9+ < div className = "flex w-full flex-col items-center rounded-3xl bg-pastel-green p-8" >
10+ < div className = "flex w-1/2 min-w-60 flex-col items-center gap-4 rounded-3xl bg-white p-8" >
11+ < div className = "text- 3xl" >
12+ < div className = "hidden xl: block" >
1313 < Underline > Join the official Discord!</ Underline >
1414 </ div >
15- < div className = "pt-8" >
16- < a
17- target = "_blank"
18- rel = "noreferrer"
19- href = { process . env . NEXT_PUBLIC_DISCORD_LINK }
20- >
21- < PurpleButton > Hackathon Discord</ PurpleButton >
22- </ a >
15+ < div className = "w-full xl:hidden" >
16+ Join the official
17+ < Underline >
18+ < span className = "ml-3" > Discord!</ span >
19+ </ Underline >
2320 </ div >
2421 </ div >
25- </ div >
26-
27- < div className = "flex justify-between pt-8" >
28- < Link href = { "/register/team" } >
29- < PurpleButton > Back </ PurpleButton >
30- </ Link >
31- < Link href = { "/register/team/ready" } >
32- < PurpleButton > Next < /PurpleButton >
22+ < Link
23+ target = "_blank"
24+ rel = "noreferrer"
25+ href = { process . env . NEXT_PUBLIC_DISCORD_LINK ?? "" }
26+ >
27+ < PurpleButton className = "w-auto px-4" >
28+ Hackathon Discord
29+ </ PurpleButton >
3330 </ Link >
3431 </ div >
3532 </ div >
33+
34+ < div className = "flex flex-col justify-between sm:flex-row" >
35+ < Link href = { "/register/team" } >
36+ < PurpleButton > Back</ PurpleButton >
37+ </ Link >
38+ < Link href = { "/register/team/ready" } >
39+ < PurpleButton > Next</ PurpleButton >
40+ </ Link >
41+ </ div >
3642 </ div >
3743 ) ;
3844}
0 commit comments