Skip to content

Commit 03214fd

Browse files
committed
Finished sponsors part -responsiveness
1 parent aec1e58 commit 03214fd

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

components/Sponsors/index.tsx

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ import React from 'react'
22

33
const Sponsors = () => {
44
return (
5-
<section className="flex flex-col min-h-screen py-8 px-24">
5+
<section className="flex flex-col min-h-screen py-8 px-24 relative">
66
<div>
77
<p className="text-[#3977F8] font-game text-xl">04</p>
88
<h2 className="font-bold text-7xl">SUPPORT CSESOC</h2>
99
</div>
1010
<div className="flex-1 flex justify-center items-center">
1111
<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] h-[35rem] w-[90rem] grid grid-cols-10 grid-row-2">
12-
<div className="flex flex-col justify-center items-center col-span-4 row-start-1 row-end-3 flex">
13-
<div className="div">
14-
<h2 className=" text-5xl font-extrabold">Our sponsors</h2>
15-
<p className="my-36 text-2xl">Check out our very cool sponsors.</p>
16-
<button>View our sponsors</button>
12+
<div className="flex flex-col justify-center items-center col-span-4 row-start-1 row-end-3">
13+
<div className="max-w-[19.5rem] flex flex-col justify-center items-center">
14+
<h2 className="text-5xl font-black">Our sponsors</h2>
15+
<p style={{ fontSize: '1.65rem', lineHeight: '2.1rem' }} className="my-16" >Check out our very cool sponsors.</p>
16+
<button style={{ backgroundColor: '#FFFFFF', border: '1px solid #A7A6E5', color: '#3977F8' }} className="text-2xl rounded-xl w-[100%] h-16">View our sponsors</button>
1717
</div>
1818
</div>
1919
<div style={{ backgroundColor: 'rgba(0, 71, 255, 0.33)' }} className="flex justify-center items-center col-span-3 row-start-1 row-end-2"><img src="assets/atlassian_logo.svg" alt="Atlassian logo" /></div>
@@ -24,12 +24,12 @@ const Sponsors = () => {
2424
</div>
2525
<div className="flex justify-between">
2626
<img src="assets/csesoc_logo_white.svg" alt="CSESoc Logo" />
27-
<div className="flex flex-col">
28-
<p>B03 CSE Building K17, UNSW [email protected]</p>
27+
<div className="flex flex-col max-w-[14rem]">
28+
<p className="mb-6">B03 CSE Building K17, UNSW [email protected]</p>
2929
<p>© 2021 — CSESoc UNSW</p>
3030
</div>
31-
3231
</div>
32+
<img src="assets/sponsors_backdrop.svg" alt="Sponsors backdrop" className="absolute bottom-0 left-0 w-screen -z-10" />
3333
</section >
3434
)
3535
}

public/assets/sponsors_backdrop.svg

+9
Loading

0 commit comments

Comments
 (0)