Skip to content

Commit 1ab6cc3

Browse files
authored
conf website: add The Guild as a conference sponsor (#1480)
1 parent 8eecf79 commit 1ab6cc3

File tree

3 files changed

+68
-17
lines changed

3 files changed

+68
-17
lines changed

src/components/Conf/Footer/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react"
22
import SocialIcons from "../SocialIcons"
3-
import SponsersConf from "../Sponers"
3+
import SponsorsConf from "../Sponsors"
44
import PartnersConf from "../Partners"
55

66
const links = [
@@ -28,7 +28,7 @@ const links = [
2828
const FooterConf = () => {
2929
return (
3030
<>
31-
<SponsersConf />
31+
<SponsorsConf />
3232
<PartnersConf />
3333
<footer className="text-gray-600 bg-[#171E26]">
3434
<div className="container px-5 md:py-24 mx-auto flex md:items-start md:flex-row md:flex-nowrap flex-wrap flex-col">

src/components/Conf/Sponers/index.tsx renamed to src/components/Conf/Sponsors/index.tsx

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { ReactComponent as Postman } from "../../../../static/img/conf/Sponsors/
55
import { ReactComponent as Solo } from "../../../../static/img/conf/Sponsors/Solo.svg"
66
import { ReactComponent as Hasura } from "../../../../static/img/conf/Sponsors/Hasura.svg"
77
import { ReactComponent as TheGraph } from "../../../../static/img/conf/Sponsors/TheGraph.svg"
8+
import { ReactComponent as TheGuild } from "../../../../static/img/conf/Sponsors/TheGuild.svg"
89

910
interface Image {
1011
iconPath: string
@@ -23,6 +24,11 @@ function alphabetSort(a: Image, b: Image) {
2324
}
2425

2526
const sponsorDiamond: Image[] = [
27+
{
28+
iconPath: TheGuild,
29+
name: "The Guild",
30+
link: "https://the-guild.dev/",
31+
},
2632
{
2733
iconPath: Postman,
2834
name: "Postman",
@@ -59,6 +65,15 @@ const sponsorSilver: Image[] = [
5965
},
6066
]
6167

68+
const workshopDaySponsors: Image[] = [
69+
{
70+
iconPath: TheGuild,
71+
name: "The Guild",
72+
link: "https://the-guild.dev/",
73+
workshopSponsor: true,
74+
},
75+
]
76+
6277
const SponsersConf = () => {
6378
return (
6479
<div id="sponsors" className="bg-white py-10 static">
@@ -68,21 +83,19 @@ const SponsersConf = () => {
6883
<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
6984
DIAMOND
7085
</h3>
71-
<div className="flex justify-center items-start flex-wrap gap-[20px]">
72-
{sponsorDiamond
73-
.sort((a, b) => alphabetSort(a, b))
74-
.map((sponsor, i) => (
75-
<a
76-
key={i}
77-
className="zoom-diamond flex flex-col items-center text-center w-full h-full"
78-
href={sponsor.link}
79-
target="_blank"
80-
>
81-
<sponsor.iconPath />
82-
</a>
83-
))}
86+
<div className="flex justify-center items-center flex-wrap gap-[40px]">
87+
{sponsorDiamond.map((sponsor, i) => (
88+
<a
89+
key={i}
90+
className="zoom-diamond flex flex-col items-center text-center w-full h-full"
91+
href={sponsor.link}
92+
target="_blank"
93+
>
94+
<sponsor.iconPath />
95+
</a>
96+
))}
8497
</div>
85-
<h3 className="text-center text-[--rhodamine] font-bold my-20 underline underline-offset-8">
98+
<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
8699
PLATINUM
87100
</h3>
88101
<div className="flex justify-center items-start flex-wrap gap-[20px]">
@@ -118,7 +131,7 @@ const SponsersConf = () => {
118131
))}
119132
</div>
120133

121-
<h3 className="text-center text-[--rhodamine] font-bold my-20 underline underline-offset-8">
134+
<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
122135
SILVER
123136
</h3>
124137
<div className="flex justify-center items-start flex-wrap gap-[20px]">
@@ -135,6 +148,21 @@ const SponsersConf = () => {
135148
</a>
136149
))}
137150
</div>
151+
<h1 className="text-center text-4xl text-[#171E26] font-bold my-8 pt-10">
152+
Workshop Day Sponsor
153+
</h1>
154+
<div className="flex justify-center items-center flex-wrap gap-[40px]">
155+
{workshopDaySponsors.map((sponsor, i) => (
156+
<a
157+
key={i}
158+
className="zoom-diamond flex flex-col items-center text-center w-full h-full"
159+
href={sponsor.link}
160+
target="_blank"
161+
>
162+
<sponsor.iconPath />
163+
</a>
164+
))}
165+
</div>
138166
</div>
139167
)
140168
}

static/img/conf/Sponsors/TheGuild.svg

Lines changed: 23 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)