Update speaker counts
This commit is contained in:
rodič
1d71c29aaa
revize
ee0e231a81
|
@ -15,10 +15,12 @@
|
||||||
return !e.types.find((t) => ['conference', 'hackathon'].includes(t)) && !e.hidden;
|
return !e.types.find((t) => ['conference', 'hackathon'].includes(t)) && !e.hidden;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const speakers = processItemsList(data.bundle.speakers)
|
||||||
|
|
||||||
const collections = [
|
const collections = [
|
||||||
{ title: 'Days', value: 10, col: 'schedule' },
|
{ title: 'Days', value: 10, col: 'schedule' },
|
||||||
{ title: 'Events', col: 'events', filter: (e) => !e.hidden },
|
{ title: 'Events', col: 'events', filter: (e) => !e.hidden },
|
||||||
{ title: 'Speakers', col: 'speakers', value: processItemsList(data.bundle.speakers).length },
|
{ title: 'Speakers', col: 'speakers', value: speakers.length },
|
||||||
{ title: 'Places', col: 'places' },
|
{ title: 'Places', col: 'places' },
|
||||||
{ title: 'Media Partners', col: 'media-partners' },
|
{ title: 'Media Partners', col: 'media-partners' },
|
||||||
//{ title: "Blockchains", col: "chains" },
|
//{ title: "Blockchains", col: "chains" },
|
||||||
|
@ -68,14 +70,14 @@
|
||||||
<CollectionList arr={otherEvents} img="logo" col="event" {entry} />
|
<CollectionList arr={otherEvents} img="logo" col="event" {entry} />
|
||||||
</div>
|
</div>
|
||||||
<h2 class="text-2xl uppercase font-bold mt-10 pbw-text-color-secondary">
|
<h2 class="text-2xl uppercase font-bold mt-10 pbw-text-color-secondary">
|
||||||
<a href="/{entry}/speakers">Speakers</a> ({data.bundle.speakers.length})
|
<a href="/{entry}/speakers">Speakers</a> ({speakers.length})
|
||||||
</h2>
|
</h2>
|
||||||
<h2 class="text-xl uppercase font-bold mt-10 pbw-text-color-secondary">International 🌎</h2>
|
<h2 class="text-xl uppercase font-bold mt-10 pbw-text-color-secondary">International 🌎</h2>
|
||||||
<div
|
<div
|
||||||
class="grid grid-cols-3 sm:grid-cols-3 md:grid-cols-6 xl:grid-cols-8 my-6 text-center text-xl"
|
class="grid grid-cols-3 sm:grid-cols-3 md:grid-cols-6 xl:grid-cols-8 my-6 text-center text-xl"
|
||||||
>
|
>
|
||||||
<CollectionList
|
<CollectionList
|
||||||
arr={processItemsList(data.bundle.speakers.filter((s) => !['cz', 'sk'].includes(s.country)).sort((x, y) => (x.name > y.name ? 1 : -1)))}
|
arr={processItemsList(speakers.filter((s) => !['cz', 'sk'].includes(s.country)).sort((x, y) => (x.name > y.name ? 1 : -1)))}
|
||||||
{entry}
|
{entry}
|
||||||
offer="true"
|
offer="true"
|
||||||
/>
|
/>
|
||||||
|
@ -87,7 +89,7 @@
|
||||||
class="grid grid-cols-3 sm:grid-cols-3 md:grid-cols-6 xl:grid-cols-8 my-6 text-center text-xl"
|
class="grid grid-cols-3 sm:grid-cols-3 md:grid-cols-6 xl:grid-cols-8 my-6 text-center text-xl"
|
||||||
>
|
>
|
||||||
<CollectionList
|
<CollectionList
|
||||||
arr={processItemsList(data.bundle.speakers.filter((s) => ['cz', 'sk'].includes(s.country)).sort((x, y) => (x.name > y.name ? 1 : -1)))}
|
arr={processItemsList(speakers.filter((s) => ['cz', 'sk'].includes(s.country)).sort((x, y) => (x.name > y.name ? 1 : -1)))}
|
||||||
{entry}
|
{entry}
|
||||||
offer="true"
|
offer="true"
|
||||||
/>
|
/>
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu