File tree 5 files changed +78
-16
lines changed
components/teamRegistration
5 files changed +78
-16
lines changed Original file line number Diff line number Diff line change 1
- import Link from "next/link" ;
2
-
3
1
import PurpleButton from "@/components/PurpleButton" ;
4
2
5
3
export default function page ( ) {
6
4
// TODO: Add a reminder to join a team in two days
7
5
return (
8
- < div className = "flex w-full flex-col justify-center gap-6 rounded-3xl bg-white p-4 md:p-8" >
9
- < div className = " py-24 text-center text-3xl font-bold" >
10
- { /* TODO: Update "two" to be dynamic */ }
11
- We will remind you to join a team in two days!
6
+ < div className = "flex w-full flex-col items-center justify-center rounded-3xl p-4 md:p-8" >
7
+ < div className = "flex w-full flex-col justify-center rounded-3xl bg-white p-4 md:p-8" >
8
+ < div className = " pb-8 text-center text-4xl font-bold" >
9
+ { /* TODO: Update "two" to be dynamic */ }
10
+ We will remind you to join a team in two days!
11
+ </ div >
12
+ < div className = "p-4 text-center text-3xl font-bold" >
13
+ In the meantime, join the official Discord!
14
+ </ div >
15
+ < div className = "flex items-center justify-center p-2" >
16
+ < a
17
+ target = "_blank"
18
+ rel = "noreferrer"
19
+ href = { process . env . NEXT_PUBLIC_DISCORD_LINK }
20
+ >
21
+ < PurpleButton > Official Hackathon Discord</ PurpleButton >
22
+ </ a >
23
+ </ div >
12
24
</ div >
13
- < div className = "flex justify-end " >
14
- < Link href = { "/" } >
15
- < PurpleButton > Close </ PurpleButton >
16
- </ Link >
25
+ < div className = "pt-8 " >
26
+ < a href = "/" >
27
+ < PurpleButton > Go Home </ PurpleButton >
28
+ </ a >
17
29
</ div >
18
30
</ div >
19
31
) ;
Original file line number Diff line number Diff line change
1
+ import RegistrationLayout from "@/components/layouts/RegistrationLayout" ;
2
+
3
+ export default function Layout ( { children } : { children : React . ReactNode } ) {
4
+ return < RegistrationLayout > { children } </ RegistrationLayout > ;
5
+ }
Original file line number Diff line number Diff line change
1
+ import Link from "next/link" ;
2
+
3
+ import PurpleButton from "@/components/PurpleButton" ;
4
+ import { Underline } from "@/utils/text-utils" ;
5
+
6
+ export default function page ( ) {
7
+ return (
8
+ < div className = "flex w-full flex-col justify-center rounded-xl bg-white p-4 md:p-8" >
9
+ < div className = "gap-6 p-8 text-center font-bold" >
10
+ < h1 className = "flex justify-start pb-4 text-4xl" > But First...</ h1 >
11
+ < div className = "flex w-full flex-col items-center gap-3 rounded-3xl bg-pastel-green p-8 text-xl" >
12
+ < div className = "w-1/2 rounded-3xl bg-white p-8" >
13
+ < div className = "relative inline-block text-3xl" >
14
+ < Underline > Join the official Discord!</ Underline >
15
+ </ div >
16
+ < div className = "pt-8" >
17
+ < a
18
+ target = "_blank"
19
+ rel = "noreferrer"
20
+ href = { process . env . NEXT_PUBLIC_DISCORD_LINK }
21
+ >
22
+ < PurpleButton > Hackathon Discord</ PurpleButton >
23
+ </ a >
24
+ </ div >
25
+ </ div >
26
+ </ div >
27
+
28
+ < div className = "flex justify-between pt-8" >
29
+ < Link href = { "/register/team" } >
30
+ < PurpleButton > Back</ PurpleButton >
31
+ </ Link >
32
+ < Link href = { "/register/team/ready" } >
33
+ < PurpleButton > Next</ PurpleButton >
34
+ </ Link >
35
+ </ div >
36
+ </ div >
37
+ </ div >
38
+ ) ;
39
+ }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default function page() {
26
26
< Link href = { "/register/team/remind" } >
27
27
< PurpleButton > Remind me later</ PurpleButton >
28
28
</ Link >
29
- < Link href = { "/register/team/ready " } >
29
+ < Link href = { "/register/team/discord " } >
30
30
< PurpleButton > Yes!</ PurpleButton >
31
31
</ Link >
32
32
</ div >
Original file line number Diff line number Diff line change 1
- import Link from "next/link" ;
2
-
3
1
export default function JoinTeamInstructions ( ) {
4
2
return (
5
3
< ol className = "flex list-inside list-decimal flex-col gap-4 px-6 text-lg font-medium" >
6
4
< li >
7
5
Join the
8
- < Link href = "https://discord.com/" target = "_blank" >
9
- < span className = " font-bold" > Code the Change YYC Discord </ span >
10
- </ Link >
6
+ < span className = " font-bold" >
7
+ < a
8
+ className = "hover:text-awesomer-purple"
9
+ target = "_blank"
10
+ rel = "noreferrer"
11
+ href = { process . env . NEXT_PUBLIC_DISCORD_LINK }
12
+ >
13
+ { " " }
14
+ Code the Change YYC Discord{ " " }
15
+ </ a >
16
+ </ span >
11
17
and navigate to the
12
18
< span className = "font-bold" > #looking-for-a-team </ span > channel.
13
19
</ li >
You can’t perform that action at this time.
0 commit comments