This commit is contained in:
tree 2023-04-20 17:28:52 +02:00
rodič 19e732af05
revize f87aa3dba6
19 změnil soubory, kde provedl 108 přidání a 4 odebrání

Zobrazit soubor

@ -0,0 +1,32 @@
import { Html5Entities } from "https://deno.land/x/html_entities@v1.0/mod.js";
const peopleMapper = {
"damsky": { country: "cz" },
"Petr Mensik": { country: "cz" },
"vikiival": { country: "sk" },
};
export async function data(tools) {
const $ = await tools.loadHtmlUrl("https://dotprague.xyz/");
const out = { speakers: [] };
for (const el of $("div.brxe-dmokxq.brxe-div").toArray()) {
const name = $("h3", el).text()
const item = {
id: tools.formatId(name),
name,
caption: $("a.brxe-text-basic", el).text(),
twitter: $('a[href^="https://twitter.com"]', el).attr("href")?.replace("https://twitter.com/", ""),
photoUrl: $("img.brxe-image", el).attr("data-src"),
};
if (peopleMapper[name]) {
Object.assign(item, peopleMapper[name]);
}
out.speakers.push(item);
}
return out;
}

Zobrazit soubor

@ -0,0 +1,70 @@
{
"speakers": [
{
"id": "marcel-ebert",
"name": "Marcel Ebert",
"caption": "Pendulum",
"twitter": "ebmarcel",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/taXu7kF_400x400-1.png",
"photo": "photos/speakers/marcel-ebert.png"
},
{
"id": "alice-und-bob",
"name": "Alice und Bob",
"caption": "Mangata",
"twitter": "alice_und_bob",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/GETK4_gV_400x400-1.png",
"photo": "photos/speakers/alice-und-bob.png"
},
{
"id": "ben-greenberg",
"name": "Ben Greenberg",
"caption": "Parity",
"twitter": "rabbigreenberg",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/v8cuLHIR_400x400-1.png",
"photo": "photos/speakers/ben-greenberg.png"
},
{
"id": "alexei-zamyatin",
"name": "Alexei Zamyatin",
"caption": "Interlay",
"twitter": "alexeiZamyatin",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/fMzaiaJD_400x400-1.png",
"photo": "photos/speakers/alexei-zamyatin.png"
},
{
"id": "damsky",
"name": "damsky",
"caption": "Kodadot",
"twitter": "helloitsdamsky",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/X6kLPyVf_400x400-1.png",
"country": "cz",
"photo": "photos/speakers/damsky.png"
},
{
"id": "vikiival",
"name": "vikiival",
"caption": "Kodadot",
"twitter": "vikiival",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/Nepomenovany.png",
"country": "sk",
"photo": "photos/speakers/vikiival.png"
},
{
"id": "petr-mensik",
"name": "Petr Mensik",
"caption": "Polkadotters",
"twitter": "petr_mensik",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/3AiH6zu0_400x400-1.png",
"country": "cz",
"photo": "photos/speakers/petr-mensik.png"
},
{
"id": "kasper-mai-jørgensen",
"name": "Kasper Mai Jørgensen",
"caption": "Polimec",
"photoUrl": "https://dotprague.xyz/wp-content/uploads/2023/04/1537446395744-1.png",
"photo": "photos/speakers/kasper-mai-jørgensen.png"
}
]
}

Zobrazit soubor

@ -9,7 +9,7 @@ poc = "Damsky"
date = "2023-06-05"
days = 2
times = "10:00-18:00"
venues = ["jatka78"]
venues = ["gabriel-loci"]
languages = ["english"]
attendees = 300
#tags = []
@ -22,9 +22,11 @@ Experience the future of blockchain technology at this 2-day Polkadot Conference
link = "https://form.dotprague.xyz/speaker"
[registration]
type = "invites"
link = "https://form.dotprague.xyz/attendee"
button = "Join waitlist"
type = "tickets"
link = "https://www.eventbrite.com/e/polkadot-prague-conference-tickets-616309487267"
price = "Free!"
status = "available"
button = "Reserve a spot!"
[links]
web = "https://dotprague.xyz/"

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 9.4 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 144 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 26 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 234 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 19 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 175 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 42 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 366 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 9.9 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 40 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 12 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 187 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 13 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 161 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 13 KiB

Binární soubor nebyl zobrazen.

Za

Šířka:  |  Výška:  |  Velikost: 60 KiB