Skip to content

Commit 2a6aa1a

Browse files
authored
conf: add new sponors (#1483)
* GraphQL Conf: Add Hygraph as platinum sponsor * Add StepZen as sponsor * Increase gap
1 parent 65162ac commit 2a6aa1a

File tree

4 files changed

+131
-10
lines changed

4 files changed

+131
-10
lines changed

src/assets/css/_css/brand.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
.zoom-platinum {
270270
transition: transform .2s; /* Animation */
271271
width: 300px;
272-
height: 153px;
272+
max-height: 153px;
273273
cursor: pointer;
274274
}
275275
.zoom-platinum:hover {

src/components/Conf/Sponsors/index.tsx

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { ReactComponent as Solo } from "../../../../static/img/conf/Sponsors/Sol
66
import { ReactComponent as Hasura } from "../../../../static/img/conf/Sponsors/Hasura.svg"
77
import { ReactComponent as TheGraph } from "../../../../static/img/conf/Sponsors/TheGraph.svg"
88
import { ReactComponent as TheGuild } from "../../../../static/img/conf/Sponsors/TheGuild.svg"
9+
import { ReactComponent as Hygraph } from "../../../../static/img/conf/Sponsors/Hygraph.svg"
10+
import { ReactComponent as StepZen } from "../../../../static/img/conf/Sponsors/StepZen.svg"
911

1012
interface Image {
1113
iconPath: string
@@ -47,6 +49,11 @@ const sponsorPlatinum: Image[] = [
4749
name: "Solo.io",
4850
link: "https://www.solo.io/",
4951
},
52+
{
53+
iconPath: Hygraph,
54+
name: "Hygraph",
55+
link: "https://hygraph.com/",
56+
},
5057
]
5158

5259
const sponsorGold: Image[] = [
@@ -55,6 +62,11 @@ const sponsorGold: Image[] = [
5562
name: "The Graph",
5663
link: "https://thegraph.com/",
5764
},
65+
{
66+
iconPath: StepZen,
67+
name: "StepZen",
68+
link: "https://stepzen.com/",
69+
},
5870
]
5971

6072
const sponsorSilver: Image[] = [
@@ -70,7 +82,6 @@ const workshopDaySponsors: Image[] = [
7082
iconPath: TheGuild,
7183
name: "The Guild",
7284
link: "https://the-guild.dev/",
73-
workshopSponsor: true,
7485
},
7586
]
7687

@@ -98,13 +109,13 @@ const SponsersConf = () => {
98109
<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
99110
PLATINUM
100111
</h3>
101-
<div className="flex justify-center items-start flex-wrap gap-[20px]">
112+
<div className="flex justify-center items-center flex-wrap gap-[20px]">
102113
{sponsorPlatinum
103114
.sort((a, b) => alphabetSort(a, b))
104115
.map((sponsor, i) => (
105116
<a
106117
key={i}
107-
className="zoom-platinum flex flex-col items-center text-center w-full h-full"
118+
className="zoom-platinum self-center flex flex-col text-center w-full"
108119
href={sponsor.link}
109120
target="_blank"
110121
>
@@ -116,7 +127,7 @@ const SponsersConf = () => {
116127
<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
117128
GOLD
118129
</h3>
119-
<div className="flex justify-center items-start flex-wrap gap-[20px]">
130+
<div className="flex justify-center items-start flex-wrap gap-[40px]">
120131
{sponsorGold
121132
.sort((a, b) => alphabetSort(a, b))
122133
.map((sponsor, i) => (
@@ -134,7 +145,7 @@ const SponsersConf = () => {
134145
<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
135146
SILVER
136147
</h3>
137-
<div className="flex justify-center items-start flex-wrap gap-[20px]">
148+
<div className="flex justify-center items-start flex-wrap gap-[40px]">
138149
{sponsorSilver
139150
.sort((a, b) => alphabetSort(a, b))
140151
.map((sponsor, i) => (
@@ -148,14 +159,15 @@ const SponsersConf = () => {
148159
</a>
149160
))}
150161
</div>
151-
<h1 className="text-center text-4xl text-[#171E26] font-bold my-8 pt-10">
162+
163+
<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
152164
Workshop Day Sponsor
153-
</h1>
154-
<div className="flex justify-center items-center flex-wrap gap-[40px]">
165+
</h3>
166+
<div className="flex justify-center items-center flex-wrap gap-[40px] h-[70%]">
155167
{workshopDaySponsors.map((sponsor, i) => (
156168
<a
157169
key={i}
158-
className="zoom-diamond flex flex-col items-center text-center w-full h-full"
170+
className="zoom-platinum flex flex-col items-center text-center"
159171
href={sponsor.link}
160172
target="_blank"
161173
>

static/img/conf/Sponsors/Hygraph.svg

Lines changed: 32 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)