Skip to content

Commit db0c448

Browse files
authored
update og images (graphql#1554)
1 parent dd723f7 commit db0c448

File tree

134 files changed

+39
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+39
-26
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"repository": "graphql/graphql.github.io website",
2+
"repository": "graphql/graphql.github.io website.",
33
"private": true,
44
"version": "0.0.0",
55
"scripts": {

src/components/Conf/Schedule/ScheduleList.tsx

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,14 @@ function getSessionsByDay(
117117

118118
interface Props {
119119
showEventType?: boolean
120+
showFilter?: boolean
120121
scheduleData: ScheduleSession[]
121122
filterSchedule?: (sessions: ScheduleSession[]) => ScheduleSession[]
122123
}
123124

124125
const ScheduleList: FC<Props> = ({
125126
showEventType,
127+
showFilter,
126128
filterSchedule,
127129
scheduleData,
128130
}) => {
@@ -148,27 +150,29 @@ const ScheduleList: FC<Props> = ({
148150
return (
149151
<>
150152
<div className="h-0.5 bg-gray-200 my-6" />
151-
<Filters
152-
categories={filterCategories}
153-
filterState={filtersState}
154-
onFilterChange={(category, option, checked) => {
155-
setFiltersState(prev => ({
156-
...prev,
157-
[category]: checked
158-
? [...prev[category as CategoryName], option]
159-
: prev[category as CategoryName].filter(
160-
option => option !== option
161-
),
162-
}))
163-
}}
164-
onReset={() => {
165-
setFiltersState({
166-
Audience: [],
167-
"Talk category": [],
168-
"Event type": [],
169-
})
170-
}}
171-
/>
153+
{showFilter && (
154+
<Filters
155+
categories={filterCategories}
156+
filterState={filtersState}
157+
onFilterChange={(category, option, checked) => {
158+
setFiltersState(prev => ({
159+
...prev,
160+
[category]: checked
161+
? [...prev[category as CategoryName], option]
162+
: prev[category as CategoryName].filter(
163+
option => option !== option
164+
),
165+
}))
166+
}}
167+
onReset={() => {
168+
setFiltersState({
169+
Audience: [],
170+
"Talk category": [],
171+
"Event type": [],
172+
})
173+
}}
174+
/>
175+
)}
172176
{Object.entries(sessionsState).length === 0 ? (
173177
<div className="text-gray-800 text-sm">
174178
<h3 className="mb-5">No sessions found</h3>
@@ -240,11 +244,16 @@ const ScheduleList: FC<Props> = ({
240244
<div className="group-hover:underline flex flex-col justify-between h-full gap-y-2">
241245
{showEventType ? eventType + " / " : ""}
242246
{eventTitle}
243-
{speakers.length > 0 && (
247+
<div className="flex flex-col">
248+
{speakers.length > 0 && (
249+
<span className="font-light">
250+
{speakers.join(", ")}
251+
</span>
252+
)}
244253
<span className="font-light">
245-
{speakers.join(", ")}
254+
Room: {session.venue}
246255
</span>
247-
)}
256+
</div>
248257
</div>
249258
</div>
250259
</a>

src/templates/speaker.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ const SpeakersTemplate: FC<
7777

7878
<div>
7979
<h1 className="!mb-0 pb-0">Sessions</h1>
80-
<ScheduleList showEventType scheduleData={schedule} />
80+
<ScheduleList
81+
showFilter={false}
82+
showEventType
83+
scheduleData={schedule}
84+
/>
8185
</div>
8286
</div>
8387
</div>

static/img/__og-image/adam.sayah.png

187 Bytes

static/img/__og-image/ajhingran.png

362 KB
-44 Bytes
17 Bytes

static/img/__og-image/benjie3.png

-61 Bytes
-19 Bytes

static/img/__og-image/david3103.png

-12 Bytes

static/img/__og-image/dotansimha.png

-4 Bytes

static/img/__og-image/eitan15.png

364 KB
10 Bytes

static/img/__og-image/gilgardosh.png

-33 Bytes

static/img/__og-image/hello2358.png

351 KB
-13 Bytes

static/img/__og-image/jamie855.png

5 Bytes

static/img/__og-image/jens63.png

364 KB
37 Bytes

static/img/__og-image/keith.babo.png

-6 Bytes

static/img/__og-image/kevin1700.png

334 KB

static/img/__og-image/laurinquast.png

-26 Bytes

static/img/__og-image/lyonwj1.png

42 Bytes

static/img/__og-image/marion84.png

366 KB

static/img/__og-image/mgiroux7.png

-16 Bytes
-32 Bytes
360 KB

static/img/__og-image/plgah.png

13 Bytes
346 KB
-110 Bytes
1 Byte
371 KB

static/img/__og-image/sspalding2.png

-30 Bytes
37 Bytes

static/img/__og-image/theo93.png

-16 Bytes
23 Bytes
38 Bytes
-42 Bytes
73 Bytes

static/img/__og-image/yczhu.png

57 Bytes

0 commit comments

Comments
 (0)