Skip to content

Commit 6eda826

Browse files
jemgillambenjie
andauthored
GraphQL Locals: Update meet up details (#2111)
* Update meet up details * Improved ordering * Update from spreadsheet * Reorder, add hamburg --------- Co-authored-by: Benjie Gillam <[email protected]>
1 parent 690c5eb commit 6eda826

File tree

2 files changed

+167
-49
lines changed

2 files changed

+167
-49
lines changed

src/components/meetups.ts

Lines changed: 154 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,78 @@
1+
// This file is auto-generated, please contact [email protected] to update
12
export const meetups = [
23
{
34
node: {
45
id: "london",
56
name: "London GraphQL",
6-
link: "https://guild.host/london-graphql/events",
7-
city: "London",
87
latitude: 51.51,
98
longitude: -0.12,
9+
city: "London",
10+
state: "",
11+
country: "UK",
12+
link: "https://guild.host/london-graphql",
13+
prev: "2025-07-01",
14+
next: "October 2025",
15+
official: true,
16+
},
17+
},
18+
{
19+
node: {
20+
id: "hyderabad",
21+
name: "GraphQL Hyderabad",
22+
latitude: 17.41,
23+
longitude: 78.48,
24+
city: "Hyderabad",
25+
state: "",
26+
country: "India",
27+
link: "https://guild.host/graphql-hyderabad/",
28+
prev: "2025-08-09",
29+
next: "",
30+
official: true,
1031
},
1132
},
1233
{
1334
node: {
1435
id: "sydney",
1536
name: "GraphQL Sydney",
16-
link: "https://graphql.sydney/",
17-
city: "Sydney",
1837
latitude: -33.86,
1938
longitude: 151.2,
39+
city: "Sydney",
40+
state: "",
41+
country: "Australia",
42+
link: "https://luma.com/graphql-sydney",
43+
prev: "2024-11-12",
44+
next: "",
45+
official: false,
46+
},
47+
},
48+
{
49+
node: {
50+
id: "nairobe",
51+
name: "GraphQL Nairobe",
52+
latitude: -1.29,
53+
longitude: 36.82,
54+
city: "Nairobe",
55+
state: "",
56+
country: "Kenya",
57+
link: "https://www.meetup.com/nairobi-graphql-meetup/",
58+
prev: "",
59+
next: "",
60+
official: false,
2061
},
2162
},
2263
{
2364
node: {
2465
id: "20451795",
25-
name: "ATX GraphQL",
66+
name: "GraphQL Austin",
2667
latitude: 30.27,
2768
longitude: -97.71,
2869
city: "Austin",
2970
state: "TX",
30-
country: "us",
71+
country: "USA",
3172
link: "https://www.meetup.com/atx-graphql",
73+
prev: "2025-08-24",
74+
next: "",
75+
official: true,
3276
},
3377
},
3478
{
@@ -39,8 +83,11 @@ export const meetups = [
3983
longitude: -122.42,
4084
city: "San Francisco",
4185
state: "CA",
42-
country: "us",
43-
link: "https://www.meetup.com/sf-graphql",
86+
country: "USA",
87+
link: "http://meetup.com/GraphQL-SF",
88+
prev: "",
89+
next: "",
90+
official: false,
4491
},
4592
},
4693
{
@@ -49,76 +96,118 @@ export const meetups = [
4996
name: "GraphQL Zurich",
5097
latitude: 47.38,
5198
longitude: 8.54,
52-
city: "Zürich",
99+
city: "Zurich",
53100
state: "",
54-
country: "ch",
101+
country: "Switzerland",
55102
link: "https://www.meetup.com/graphql-zurich",
103+
prev: "",
104+
next: "",
105+
official: false,
106+
},
107+
},
108+
{
109+
node: {
110+
id: "paris",
111+
name: "GraphQL Paris",
112+
latitude: 48.85,
113+
longitude: 2.35,
114+
city: "Paris",
115+
state: "",
116+
country: "France",
117+
link: "https://www.meetup.com/fr-FR/parisgraphql/",
118+
prev: "",
119+
next: "2025-10-22",
120+
official: true,
56121
},
57122
},
58123
{
59124
node: {
60125
id: "29671383",
61-
name: "GraphQL Seattle",
126+
name: "Seattle GraphQL",
62127
latitude: 47.61,
63128
longitude: -122.33,
64129
city: "Seattle",
65130
state: "WA",
66-
country: "us",
131+
country: "USA",
67132
link: "https://www.meetup.com/graphql-seattle",
133+
prev: "",
134+
next: "",
135+
official: false,
68136
},
69137
},
70138
{
71139
node: {
72140
id: "20208222",
73-
name: "Amsterdam GraphQL Meetup",
141+
name: "GraphQL Amsterdam",
74142
latitude: 52.37,
75143
longitude: 4.89,
76144
city: "Amsterdam",
77145
state: "",
78-
country: "nl",
146+
country: "Netherlands",
79147
link: "https://www.meetup.com/amsterdam-graphql-meetup",
148+
prev: "2025-09-07",
149+
next: "",
150+
official: true,
80151
},
81152
},
82153
{
83154
node: {
84155
id: "37102548",
85-
name: "GraphQL Gathering EU in Berlin",
156+
name: "GraphQL Berlin",
86157
latitude: 52.52,
87-
longitude: 13.38,
158+
longitude: 13.4,
88159
city: "Berlin",
89160
state: "",
90-
country: "de",
91-
link: "https://www.meetup.com/graphql-gathering-eu",
161+
country: "Germany",
162+
link: "https://www.meetup.com/graphql-berlin/",
163+
prev: "2025-09-11",
164+
next: "",
165+
official: false,
92166
},
93167
},
94168
{
95169
node: {
96170
id: "new-york",
97171
name: "GraphQL New York",
98-
link: "https://guild.host/graphql-new-york/events",
99-
city: "New York",
100172
latitude: 40.73,
101173
longitude: -73.94,
174+
city: "New York",
175+
state: "NY",
176+
country: "USA",
177+
link: "https://guild.host/graphql-new-york/events",
178+
prev: "",
179+
next: "",
180+
official: false,
102181
},
103182
},
104183
{
105184
node: {
106185
id: "bangkok",
107186
name: "GraphQL Bangkok",
108-
link: "https://www.meetup.com/graphql-bangkok",
109-
city: "Bangkok",
110187
latitude: 13.75,
111188
longitude: 100.5,
189+
city: "Bangkok",
190+
state: "",
191+
country: "Thailand",
192+
link: "https://www.meetup.com/graphql-bangkok",
193+
prev: "",
194+
next: "",
195+
official: false,
112196
},
113197
},
114198
{
115199
node: {
116200
id: "taipei",
117201
name: "GraphQL Taipei",
118-
link: "https://guild.host/graphql-taipei/events",
119-
city: "Taipei",
120202
latitude: 25.11,
121203
longitude: 121.6,
204+
city: "Taipei",
205+
state: "",
206+
country: "Taiwan",
207+
link: "https://guild.host/graphql-taipei/events",
208+
prev: "",
209+
next: "",
210+
official: false,
122211
},
123212
},
124213
{
@@ -129,40 +218,56 @@ export const meetups = [
129218
longitude: 34.77,
130219
city: "Tel Aviv-Yafo",
131220
state: "",
132-
country: "il",
221+
country: "Israel",
133222
link: "https://www.meetup.com/graphql-tlv",
223+
prev: "",
224+
next: "",
225+
official: false,
134226
},
135227
},
136228
{
137229
node: {
138-
id: "bali",
139-
name: "GraphQL Bali",
140-
link: "https://guild.host/graphql-bali/events",
141-
city: "Bali",
142-
latitude: -8.41,
143-
longitude: 115.19,
230+
id: "oslo",
231+
name: "GraphQL Oslo",
232+
latitude: 59.91,
233+
longitude: 10.75,
234+
city: "Oslo",
235+
state: "",
236+
country: "Norway",
237+
link: "https://guild.host/graphql-oslo/",
238+
prev: "",
239+
next: "",
240+
official: true,
144241
},
145242
},
146243
{
147244
node: {
148-
id: "bangalore",
149-
name: "GraphQL Bangalore",
150-
link: "https://www.meetup.com/graphql-bangalore",
151-
city: "Bangkok",
152-
latitude: 12.97,
153-
longitude: 77.59,
245+
id: "bialystock",
246+
name: "GraphQL Białystok",
247+
latitude: 53.13,
248+
longitude: 23.16,
249+
city: "Białystok",
250+
state: "",
251+
country: "Poland",
252+
link: "https://guild.host/graphql-bialystok/",
253+
prev: "",
254+
next: "",
255+
official: true,
154256
},
155257
},
156258
{
157259
node: {
158260
id: "32869172",
159-
name: "Copenhagen GraphQL Meetup Group",
261+
name: "Copenhagen GraphQL",
160262
latitude: 55.68,
161263
longitude: 12.57,
162264
city: "Copenhagen",
163265
state: "",
164-
country: "dk",
266+
country: "Denmark",
165267
link: "https://www.meetup.com/copenhagen-graphql-meetup-group",
268+
prev: "",
269+
next: "",
270+
official: false,
166271
},
167272
},
168273
{
@@ -173,8 +278,15 @@ export const meetups = [
173278
longitude: 10,
174279
city: "Hamburg",
175280
state: "",
176-
country: "de",
177-
link: "https://www.meetup.com/graphql-hamburg",
281+
country: "Germany",
282+
link: "https://www.meetup.com/graphql-hamburg/",
283+
prev: "",
284+
next: "",
285+
official: false,
178286
},
179287
},
180-
]
288+
].sort((a, z) =>
289+
a.node.name
290+
.replace(/\s*GraphQL\s*/, "")
291+
.localeCompare(z.node.name.replace(/\s*GraphQL\s*/, "")),
292+
)

src/pages/community/events.mdx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import "leaflet/dist/leaflet.css"
1616
import pinkCircle from "./pink-circle.svg"
1717
import { Button } from '../../app/conf/_components/button'
1818

19-
export function EventCard({ href, date, city, name, meta }) {
19+
export function EventCard({ href, date, city, name, meta, official }) {
2020
return (
2121
<a
2222
href={href}
@@ -28,7 +28,7 @@ export function EventCard({ href, date, city, name, meta }) {
2828
target="_blank"
2929
rel="noreferrer"
3030
>
31-
{date && (
31+
{date && date instanceof Date && (
3232
<div className="shrink-0 flex flex-col justify-center items-center bg-zinc-100 dark:bg-zinc-800 group-hover:dark:bg-zinc-700 lg:w-48 w-28">
3333
<div className="text-5xl lg:text-7xl font-bold">{date.getDate()}</div>
3434
<div className="text-sm lg:text-lg">
@@ -41,7 +41,7 @@ export function EventCard({ href, date, city, name, meta }) {
4141
)}
4242
<div className="bg-white dark:bg-neutral-900 group-hover:dark:bg-zinc-800 grow py-4 lg:py-7 px-5 lg:px-10 flex flex-col gap-4">
4343
<b className="text-primary max-lg:text-xs">{meta}</b>
44-
<div className="font-bold text-lg lg:text-2xl">{name}</div>
44+
<div className="font-bold text-lg lg:text-2xl">{name}{official ? <>{" "}<span title="Official GraphQL Local">⭐️</span></> : ""}</div>
4545
<div className="text-xs lg:text-lg flex flex-wrap lg:gap-x-6 gap-2">
4646
<div className="flex items-center gap-2">
4747
<LocationIcon className="fill-primary size-5" />
@@ -93,18 +93,18 @@ export function Events({ events }) {
9393
)
9494
}
9595

96+
{/*
9697
## Events
9798
9899
<Events events={upcomingEvents} />
99100
100-
<Button href="/community/foundation/local-initiative" className="mx-auto my-6 !block">
101-
Start a GraphQL Local!
102-
</Button>
101+
103102
104103
<details>
105104
<summary>Past Events</summary>
106105
<Events events={pastEvents} />
107106
</details>
107+
*/}
108108

109109
## Meetups
110110

@@ -115,6 +115,10 @@ happy to promote your GraphQL event through the
115115
Please contact us in the `#meetups-admin` channel on
116116
[the community Discord channel](/community/#official-channels).
117117

118+
<Button href="/community/foundation/local-initiative" className="mx-auto my-6 !block">
119+
Start a GraphQL Local!
120+
</Button>
121+
118122
export function Meetups() {
119123
useEffect(() => {
120124
// Load only on client
@@ -144,7 +148,9 @@ export function Meetups() {
144148
key={node.id}
145149
href={node.link}
146150
name={node.name}
147-
city={node.city}
151+
city={node.city + ", " + node.country}
152+
official={node.official}
153+
date={node.next || node.prev}
148154
/>
149155
))}
150156
</>

0 commit comments

Comments
 (0)