Skip to content

Commit 1c4c8e9

Browse files
authored
Merge pull request #2 from csesoc/sponsors
Sponsors
2 parents a0100b9 + 36ddfb8 commit 1c4c8e9

File tree

9 files changed

+114
-2
lines changed

9 files changed

+114
-2
lines changed

Diff for: components/ResourcesAndContacts/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const ResourcesAndContacts = () => {
1313

1414
<div className="text-center my-10">
1515
<p className="text-[#3977F8] font-game text-xl">03</p>
16-
<h1 className="font-bold text-5xl">RESOURCES & CONTACTS</h1>
16+
<h1 className="font-bold text-6xl">RESOURCES & CONTACTS</h1>
1717
</div>
1818

1919
<div className="py-8 bg-no-repeat bg-center">

Diff for: components/Sponsors/index.tsx

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import React from "react";
2+
3+
const Sponsors = () => {
4+
const firstRowBoxesStyling = "xl:p-16 p-10 flex justify-center items-center xl:col-span-3 sm:col-span-5 col-span-10 xl:row-start-1 xl:row-end-2 sm:row-start-3 sm:row-end-4 sm:h-auto h-36";
5+
const secondRowBoxesStyling = "xl:p-16 p-10 flex justify-center items-center xl:col-span-3 sm:col-span-5 col-span-10 xl:row-start-2 xl:row-end-3 sm:row-start-4 sm:row-end-5 sm:h-auto h-36";
6+
7+
return (
8+
<section className="flex flex-col min-h-screen py-8 xl:px-24 sm:px-10 px-8 relative mt-20">
9+
<div className="text-center">
10+
<p className="text-[#3977F8] font-game text-xl">04</p>
11+
<h2 className="font-bold text-6xl">SUPPORT CSESOC</h2>
12+
</div>
13+
<div className="flex-1 flex justify-center items-center my-20">
14+
<div style={{ backgroundImage: "radial-gradient(50% 50% at 50% 50%, rgba(235, 1, 255, 0.6) 0%, rgba(121, 73, 255, 0.6) 48.96%, rgba(57, 119, 248, 0.6) 100%)" }} className="overflow-hidden rounded-[4rem] w-[90rem] grid grid-cols-10 xl:grid-row-2 sm:grid-row-5">
15+
<div className="flex flex-col justify-center items-center xl:col-span-4 col-span-10 row-start-1 row-end-3 xl:my-0 my-12">
16+
<div className="max-w-[15rem]">
17+
<h2 className="text-4xl font-black">Our sponsors</h2>
18+
<p className="xl:my-10 my-3 text-lg">Check out our very cool sponsors.</p>
19+
<button className="bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[100%] xl:h-12 h-10">View our sponsors</button>
20+
</div>
21+
</div>
22+
<div className={`${firstRowBoxesStyling} bg-[rgba(0, 71, 255, 0.33)]`}>
23+
<img src="assets/atlassian_logo.svg" alt="Atlassian logo" />
24+
</div>
25+
<div className={`${firstRowBoxesStyling} bg-[rgba(82, 130, 255, 0.47)]`}>
26+
<img src="assets/google_logo.svg" alt="Google logo" />
27+
</div>
28+
<div className={`${secondRowBoxesStyling} bg-[rgba(48, 93, 255, 0.2)]`}>
29+
<img src="assets/freelancer_logo.svg" alt="Freelancer logo" />
30+
</div>
31+
<div className={`${secondRowBoxesStyling} bg-[rgba(122, 137, 236, 0.27)]`}>
32+
<img src="assets/microsoft_logo.svg" alt="Microsoft logo" />
33+
</div>
34+
</div>
35+
</div>
36+
<div className="sm:flex justify-between">
37+
<img src="assets/csesoc_logo_white.svg" alt="CSESoc Logo" />
38+
<div className="flex flex-col max-w-[14rem] sm:mt-0 mt-10 font-light">
39+
<p className="mb-6">B03 CSE Building K17, UNSW [email protected]</p>
40+
<p>© 2021 — CSESoc UNSW</p>
41+
</div>
42+
</div>
43+
<img src="assets/sponsors_backdrop.svg" alt="Sponsors backdrop" className="absolute bottom-0 left-0 w-screen -z-10" />
44+
</section>
45+
);
46+
};
47+
48+
export default Sponsors;

Diff for: pages/index.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
import Image from "next/image";
22
import Landing from "@/components/Landing";
3+
import Sponsors from "@/components/Sponsors";
34
import About from "@/components/About";
45
import Event from "@/components/Event";
56
import ResourcesAndContacts from "@/components/ResourcesAndContacts"
7+
68
export default function Home() {
79
return (
810
<section>
911
<Landing />
1012
<About />
1113
<Event />
12-
<ResourcesAndContacts/>
14+
<ResourcesAndContacts />
15+
<Sponsors />
1316
</section>
1417
);
1518
}

Diff for: public/assets/atlassian_logo.svg

+9
Loading

Diff for: public/assets/csesoc_logo_white.svg

+16
Loading

Diff for: public/assets/freelancer_logo.svg

+9
Loading

Diff for: public/assets/google_logo.svg

+9
Loading

Diff for: public/assets/microsoft_logo.svg

+9
Loading

Diff for: public/assets/sponsors_backdrop.svg

+9
Loading

0 commit comments

Comments
 (0)