This commit is contained in:
tree 2022-11-09 17:34:39 +01:00
rodič dd712f54d4
revize e077eb7cbb
5 změnil soubory, kde provedl 141 přidání a 73 odebrání

Zobrazit soubor

@ -313,6 +313,7 @@ contributors:
twitter: vorcigernix twitter: vorcigernix
bio: Website, community calls | Zitrone founder, member of Developer DAO and Forefront bio: Website, community calls | Zitrone founder, member of Developer DAO and Forefront
roles: [ team ] roles: [ team ]
pretalxId: 18
- id: hedvika - id: hedvika
name: Hedvika name: Hedvika

Zobrazit soubor

@ -38,7 +38,8 @@
"bio": "Hackoholic Cryptonaut - Early Ethereum dev and blockchain pioneer", "bio": "Hackoholic Cryptonaut - Early Ethereum dev and blockchain pioneer",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 45
}, },
{ {
"id": "rachel-oleary", "id": "rachel-oleary",
@ -68,7 +69,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 47
}, },
{ {
"id": "pavol-luptak", "id": "pavol-luptak",
@ -79,7 +81,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 5
}, },
{ {
"id": "dcbuilder", "id": "dcbuilder",
@ -110,7 +113,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"mentor" "mentor"
] ],
"pretalxId": 41
}, },
{ {
"id": "william-mitsuda", "id": "william-mitsuda",
@ -120,7 +124,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 10
}, },
{ {
"id": "vojtech-simetka", "id": "vojtech-simetka",
@ -140,7 +145,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"mentor" "mentor"
] ],
"pretalxId": 15
}, },
{ {
"id": "radek-svarz", "id": "radek-svarz",
@ -149,7 +155,8 @@
"bio": "dCZK, Apus.finance", "bio": "dCZK, Apus.finance",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 2
}, },
{ {
"id": "lauri-peltonen", "id": "lauri-peltonen",
@ -159,7 +166,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"mentor" "mentor"
] ],
"pretalxId": 4
}, },
{ {
"id": "jakub-jedlinsky", "id": "jakub-jedlinsky",
@ -168,7 +176,8 @@
"bio": "Macroeconomist and analyst - Altlift.cz, lecturer at KMEV VŠE", "bio": "Macroeconomist and analyst - Altlift.cz, lecturer at KMEV VŠE",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 21
}, },
{ {
"id": "steffen-kux", "id": "steffen-kux",
@ -177,7 +186,8 @@
"bio": "Co-founder, researcher, and developer at corpus.ventures", "bio": "Co-founder, researcher, and developer at corpus.ventures",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 17
}, },
{ {
"id": "max-hampshire", "id": "max-hampshire",
@ -187,7 +197,8 @@
"bio": "Developer Relations for Nym, previously a smart contract developer and researcher", "bio": "Developer Relations for Nym, previously a smart contract developer and researcher",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 11
}, },
{ {
"id": "danish-shabbir", "id": "danish-shabbir",
@ -196,7 +207,8 @@
"bio": "Privacy researcher and a fiction writer", "bio": "Privacy researcher and a fiction writer",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 12
}, },
{ {
"id": "jan-zibner", "id": "jan-zibner",
@ -205,7 +217,8 @@
"bio": "Lawyer specialising in intellectual property law and digital trends @ Artiffine", "bio": "Lawyer specialising in intellectual property law and digital trends @ Artiffine",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 22
}, },
{ {
"id": "dhadrien", "id": "dhadrien",
@ -215,7 +228,8 @@
"remote": true, "remote": true,
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 25
}, },
{ {
"id": "chris-blec", "id": "chris-blec",
@ -225,7 +239,8 @@
"remote": true, "remote": true,
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 38
}, },
{ {
"id": "six", "id": "six",
@ -235,7 +250,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"judge" "judge"
] ],
"pretalxId": 6
}, },
{ {
"id": "nikete", "id": "nikete",
@ -245,7 +261,8 @@
"roles": [ "roles": [
"mentor", "mentor",
"speaker" "speaker"
] ],
"pretalxId": 27
}, },
{ {
"id": "mykola-siusko", "id": "mykola-siusko",
@ -254,7 +271,8 @@
"bio": "Web3 fixer | Curing surveillance capitalism", "bio": "Web3 fixer | Curing surveillance capitalism",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 28
}, },
{ {
"id": "roman-mazur", "id": "roman-mazur",
@ -263,7 +281,8 @@
"bio": "CEO & Co-founder @ Wido", "bio": "CEO & Co-founder @ Wido",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 37
}, },
{ {
"id": "kurt-opsahl", "id": "kurt-opsahl",
@ -273,7 +292,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 3
}, },
{ {
"id": "robert-de-groot", "id": "robert-de-groot",
@ -283,7 +303,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 29
}, },
{ {
"id": "anirudha-bose", "id": "anirudha-bose",
@ -292,7 +313,8 @@
"bio": "Wallet Engineer at Brave", "bio": "Wallet Engineer at Brave",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 33
}, },
{ {
"id": "felix-leupold", "id": "felix-leupold",
@ -302,7 +324,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 39
}, },
{ {
"id": "luca", "id": "luca",
@ -312,7 +335,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 40
}, },
{ {
"id": "mario-havel", "id": "mario-havel",
@ -342,7 +366,8 @@
"roles": [ "roles": [
"advisor", "advisor",
"judge" "judge"
] ],
"pretalxId": 48
}, },
{ {
"id": "gabari", "id": "gabari",
@ -408,7 +433,8 @@
"bio": "Website, community calls | Zitrone founder, member of Developer DAO and Forefront", "bio": "Website, community calls | Zitrone founder, member of Developer DAO and Forefront",
"roles": [ "roles": [
"team" "team"
] ],
"pretalxId": 18
}, },
{ {
"id": "hedvika", "id": "hedvika",
@ -501,6 +527,6 @@
"url": "https://worldcoin.org/" "url": "https://worldcoin.org/"
} }
], ],
"time": "2022-11-09T15:43:11.590Z", "time": "2022-11-09T16:32:04.176Z",
"version": "v2022-10-16" "version": "v2022-10-16"
} }

Zobrazit soubor

@ -1,8 +1,9 @@
/** @type {import('./$types').PageLoad} */ /** @type {import('./$types').PageLoad} */
import events from '$lib/events.json'; import events from '$lib/events.json';
import { contributorTypes, contributors } from '$lib/data.json';
export const prerender = true; export const prerender = true;
export async function load() { export async function load() {
return { events }; return { events, contributors };
} }

Zobrazit soubor

@ -1,4 +1,7 @@
<script> <script>
import { time_ranges_to_array } from "svelte/internal";
export let data; export let data;
const today = new Date().getDay(); const today = new Date().getDay();
let selectedDay = today === 5 || today === 6 || today === 0 ? today : 5; let selectedDay = today === 5 || today === 6 || today === 0 ? today : 5;
@ -23,6 +26,16 @@
]; ];
return `${dateObj.getHours()}:${minutes[0]} - ${endObj.getHours()}:${minutes[1]}`; return `${dateObj.getHours()}:${minutes[0]} - ${endObj.getHours()}:${minutes[1]}`;
} }
function contributorsData (arr) {
return arr.map(contributor => {
const item = data.contributors.find(c => c.pretalxId === contributor.id)
return {
id: item ? item.id : null,
name: item ? item.name : contributor.name
}
})
}
//console.log(filteredEvents); //console.log(filteredEvents);
</script> </script>
@ -84,25 +97,26 @@
<p class="leading-relaxed"> <p class="leading-relaxed">
{evt.description} {evt.description}
</p> </p>
<div class="col-start-2 row-start-1 row-end-3 mt-4 lg:mt-0 xl:mt-4"> {#if evt.speakers && evt.speakers.length > 0}
<dt class="sr-only">Speakers</dt> <div class="col-start-2 row-start-1 row-end-3 mt-4 lg:mt-0 xl:mt-4">
<dd class="flex justify-start -space-x-1.5"> <dt class="sr-only">Speakers</dt>
{#each evt.speakers || [] as speaker} <dd class="flex justify-start -space-x-1.5 gap-6">
<img {#each contributorsData(evt.speakers || []) as speaker}
src={`/photos/contributors/${speaker.id}.jpg`} <div class="flex gap-4">
alt={speaker.name} {#if speaker.id}
class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale" <img
loading="lazy" src={`/photos/contributors/${speaker.id}.jpg`}
/> alt={speaker.name}
{/each} class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale"
loading="lazy"
<p class="pl-4 flex space-x-2 divide-x "> />
{#each evt.speakers || [] as speaker} {/if}
<p class="pl-2">{speaker.name}</p> <p>{speaker.name}</p>
</div>
{/each} {/each}
</p> </dd>
</dd> </div>
</div> {/if}
</div> </div>
</div> </div>
</div> </div>

Zobrazit soubor

@ -38,7 +38,8 @@
"bio": "Hackoholic Cryptonaut - Early Ethereum dev and blockchain pioneer", "bio": "Hackoholic Cryptonaut - Early Ethereum dev and blockchain pioneer",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 45
}, },
{ {
"id": "rachel-oleary", "id": "rachel-oleary",
@ -68,7 +69,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 47
}, },
{ {
"id": "pavol-luptak", "id": "pavol-luptak",
@ -79,7 +81,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 5
}, },
{ {
"id": "dcbuilder", "id": "dcbuilder",
@ -110,7 +113,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"mentor" "mentor"
] ],
"pretalxId": 41
}, },
{ {
"id": "william-mitsuda", "id": "william-mitsuda",
@ -120,7 +124,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 10
}, },
{ {
"id": "vojtech-simetka", "id": "vojtech-simetka",
@ -140,7 +145,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"mentor" "mentor"
] ],
"pretalxId": 15
}, },
{ {
"id": "radek-svarz", "id": "radek-svarz",
@ -149,7 +155,8 @@
"bio": "dCZK, Apus.finance", "bio": "dCZK, Apus.finance",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 2
}, },
{ {
"id": "lauri-peltonen", "id": "lauri-peltonen",
@ -159,7 +166,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"mentor" "mentor"
] ],
"pretalxId": 4
}, },
{ {
"id": "jakub-jedlinsky", "id": "jakub-jedlinsky",
@ -168,7 +176,8 @@
"bio": "Macroeconomist and analyst - Altlift.cz, lecturer at KMEV VŠE", "bio": "Macroeconomist and analyst - Altlift.cz, lecturer at KMEV VŠE",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 21
}, },
{ {
"id": "steffen-kux", "id": "steffen-kux",
@ -177,7 +186,8 @@
"bio": "Co-founder, researcher, and developer at corpus.ventures", "bio": "Co-founder, researcher, and developer at corpus.ventures",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 17
}, },
{ {
"id": "max-hampshire", "id": "max-hampshire",
@ -187,7 +197,8 @@
"bio": "Developer Relations for Nym, previously a smart contract developer and researcher", "bio": "Developer Relations for Nym, previously a smart contract developer and researcher",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 11
}, },
{ {
"id": "danish-shabbir", "id": "danish-shabbir",
@ -196,7 +207,8 @@
"bio": "Privacy researcher and a fiction writer", "bio": "Privacy researcher and a fiction writer",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 12
}, },
{ {
"id": "jan-zibner", "id": "jan-zibner",
@ -205,7 +217,8 @@
"bio": "Lawyer specialising in intellectual property law and digital trends @ Artiffine", "bio": "Lawyer specialising in intellectual property law and digital trends @ Artiffine",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 22
}, },
{ {
"id": "dhadrien", "id": "dhadrien",
@ -215,7 +228,8 @@
"remote": true, "remote": true,
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 25
}, },
{ {
"id": "chris-blec", "id": "chris-blec",
@ -225,7 +239,8 @@
"remote": true, "remote": true,
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 38
}, },
{ {
"id": "six", "id": "six",
@ -235,7 +250,8 @@
"roles": [ "roles": [
"speaker", "speaker",
"judge" "judge"
] ],
"pretalxId": 6
}, },
{ {
"id": "nikete", "id": "nikete",
@ -245,7 +261,8 @@
"roles": [ "roles": [
"mentor", "mentor",
"speaker" "speaker"
] ],
"pretalxId": 27
}, },
{ {
"id": "mykola-siusko", "id": "mykola-siusko",
@ -254,7 +271,8 @@
"bio": "Web3 fixer | Curing surveillance capitalism", "bio": "Web3 fixer | Curing surveillance capitalism",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 28
}, },
{ {
"id": "roman-mazur", "id": "roman-mazur",
@ -263,7 +281,8 @@
"bio": "CEO & Co-founder @ Wido", "bio": "CEO & Co-founder @ Wido",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 37
}, },
{ {
"id": "kurt-opsahl", "id": "kurt-opsahl",
@ -273,7 +292,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 3
}, },
{ {
"id": "robert-de-groot", "id": "robert-de-groot",
@ -283,7 +303,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 29
}, },
{ {
"id": "anirudha-bose", "id": "anirudha-bose",
@ -292,7 +313,8 @@
"bio": "Wallet Engineer at Brave", "bio": "Wallet Engineer at Brave",
"roles": [ "roles": [
"speaker" "speaker"
] ],
"pretalxId": 33
}, },
{ {
"id": "felix-leupold", "id": "felix-leupold",
@ -302,7 +324,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 39
}, },
{ {
"id": "luca", "id": "luca",
@ -312,7 +335,8 @@
"roles": [ "roles": [
"speaker" "speaker"
], ],
"remote": true "remote": true,
"pretalxId": 40
}, },
{ {
"id": "mario-havel", "id": "mario-havel",
@ -342,7 +366,8 @@
"roles": [ "roles": [
"advisor", "advisor",
"judge" "judge"
] ],
"pretalxId": 48
}, },
{ {
"id": "gabari", "id": "gabari",
@ -408,7 +433,8 @@
"bio": "Website, community calls | Zitrone founder, member of Developer DAO and Forefront", "bio": "Website, community calls | Zitrone founder, member of Developer DAO and Forefront",
"roles": [ "roles": [
"team" "team"
] ],
"pretalxId": 18
}, },
{ {
"id": "hedvika", "id": "hedvika",
@ -501,6 +527,6 @@
"url": "https://worldcoin.org/" "url": "https://worldcoin.org/"
} }
], ],
"time": "2022-11-09T15:43:11.590Z", "time": "2022-11-09T16:32:04.176Z",
"version": "v2022-10-16" "version": "v2022-10-16"
} }