1
1
// import DiscordLogo from "@/public/assets/discord_logo.svg"
2
2
import Image from "next/image" ;
3
3
4
+ const boxStyling = "border border-[#595F6D] rounded-lg hover:border-[#788093] hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300" ;
5
+ const socialsBoxStyling = "xl:col-span-1 col-span-3 flex justify-center pt-2 pb-2 border border-[#595F6D] hover:border-[#788093] rounded-lg hover:bg-[#070034] hover:bg-opacity-75 transition-all duration-300" ;
6
+
4
7
const ResourcesAndContacts = ( ) => {
5
8
return (
6
9
< section className = "bg-no-repeat bg-center py-8 px-15 min-h-screen flex justify-center items-center" >
7
- < div className = "2xl:w-[100rem ]" >
10
+ < div className = "2xl:w-[90rem] xl:w-[75rem] md:w-[40rem] sm:w-[30rem] w-[90% ]" >
8
11
< div className = "relative" >
9
12
< Image src = "assets/resources_bg.svg" alt = "Background" className = "-z-50 absolute" fill />
10
13
@@ -15,91 +18,91 @@ const ResourcesAndContacts = () => {
15
18
16
19
< div className = "py-8 bg-no-repeat bg-center" >
17
20
< div className = "grid grid-cols-4 1 gap-x-9 gap-y-5" >
18
- < a href = "https://circles.csesoc.app/course-selector" target = "_blank" className = " col-span-4 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
21
+ < a href = "https://circles.csesoc.app/course-selector" target = "_blank" className = { ` col-span-4 p-5 ${ boxStyling } ` } >
19
22
< h2 className = "mt-5 text-3xl font-extrabold" > Circles</ h2 >
20
23
< p className = "mt-7 text-lg mb-5" > A UNSW degree planner where you can explore and validate your degree structure.</ p >
21
24
</ a >
22
25
23
- < a href = "https://structs.sh/" target = "_blank" className = " col-span-1 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
26
+ < a href = "https://structs.sh/" target = "_blank" className = { `xl: col-span-1 col-span-4 p-5 ${ boxStyling } ` } >
24
27
< h2 className = "mt-1 text-3xl font-extrabold" > Structs.sh</ h2 >
25
28
< p className = "mt-7 text-lg mb-5" > An educational data structures and algorithms platform.</ p >
26
29
</ a >
27
30
28
- < a href = "https://jobsboard.csesoc.unsw.edu.au/" target = "_blank" className = " col-span-1 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
31
+ < a href = "https://jobsboard.csesoc.unsw.edu.au/" target = "_blank" className = { `xl: col-span-1 col-span-4 p-5 ${ boxStyling } ` } >
29
32
< h2 className = "mt-1 text-3xl font-extrabold" > Jobs Board</ h2 >
30
33
< p className = "mt-7 text-lg mb-5" > A place where CSESoc students can look for relevant job opportunities.</ p >
31
34
</ a >
32
35
33
- < a href = "https://notangles.csesoc.app/" target = "_blank" className = " col-span-1 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
36
+ < a href = "https://notangles.csesoc.app/" target = "_blank" className = { `xl: col-span-1 col-span-4 p-5 ${ boxStyling } ` } >
34
37
< h2 className = "mt-1 text-3xl font-extrabold" > Notangles</ h2 >
35
38
36
39
< p className = "mt-7 text-lg mb-5" > Trimester timetabling tool - no more timetable tangles!</ p >
37
40
</ a >
38
41
39
- < a href = "https://unilectives.csesoc.app/" target = "_blank" className = " col-span-1 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
42
+ < a href = "https://unilectives.csesoc.app/" target = "_blank" className = { `xl: col-span-1 col-span-4 p-5 ${ boxStyling } ` } >
40
43
< h2 className = "mt-1 text-3xl font-extrabold" > Uni-lectives</ h2 >
41
44
42
45
< p className = "mt-7 text-lg mb-5" > Read course electives to help you pick your electives or even write your own!</ p >
43
46
</ a >
44
47
45
- < a href = "https://compclub.org/" target = "_blank" className = " col-span-2 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
48
+ < a href = "https://compclub.org/" target = "_blank" className = { `md: col-span-2 col-span-4 p-5 ${ boxStyling } ` } >
46
49
< h2 className = "mt-1 text-3xl font-extrabold" > CompClub</ h2 >
47
50
48
51
< p className = "mt-7 text-lg mb-5" > Promoting computing to high school students</ p >
49
52
</ a >
50
53
51
- < a href = "https://media.csesoc.org.au/" target = "_blank" className = " col-span-2 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
54
+ < a href = "https://media.csesoc.org.au/" target = "_blank" className = { `md: col-span-2 col-span-4 p-5 ${ boxStyling } ` } >
52
55
< h2 className = "mt-1 text-3xl font-extrabold" > CSESoc Media</ h2 >
53
56
< p className = "mt-7 text-lg mb-5" > All things content</ p >
54
57
</ a >
55
58
56
- < a href = "https://media.csesoc.org.au/fyg-2023/" target = "_blank" className = " col-span-2 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
59
+ < a href = "https://media.csesoc.org.au/fyg-2023/" target = "_blank" className = { `md: col-span-2 col-span-4 p-5 ${ boxStyling } ` } >
57
60
< h2 className = "mt-1 text-3xl font-extrabold" > First Year Guide</ h2 >
58
61
< p className = "mt-7 text-lg mb-5" > The ultimate guide to conquering your first year at CSE</ p >
59
62
</ a >
60
63
61
- < a href = "https://media.csesoc.org.au/cse-enrol/" target = "_blank" className = "block col-span-2 p-5 border border-[#595F6D] rounded-lg hover:bg-gray-100 hover:bg-opacity-10" >
64
+ < a href = "https://media.csesoc.org.au/cse-enrol/" target = "_blank" className = { `md: col-span-2 col-span-4 p-5 ${ boxStyling } ` } >
62
65
< h2 className = "mt-1 text-3xl font-extrabold" > Enrolment Guide</ h2 >
63
66
< p className = "mt-7 text-lg mb-5" > Learn how to get a headstart on uni</ p >
64
67
</ a >
65
68
</ div >
66
69
</ div >
67
70
</ div >
68
71
69
- < div className = "mt-10" >
70
- < div className = "grid grid-cols-3 1 gap-x-9 gap-y-5 mb-20 " >
71
- < a href = "https://bit.ly/CSESocDiscord" target = "_blank" className = "col-span-1 flex justify-center pt-2 pb-2 border border-[#595F6D] rounded-sm hover:bg-gray-100 hover:bg-opacity-10" >
72
+ < div className = "md: mt-10 mt-5 " >
73
+ < div className = "grid grid-cols-3 1 gap-x-9 gap-y-5 mb-10 " >
74
+ < a href = "https://bit.ly/CSESocDiscord" target = "_blank" className = { socialsBoxStyling } >
72
75
< Image src = "assets/discord_logo.svg" alt = "" width = { 25 } height = { 25 } className = "mr-1" />
73
76
< p className = "text-xl font-bold m-2" > DISCORD</ p >
74
77
</ a >
75
- < a href = "https://www.facebook.com/csesoc/" target = "_blank" className = "col-span-1 flex justify-center pt-2 pb-2 border border-[#595F6D] rounded-sm hover:bg-gray-100 hover:bg-opacity-10" >
78
+ < a href = "https://www.facebook.com/csesoc/" target = "_blank" className = { socialsBoxStyling } >
76
79
< Image src = "assets/fb_logo.svg" alt = "" width = { 25 } height = { 25 } className = "mr-1" />
77
80
< p className = "text-xl font-bold m-2" > FACEBOOK</ p >
78
81
</ a >
79
- < a href = "https://www.facebook.com/groups/csesoc" target = "_blank" className = "col-span-1 flex justify-center pt-2 pb-2 border border-[#595F6D] rounded-sm hover:bg-gray-100 hover:bg-opacity-10" >
82
+ < a href = "https://www.facebook.com/groups/csesoc" target = "_blank" className = { socialsBoxStyling } >
80
83
< Image src = "assets/group_icon.svg" alt = "" width = { 25 } height = { 25 } className = "mr-1" />
81
84
< p className = "text-xl font-bold m-2" > FACEBOOK GROUP</ p >
82
85
</ a >
83
86
</ div >
84
87
85
- < div className = "flex 1 justify-around ml-40 mr -40" >
88
+ < div className = "flex 1 justify-around xl:mx -40" >
86
89
< a href = "https://twitter.com/csesoc?lang=en" target = "_blank" >
87
- < Image src = "assets/x_twitter_icon.svg" alt = "X/Twitter" width = { 35 } height = { 35 } className = "mr-1 fill-white" />
90
+ < Image src = "assets/x_twitter_icon.svg" alt = "X/Twitter" width = { 35 } height = { 35 } className = "mr-1 fill-white hover:scale-105 transition-all " />
88
91
</ a >
89
92
< a href = "https://www.youtube.com/@CSESocUNSW" target = "_blank" >
90
- < Image src = "assets/youtube_logo.svg" alt = "Youtube" width = { 35 } height = { 35 } className = "mr-1 fill-white" />
93
+ < Image src = "assets/youtube_logo.svg" alt = "Youtube" width = { 35 } height = { 35 } className = "mr-1 fill-white hover:scale-105 transition-all " />
91
94
</ a >
92
95
< a href = "https://www.instagram.com/csesoc_unsw/?hl=en" target = "_blank" >
93
- < Image src = "assets/instagram_logo.svg" alt = "Instagram" width = { 35 } height = { 35 } className = "mr-1 fill-white" />
96
+ < Image src = "assets/instagram_logo.svg" alt = "Instagram" width = { 35 } height = { 35 } className = "mr-1 fill-white hover:scale-105 transition-all " />
94
97
</ a >
95
98
< a href = "https://www.tiktok.com/@csesoc?lang=en" target = "_blank" >
96
- < Image src = "assets/tiktok_logo.svg" alt = "TikTok" width = { 35 } height = { 35 } className = "mr-1 fill-white" />
99
+ < Image src = "assets/tiktok_logo.svg" alt = "TikTok" width = { 35 } height = { 35 } className = "mr-1 fill-white hover:scale-105 transition-all " />
97
100
</ a >
98
101
< a href = "#" target = "_blank" >
99
- < Image src = "assets/wechat_logo.svg" alt = "weChat" width = { 40 } height = { 40 } className = "mr-1 fill-white" />
102
+ < Image src = "assets/wechat_logo.svg" alt = "weChat" width = { 40 } height = { 40 } className = "mr-1 fill-white hover:scale-105 transition-all " />
100
103
</ a >
101
104
< a href = "https://www.linkedin.com/company/csesoc?originalSubdomain=au" target = "_blank" >
102
- < Image src = "assets/linkedin_logo.svg" alt = "LinkedIn" width = { 35 } height = { 35 } className = "mr-1 fill-white" />
105
+ < Image src = "assets/linkedin_logo.svg" alt = "LinkedIn" width = { 35 } height = { 35 } className = "mr-1 fill-white hover:scale-105 transition-all " />
103
106
</ a >
104
107
</ div >
105
108
</ div >
0 commit comments