This commit is contained in:
tree🌴 2024-02-21 16:38:28 +01:00
parent 78d46891a4
commit 09bf3e4b28
2 changed files with 16 additions and 3 deletions

View File

@ -50,15 +50,15 @@ function nameRenderer (item) {
switch (item.type) { switch (item.type) {
case 'summit': case 'summit':
num = item.id.match(/^w3ps(\d+)$/)[1] num = item.id.match(/^w3ps(\d+)$/)[1]
return `Summmit #${num} ${item.city}`// + (cc ? ` @ ${cc}` : '') return `W3PN Summmit #${num} ${item.city}`// + (cc ? ` @ ${cc}` : '')
break; break;
case 'meetup': case 'meetup':
num = item.id.match(/(\d+)$/) num = item.id.match(/(\d+)$/)
return `Meetup ${item.city} #${num ? num[1] : 'TBD'}`// + (cc ? ` @ ${cc}` : '') return `W3PN Meetup ${item.city} #${num ? num[1] : 'TBD'}`// + (cc ? ` @ ${cc}` : '')
break; break;
case 'hackathon': case 'hackathon':
num = item.id.match(/^w3ph(\d+)$/)[1] num = item.id.match(/^w3ph(\d+)$/)[1]
return `Hackathon #${num} ${item.city}`// + (cc ? ` @ ${cc}` : '') return `W3PN Hackathon #${num} ${item.city}`// + (cc ? ` @ ${cc}` : '')
break; break;
case 'privacy-corner': case 'privacy-corner':
return `Privacy Corner at `+ (item.coincidenceFull ? item.coincidenceFull : `${item.coincidence} ${year}`) return `Privacy Corner at `+ (item.coincidenceFull ? item.coincidenceFull : `${item.coincidence} ${year}`)

View File

@ -874,6 +874,17 @@
"mykola-siusko" "mykola-siusko"
] ]
}, },
{
"id": "pc-rome-2024",
"type": "privacy-corner",
"date": "2024-10-04",
"days": 3,
"city": "Brno",
"country": "cz",
"coincidence": "ETHRome",
"coincidenceFull": "ETHRome 2024",
"lead": "Tree"
},
{ {
"id": "w3ps4", "id": "w3ps4",
"type": "summit", "type": "summit",
@ -901,9 +912,11 @@
"id": "pc-brno-2024", "id": "pc-brno-2024",
"type": "privacy-corner", "type": "privacy-corner",
"date": "2024-10-25", "date": "2024-10-25",
"days": 3,
"city": "Brno", "city": "Brno",
"country": "cz", "country": "cz",
"coincidence": "ETHBrno", "coincidence": "ETHBrno",
"coincidenceFull": "ETHBrno3",
"lead": "Tree" "lead": "Tree"
}, },
{ {