@@ -26,59 +26,27 @@ interface Image {
26
26
}
27
27
28
28
const sponsorDiamond : Image [ ] = [
29
- { icon : Hasura , name : "Hasura" , link : "https://hasura.io" } ,
30
- { icon : Postman , name : "Postman" , link : "https://postman.com" } ,
31
29
{ icon : TheGuild , name : "The Guild" , link : "https://the-guild.dev" } ,
32
30
]
33
31
34
32
const sponsorPlatinum : Image [ ] = [
35
- { icon : Hygraph , name : "Hygraph" , link : "https://hygraph.com" } ,
36
- { icon : Solo , name : "Solo.io" , link : "https://solo.io" } ,
37
33
]
38
34
39
35
const sponsorGold : Image [ ] = [
40
- { icon : StepZen , name : "StepZen" , link : "https://stepzen.com" } ,
41
- { icon : Inigo , name : "Inigo" , link : "https://inigo.io" } ,
42
- { icon : TheGraph , name : "The Graph" , link : "https://thegraph.com" } ,
36
+ { icon : Hasura , name : "Hasura" , link : "https://hasura.io" } ,
43
37
]
44
38
45
39
const sponsorSilver : Image [ ] = [
46
- { icon : Graphabase , name : "Graphabase" , link : "https://graphabase.com" } ,
47
- { icon : Neo4j , name : "Neo4j" , link : "https://neo4j.com" } ,
48
40
{ icon : Stellate , name : "Stellate" , link : "https://stellate.co" } ,
49
- { icon : WunderGraph , name : "WunderGraph" , link : "https://wundergraph.com" } ,
50
41
]
51
42
52
43
const workshopDaySponsors : Image [ ] = [
53
- { icon : TheGuild , name : "The Guild" , link : "https://the-guild.dev" } ,
54
44
]
55
45
56
46
const mediaPartners : Image [ ] = [
57
- { icon : GraphQLWTF , name : "GraphQLWTF" , link : "https://graphql.wtf" } ,
58
- {
59
- icon : GraphQLWeekly ,
60
- name : "GraphQLWeekly" ,
61
- link : "https://graphqlweekly.com" ,
62
- } ,
63
47
]
64
48
65
49
const communityPartners : Image [ ] = [
66
- {
67
- icon : AmsterdamGraphQL ,
68
- name : "Amsterdam GraphQL" ,
69
- link : "https://meetup.com/amsterdam-graphql-meetup" ,
70
- } ,
71
- {
72
- icon : BangkokGraphQL ,
73
- name : "Bangkok GraphQL" ,
74
- link : "https://meetup.com/graphql-bangkok" ,
75
- } ,
76
- {
77
- icon : EscapeTechnologies ,
78
- name : "EscapeTechnologies" ,
79
- link : "https://escape.tech" ,
80
- } ,
81
- { icon : TypeGraphQL , name : "TypeGraphQL" , link : "https://typegraphql.com" } ,
82
50
]
83
51
84
52
function List ( {
@@ -91,7 +59,7 @@ function List({
91
59
linkClassName ?: string
92
60
} ) {
93
61
return (
94
- < div className = { clsx ( "grid gap-7 w-full" , className ) } >
62
+ < div className = { clsx ( "grid gap-7 w-full flex-1 " , className ) } >
95
63
{ items . map ( ( { link, icon, name } , i ) => (
96
64
< a
97
65
key = { i }
@@ -132,39 +100,39 @@ export function Sponsors() {
132
100
return (
133
101
< div id = "sponsors" className = "bg-conf-black" >
134
102
< div className = "container conf-block" >
135
- < h1 className = { classes . title } > Thanks to our 2023 sponsors!</ h1 >
136
- < h3 className = { classes . heading } > Diamond</ h3 >
103
+ < h1 className = { classes . title } > Thanks to our 2024 sponsors!</ h1 >
104
+ { sponsorDiamond . length && ( < > < h3 className = { classes . heading } > Diamond</ h3 >
137
105
< List
138
106
items = { sponsorDiamond }
139
- className = "grid-cols-1 "
107
+ className = "flex "
140
108
linkClassName = "p-8 lg:p-16 h-28 lg:h-[220px]"
141
- />
142
- < h3 className = { classes . heading } > Platinum</ h3 >
109
+ /> </ > ) }
110
+ { sponsorPlatinum . length && ( < > < h3 className = { classes . heading } > Platinum</ h3 >
143
111
< List
144
112
items = { sponsorPlatinum }
145
- className = "grid-cols-2 "
113
+ className = "flex "
146
114
linkClassName = "p-8 lg:py-14 h-28 lg:h-[210px]"
147
- />
148
- < h3 className = { classes . heading } > Gold</ h3 >
115
+ /> </ > ) }
116
+ { sponsorGold . length && ( < > < h3 className = { classes . heading } > Gold</ h3 >
149
117
< List
150
118
items = { sponsorGold }
151
- className = "grid-cols-2 xl:grid-cols-3 "
119
+ className = "flex "
152
120
linkClassName = "p-8 lg:py-14 h-28 lg:h-[170px]"
153
- />
154
- < h3 className = { classes . heading } > Silver</ h3 >
121
+ /> </ > ) }
122
+ { sponsorSilver . length && ( < > < h3 className = { classes . heading } > Silver</ h3 >
155
123
< List
156
124
items = { sponsorSilver }
157
- className = "grid-cols-2 xl:grid-cols-4 "
125
+ className = "flex "
158
126
linkClassName = "p-6 lg:p-10 h-28 lg:h-[155px]"
159
- />
160
- < h3 className = { classes . heading } > Workshop Day Sponsor</ h3 >
127
+ /> </ > ) }
128
+ { workshopDaySponsors . length && ( < > < h3 className = { classes . heading } > Workshop Day Sponsor</ h3 >
161
129
< List
162
130
items = { workshopDaySponsors }
163
- className = "grid-cols-2 lg:grid-cols-1 lg:w-1/2 mx-auto "
131
+ className = "flex "
164
132
linkClassName = "p-8 lg:p-10 h-28 lg:h-[155px]"
165
- />
133
+ /> </ > ) }
166
134
</ div >
167
- < div className = "container py-24" >
135
+ { /* <div className="container py-24">
168
136
<h1 className={classes.title}>Partners</h1>
169
137
<h3 className={classes.heading}>Media Partners</h3>
170
138
<List
@@ -178,7 +146,7 @@ export function Sponsors() {
178
146
className="grid-cols-2 xl:grid-cols-4"
179
147
linkClassName="p-6 lg:p-10 h-28 lg:h-[155px]"
180
148
/>
181
- </ div >
149
+ </div> */ }
182
150
</ div >
183
151
)
184
152
}
0 commit comments