Skip to content

Commit 5a5b358

Browse files
authored
Merge pull request #1 from csesoc/resources_and_contacts_v1
MVP Resources and Contacts Page
2 parents 926342a + f67be4d commit 5a5b358

File tree

14 files changed

+258
-64
lines changed

14 files changed

+258
-64
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"discord.enabled": true
3+
}

components/About/index.tsx

Lines changed: 65 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -2,80 +2,82 @@ import Image from "next/image";
22

33
const About = () => {
44
return (
5-
<section className="py-8 xl:px-24 px-10" id="about">
5+
<section className="py-8 xl:px-24 sm:px-10 px-5" id="about">
66
<div className="text-center my-10">
77
<p className="text-[#3977F8] font-game text-xl">01</p>
88
<h1 className="font-bold text-6xl">ABOUT</h1>
99
</div>
10-
<div className="lg:grid grid-cols-6 flex-1">
11-
{/* LEFT SIDE */}
12-
<div className="col-span-2 xl:mx-10 md:mx-5">
13-
<div className="flex items-center justify-center">
14-
<Image src="/assets/csesoc_icon.svg" alt="CSESoc Icon" width={150} height={150} />
15-
</div>
16-
<h1 className="mt-10 text-3xl font-extrabold">CSESoc</h1>
17-
<p className="text-[#727B8C] font-medium">unsw-computer-science-soc</p>
18-
<button className="bg-[#444F6F] w-full my-5 py-2 rounded">Follow</button>
19-
<p>We are one of the biggest and most active societies at UNSW, catering to over 3500 CSE students spanning across degrees in Computer Science, Software Engineering, Bioinformatics and Computer Engineering.</p>
20-
<div className="my-4 flex gap-5">
21-
<Image src="/assets/people_icon.svg" alt="People" width={20} height={20} />
22-
<div>
23-
432 <span className="text-[#727B8C]">members</span> · 342 <span className="text-[#727B8C]">subcom</span>
10+
<div className="flex justify-center items-center">
11+
<div className="lg:grid grid-cols-6 flex-1 max-w-[90rem]">
12+
{/* LEFT SIDE */}
13+
<div className="col-span-2 md:mx-5">
14+
<div className="flex items-center justify-center">
15+
<Image src="/assets/csesoc_icon.svg" alt="CSESoc Icon" width={150} height={150} />
16+
</div>
17+
<h1 className="mt-10 text-3xl font-extrabold">CSESoc</h1>
18+
<p className="text-[#727B8C] font-medium">unsw-computer-science-soc</p>
19+
<button className="bg-[#444F6F] w-full my-5 py-2 rounded">Follow</button>
20+
<p>We are one of the biggest and most active societies at UNSW, catering to over 3500 CSE students spanning across degrees in Computer Science, Software Engineering, Bioinformatics and Computer Engineering.</p>
21+
<div className="my-4 flex gap-5">
22+
<Image src="/assets/people_icon.svg" alt="People" width={20} height={20} />
23+
<div>
24+
432 <span className="text-[#727B8C]">members</span> · 342 <span className="text-[#727B8C]">subcom</span>
25+
</div>
26+
</div>
27+
<div className="my-4 flex gap-5">
28+
<Image src="/assets/location_icon.svg" alt="Location" width={20} height={20} />
29+
Sydney, Australia
30+
</div>
31+
<div className="flex gap-5">
32+
<Image src="/assets/mail_icon.svg" alt="Mail" width={20} height={20} />
33+
info@csesoc.org.au
2434
</div>
2535
</div>
26-
<div className="my-4 flex gap-5">
27-
<Image src="/assets/location_icon.svg" alt="Location" width={20} height={20} />
28-
Sydney, Australia
29-
</div>
30-
<div className="flex gap-5">
31-
<Image src="/assets/mail_icon.svg" alt="Mail" width={20} height={20} />
32-
info@csesoc.org.au
33-
</div>
34-
</div>
35-
{/* RIGHT SIDE */}
36-
<div className="col-span-4 lg:mt-0 mt-10">
37-
<div className="rounded border border-[#595F6D] p-5 2xl:h-80 xl:h-64 lg:h-48 sm:h-36 h-32 h-full">
38-
<p className="text-xs">
39-
csesoc/README<span className="text-[#7A8192]">.md</span>
40-
</p>
41-
<p className="mt-5">Lorem Ipsum</p>
42-
</div>
43-
<div className="mt-10">
44-
Pinned
45-
<div className="sm:flex my-5">
46-
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5">
47-
<div className="flex text-[#3A76F8]">
48-
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
49-
csesoc.unsw.edu.au/<span className="font-semibold">events</span>
36+
{/* RIGHT SIDE */}
37+
<div className="col-span-4 lg:mt-0 mt-10">
38+
<div className="rounded border border-[#595F6D] p-5 2xl:h-80 xl:h-64 lg:h-48 sm:h-36 h-32 h-full">
39+
<p className="text-xs">
40+
csesoc/README<span className="text-[#7A8192]">.md</span>
41+
</p>
42+
<p className="mt-5">Lorem Ipsum</p>
43+
</div>
44+
<div className="mt-10">
45+
Pinned
46+
<div className="sm:flex my-5">
47+
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5">
48+
<div className="flex text-[#3A76F8]">
49+
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
50+
csesoc.unsw.edu.au/<span className="font-semibold">events</span>
51+
</div>
52+
<div className="my-5">CSESoc's recent events</div>
53+
<div className="rounded-full bg-[#CC5421] w-3 h-3" />
5054
</div>
51-
<div className="my-5">CSESoc's recent events</div>
52-
<div className="rounded-full bg-[#CC5421] w-3 h-3" />
53-
</div>
54-
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full">
55-
<div className="flex text-[#3A76F8]">
56-
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
57-
csesoc.unsw.edu.au/<span className="font-semibold">socials</span>
55+
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full">
56+
<div className="flex text-[#3A76F8]">
57+
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
58+
csesoc.unsw.edu.au/<span className="font-semibold">socials</span>
59+
</div>
60+
<div className="my-5">Follow us on all socials</div>
61+
<div className="rounded-full bg-[#566ACE] w-3 h-3" />
5862
</div>
59-
<div className="my-5">Follow us on all socials</div>
60-
<div className="rounded-full bg-[#566ACE] w-3 h-3" />
6163
</div>
62-
</div>
63-
<div className="sm:flex">
64-
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5">
65-
<div className="flex text-[#3A76F8]">
66-
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
67-
csesoc.unsw.edu.au/<span className="font-semibold">join-us</span>
64+
<div className="sm:flex">
65+
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg mr-5 w-full sm:mb-0 mb-5">
66+
<div className="flex text-[#3A76F8]">
67+
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
68+
csesoc.unsw.edu.au/<span className="font-semibold">join-us</span>
69+
</div>
70+
<div className="my-5">Get involved!</div>
71+
<div className="rounded-full bg-[#E7E923] w-3 h-3" />
6872
</div>
69-
<div className="my-5">Get involved!</div>
70-
<div className="rounded-full bg-[#E7E923] w-3 h-3" />
71-
</div>
72-
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full">
73-
<div className="flex text-[#3A76F8]">
74-
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
75-
csesoc.unsw.edu.au/<span className="font-semibold">contact</span>
73+
<div className="p-5 border border-[#595F6D] flex-1 rounded-lg w-full">
74+
<div className="flex text-[#3A76F8]">
75+
<Image src="/assets/book_icon.svg" alt="Book" width={20} height={20} />
76+
csesoc.unsw.edu.au/<span className="font-semibold">contact</span>
77+
</div>
78+
<div className="my-5">Contact us via email</div>
79+
<div className="rounded-full bg-[#CC5421] w-3 h-3" />
7680
</div>
77-
<div className="my-5">Contact us via email</div>
78-
<div className="rounded-full bg-[#CC5421] w-3 h-3" />
7981
</div>
8082
</div>
8183
</div>
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
// import DiscordLogo from "@/public/assets/discord_logo.svg"
2+
import Image from "next/image";
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+
7+
const ResourcesAndContacts = () => {
8+
return (
9+
<section className="bg-no-repeat bg-center py-8 px-15 min-h-screen flex justify-center items-center">
10+
<div className="2xl:w-[90rem] xl:w-[75rem] w-[90%]">
11+
<div className="relative">
12+
<Image src="assets/resources_bg.svg" alt="Background" className="-z-50 absolute" fill />
13+
14+
<div className="text-center my-10">
15+
<p className="text-[#3977F8] font-game text-xl">03</p>
16+
<h1 className="font-bold text-5xl">RESOURCES & CONTACTS</h1>
17+
</div>
18+
19+
<div className="py-8 bg-no-repeat bg-center">
20+
<div className="grid grid-cols-4 1 gap-x-9 gap-y-5">
21+
<a href="https://circles.csesoc.app/course-selector" target="_blank" className={`col-span-4 p-5 ${boxStyling}`}>
22+
<h2 className="mt-5 text-3xl font-extrabold">Circles</h2>
23+
<p className="mt-7 text-lg mb-5">A UNSW degree planner where you can explore and validate your degree structure.</p>
24+
</a>
25+
26+
<a href="https://structs.sh/" target="_blank" className={`xl:col-span-1 col-span-4 p-5 ${boxStyling}`}>
27+
<h2 className="mt-1 text-3xl font-extrabold">Structs.sh</h2>
28+
<p className="mt-7 text-lg mb-5">An educational data structures and algorithms platform.</p>
29+
</a>
30+
31+
<a href="https://jobsboard.csesoc.unsw.edu.au/" target="_blank" className={`xl:col-span-1 col-span-4 p-5 ${boxStyling}`}>
32+
<h2 className="mt-1 text-3xl font-extrabold">Jobs Board</h2>
33+
<p className="mt-7 text-lg mb-5">A place where CSESoc students can look for relevant job opportunities.</p>
34+
</a>
35+
36+
<a href="https://notangles.csesoc.app/" target="_blank" className={`xl:col-span-1 col-span-4 p-5 ${boxStyling}`}>
37+
<h2 className="mt-1 text-3xl font-extrabold">Notangles</h2>
38+
39+
<p className="mt-7 text-lg mb-5">Trimester timetabling tool - no more timetable tangles!</p>
40+
</a>
41+
42+
<a href="https://unilectives.csesoc.app/" target="_blank" className={`xl:col-span-1 col-span-4 p-5 ${boxStyling}`}>
43+
<h2 className="mt-1 text-3xl font-extrabold">Uni-lectives</h2>
44+
45+
<p className="mt-7 text-lg mb-5">Read course electives to help you pick your electives or even write your own!</p>
46+
</a>
47+
48+
<a href="https://compclub.org/" target="_blank" className={`md:col-span-2 col-span-4 p-5 ${boxStyling}`}>
49+
<h2 className="mt-1 text-3xl font-extrabold">CompClub</h2>
50+
51+
<p className="mt-7 text-lg mb-5">Promoting computing to high school students</p>
52+
</a>
53+
54+
<a href="https://media.csesoc.org.au/" target="_blank" className={`md:col-span-2 col-span-4 p-5 ${boxStyling}`}>
55+
<h2 className="mt-1 text-3xl font-extrabold">CSESoc Media</h2>
56+
<p className="mt-7 text-lg mb-5">All things content</p>
57+
</a>
58+
59+
<a href="https://media.csesoc.org.au/fyg-2023/" target="_blank" className={`md:col-span-2 col-span-4 p-5 ${boxStyling}`}>
60+
<h2 className="mt-1 text-3xl font-extrabold">First Year Guide</h2>
61+
<p className="mt-7 text-lg mb-5">The ultimate guide to conquering your first year at CSE</p>
62+
</a>
63+
64+
<a href="https://media.csesoc.org.au/cse-enrol/" target="_blank" className={`md:col-span-2 col-span-4 p-5 ${boxStyling}`}>
65+
<h2 className="mt-1 text-3xl font-extrabold">Enrolment Guide</h2>
66+
<p className="mt-7 text-lg mb-5">Learn how to get a headstart on uni</p>
67+
</a>
68+
</div>
69+
</div>
70+
</div>
71+
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}>
75+
<Image src="assets/discord_logo.svg" alt="" width={25} height={25} className="mr-1" />
76+
<p className="text-xl font-bold m-2">DISCORD</p>
77+
</a>
78+
<a href="https://www.facebook.com/csesoc/" target="_blank" className={socialsBoxStyling}>
79+
<Image src="assets/fb_logo.svg" alt="" width={25} height={25} className="mr-1" />
80+
<p className="text-xl font-bold m-2">FACEBOOK</p>
81+
</a>
82+
<a href="https://www.facebook.com/groups/csesoc" target="_blank" className={socialsBoxStyling}>
83+
<Image src="assets/group_icon.svg" alt="" width={25} height={25} className="mr-1" />
84+
<p className="text-xl font-bold m-2">FACEBOOK GROUP</p>
85+
</a>
86+
</div>
87+
88+
<div className="flex 1 justify-around xl:mx-40">
89+
<a href="https://twitter.com/csesoc?lang=en" target="_blank">
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" />
91+
</a>
92+
<a href="https://www.youtube.com/@CSESocUNSW" target="_blank">
93+
<Image src="assets/youtube_logo.svg" alt="Youtube" width={35} height={35} className="mr-1 fill-white hover:scale-105 transition-all" />
94+
</a>
95+
<a href="https://www.instagram.com/csesoc_unsw/?hl=en" target="_blank">
96+
<Image src="assets/instagram_logo.svg" alt="Instagram" width={35} height={35} className="mr-1 fill-white hover:scale-105 transition-all" />
97+
</a>
98+
<a href="https://www.tiktok.com/@csesoc?lang=en" target="_blank">
99+
<Image src="assets/tiktok_logo.svg" alt="TikTok" width={35} height={35} className="mr-1 fill-white hover:scale-105 transition-all" />
100+
</a>
101+
<a href="#" target="_blank">
102+
<Image src="assets/wechat_logo.svg" alt="weChat" width={40} height={40} className="mr-1 fill-white hover:scale-105 transition-all" />
103+
</a>
104+
<a href="https://www.linkedin.com/company/csesoc?originalSubdomain=au" target="_blank">
105+
<Image src="assets/linkedin_logo.svg" alt="LinkedIn" width={35} height={35} className="mr-1 fill-white hover:scale-105 transition-all" />
106+
</a>
107+
</div>
108+
</div>
109+
</div>
110+
</section>
111+
);
112+
};
113+
114+
export default ResourcesAndContacts;

pages/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import Image from "next/image";
22
import Landing from "@/components/Landing";
33
import About from "@/components/About";
44
import Event from "@/components/Event";
5-
5+
import ResourcesAndContacts from "@/components/ResourcesAndContacts"
66
export default function Home() {
77
return (
88
<section>
99
<Landing />
1010
<About />
1111
<Event />
12+
<ResourcesAndContacts/>
1213
</section>
1314
);
1415
}

public/assets/discord_logo.svg

Lines changed: 1 addition & 0 deletions
Loading

public/assets/fb_logo.svg

Lines changed: 40 additions & 0 deletions
Loading

public/assets/group_icon.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)