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
bio: Website, community calls | Zitrone founder, member of Developer DAO and Forefront
roles: [ team ]
pretalxId: 18
- id: hedvika
name: Hedvika

Zobrazit soubor

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

Zobrazit soubor

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

Zobrazit soubor

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

Zobrazit soubor

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