Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbdb4137

Browse files
committed
Merge branch 'CW2-24-Setup-backend' of github.com:csesoc/csesoc-website-2023 into CW2-24-Setup-backend
2 parents8576b85 +e552db1 commitbdb4137

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+
importSplinefrom'@splinetool/react-spline';
2+
3+
constBackground=()=>{
4+
return(
5+
<Spline
6+
className="absolute "
7+
scene="https://prod.spline.design/thPGkOvNXu8XjGlk/scene.splinecode"
8+
/>
9+
);
10+
};
11+
12+
exportdefaultBackground;
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+
constlogostyle='h-14';
4+
constlogodiv='block gap-y-8 h-14';
5+
constbackground='rgba(57, 119, 248, 0.6)';
6+
// const outer = 'rounded-[4rem] w-[90rem] flex flex-col pl-14 py-14 gap-16';
7+
8+
functionSponsorLinks(){
9+
return(
10+
<divclassName="flex justify-center items-center my-20">
11+
<divclassName="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+
<h2className="text-4xl font-black">Diamond Sponsors</h2>
17+
{diamondLinks.map((item,index)=>{
18+
return(
19+
<akey={index}className={`${logodiv}`}href={item.href}>
20+
<imgclassName={`${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+
<h2className="text-4xl font-black">Gold Sponsors</h2>
30+
{goldLinks.map((item,index)=>{
31+
return(
32+
<akey={index}className=""href={item.href}>
33+
<imgclassName="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+
<h2className="text-4xl font-black">Silver Sponsors</h2>
43+
{silverLinks.map((item,index)=>{
44+
return(
45+
<akey={index}className="h-14"href={item.href}>
46+
<imgclassName="h-8"src={item.svg}alt={item.alt}/>
47+
</a>
48+
);
49+
})}
50+
</div>
51+
</div>
52+
</div>
53+
);
54+
}
55+
56+
exportdefaultSponsorLinks;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp