Skip to content

Commit bdb4137

Browse files
committed
Merge branch 'CW2-24-Setup-backend' of github.com:csesoc/csesoc-website-2023 into CW2-24-Setup-backend
2 parents 8576b85 + e552db1 commit bdb4137

File tree

6 files changed

+997
-0
lines changed

6 files changed

+997
-0
lines changed

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"semi": true,
3+
"tabWidth": 2,
4+
"printWidth": 100,
5+
"singleQuote": true,
6+
"trailingComma": "none"
7+
}

components/Background.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import Spline from '@splinetool/react-spline';
2+
3+
const Background = () => {
4+
return (
5+
<Spline
6+
className="absolute "
7+
scene="https://prod.spline.design/thPGkOvNXu8XjGlk/scene.splinecode"
8+
/>
9+
);
10+
};
11+
12+
export default Background;

components/Sponsors/sponsorlinks.tsx

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import { diamondLinks, goldLinks, silverLinks } from '../../public/data/data';
2+
//import '/styles/sponsorLinks.module.css';
3+
const logostyle = 'h-14';
4+
const logodiv = 'block gap-y-8 h-14';
5+
const background = 'rgba(57, 119, 248, 0.6)';
6+
// const outer = 'rounded-[4rem] w-[90rem] flex flex-col pl-14 py-14 gap-16';
7+
8+
function SponsorLinks() {
9+
return (
10+
<div className="flex justify-center items-center my-20">
11+
<div className="w-100 flex flex-col gap-16">
12+
<div
13+
style={{ backgroundColor: `${background}` }}
14+
className="flex flex-wrap rounded-[1rem] pl-14 py-14 gap-16 items-center"
15+
>
16+
<h2 className="text-4xl font-black">Diamond Sponsors</h2>
17+
{diamondLinks.map((item, index) => {
18+
return (
19+
<a key={index} className={`${logodiv}`} href={item.href}>
20+
<img className={`${logostyle}`} src={item.svg} alt={item.alt} />
21+
</a>
22+
);
23+
})}
24+
</div>
25+
<div
26+
style={{ backgroundColor: `${background}` }}
27+
className="flex flex-wrap rounded-[1rem] px-14 py-14 gap-16 items-center"
28+
>
29+
<h2 className="text-4xl font-black">Gold Sponsors</h2>
30+
{goldLinks.map((item, index) => {
31+
return (
32+
<a key={index} className="" href={item.href}>
33+
<img className="h-6" src={item.svg} alt={item.alt} />
34+
</a>
35+
);
36+
})}
37+
</div>
38+
<div
39+
style={{ backgroundColor: `${background}` }}
40+
className="flex flex-wrap rounded-[1rem] px-14 py-14 gap-16 items-center"
41+
>
42+
<h2 className="text-4xl font-black">Silver Sponsors</h2>
43+
{silverLinks.map((item, index) => {
44+
return (
45+
<a key={index} className="h-14" href={item.href}>
46+
<img className="h-8" src={item.svg} alt={item.alt} />
47+
</a>
48+
);
49+
})}
50+
</div>
51+
</div>
52+
</div>
53+
);
54+
}
55+
56+
export default SponsorLinks;

0 commit comments

Comments
 (0)