update event detail

This commit is contained in:
tree🌴 2024-02-24 03:07:17 +01:00
parent 54f805e527
commit 295282695f
4 changed files with 53 additions and 7 deletions

View File

@ -81,7 +81,7 @@ function filterCoreTeam(person) {
</div> </div>
<div class="flex gap-4 lg:gap-6 pt-4 flex-wrap mt-4 mb-14"> <div class="flex gap-4 lg:gap-6 pt-4 flex-wrap mt-4 mb-14">
<a href="https://cfp.web3privacy.info" class="button inverted"><button>Submit your proposal (CfP)</button></a> <a href={core.links.cfp} class="button inverted"><button>Submit your proposal (CfP)</button></a>
</div> </div>

View File

@ -7,7 +7,7 @@ import core from "../core.json";
--- ---
{item.speakers && {item.speakers &&
<div class="mt-6 mb-6"> <div class="my-6">
<h2>Speakers ({item.speakers.length})</h2> <h2>Speakers ({item.speakers.length})</h2>
<div class="w3pn-speaker-list grid grid-cols-1 gap-6 mt-4"> <div class="w3pn-speaker-list grid grid-cols-1 gap-6 mt-4">
{item.speakers.map(spId => getSpeaker(core, spId)).map((speaker) => ( {item.speakers.map(spId => getSpeaker(core, spId)).map((speaker) => (
@ -25,5 +25,20 @@ import core from "../core.json";
</div> </div>
))} ))}
</div> </div>
<div class="mt-8">
<a href={core.links.cfp} class="button inverted"><button>Submit proposal (CfP)</button></a>
</div>
</div>
}
{!item.speakers &&
<div class="my-6">
<h2>Speakers (0)</h2>
<div class="mt-4">Stay tuned. Speakers coming :-)</div>
<div class="mt-6">
<a href={core.links.cfp} class="button inverted"><button>Submit proposal (CfP)</button></a>
</div>
</div> </div>
} }

View File

@ -15,7 +15,8 @@
"forum": "https://forum.web3privacy.info", "forum": "https://forum.web3privacy.info",
"explorer": "https://explorer.web3privacy.info", "explorer": "https://explorer.web3privacy.info",
"news": "https://news.web3privacy.info", "news": "https://news.web3privacy.info",
"telegram": "https://t.me/web3privacynow" "telegram": "https://t.me/web3privacynow",
"cfp": "https://cfp.web3privacy.info"
}, },
"core-team": [ "core-team": [
{ {
@ -639,6 +640,7 @@
}, },
{ {
"id": "w3pm-ath1", "id": "w3pm-ath1",
"issue": 22,
"type": "meetup", "type": "meetup",
"date": "2024/Mar", "date": "2024/Mar",
"city": "Athens", "city": "Athens",
@ -654,6 +656,7 @@
}, },
{ {
"id": "w3pm-buc1", "id": "w3pm-buc1",
"issue": 8,
"type": "meetup", "type": "meetup",
"date": "2024-03-28", "date": "2024-03-28",
"city": "Bucharest", "city": "Bucharest",
@ -676,6 +679,7 @@
}, },
{ {
"id": "w3pm-ams1", "id": "w3pm-ams1",
"issue": 9,
"type": "meetup", "type": "meetup",
"date": "2024-04-11", "date": "2024-04-11",
"city": "Amsterdam", "city": "Amsterdam",
@ -699,6 +703,7 @@
}, },
{ {
"id": "w3pm-tal1", "id": "w3pm-tal1",
"issue": 10,
"type": "meetup", "type": "meetup",
"date": "2024-04-18", "date": "2024-04-18",
"city": "Tallinn", "city": "Tallinn",
@ -713,6 +718,7 @@
}, },
{ {
"id": "w3pm-por1", "id": "w3pm-por1",
"issue": 21,
"type": "meetup", "type": "meetup",
"date": "2024/May", "date": "2024/May",
"city": "Porto", "city": "Porto",
@ -726,6 +732,7 @@
}, },
{ {
"id": "w3pm-ber1", "id": "w3pm-ber1",
"issue": 6,
"type": "meetup", "type": "meetup",
"tags": [ "tags": [
"sfe" "sfe"
@ -751,6 +758,7 @@
}, },
{ {
"id": "w3ps3", "id": "w3ps3",
"issue": 11,
"type": "summit", "type": "summit",
"date": "2024-05-30", "date": "2024-05-30",
"city": "Prague", "city": "Prague",
@ -774,6 +782,7 @@
}, },
{ {
"id": "w3ph1", "id": "w3ph1",
"issue": 7,
"type": "hackathon", "type": "hackathon",
"date": "2024-06-19", "date": "2024-06-19",
"days": 7, "days": 7,
@ -803,6 +812,7 @@
}, },
{ {
"id": "w3pm-lju1", "id": "w3pm-lju1",
"issue": 12,
"type": "meetup", "type": "meetup",
"date": "2024-06-21", "date": "2024-06-21",
"city": "Ljubljana", "city": "Ljubljana",
@ -824,6 +834,7 @@
}, },
{ {
"id": "w3pm-bcn1", "id": "w3pm-bcn1",
"issue": 20,
"type": "meetup", "type": "meetup",
"date": "2024/Jul", "date": "2024/Jul",
"city": "Barcelona", "city": "Barcelona",
@ -834,6 +845,7 @@
}, },
{ {
"id": "w3pm-bru1", "id": "w3pm-bru1",
"issue": 16,
"type": "meetup", "type": "meetup",
"date": "2024-07-12", "date": "2024-07-12",
"city": "Brussels", "city": "Brussels",
@ -853,6 +865,7 @@
}, },
{ {
"id": "w3pm-waw1", "id": "w3pm-waw1",
"issue": 19,
"type": "meetup", "type": "meetup",
"date": "2024/Sep", "date": "2024/Sep",
"city": "Warsaw", "city": "Warsaw",
@ -864,6 +877,7 @@
}, },
{ {
"id": "w3pm-cph1", "id": "w3pm-cph1",
"issue": 18,
"type": "meetup", "type": "meetup",
"date": "2024/Sep", "date": "2024/Sep",
"city": "Copenhagen", "city": "Copenhagen",
@ -878,6 +892,7 @@
}, },
{ {
"id": "w3pm-rom2", "id": "w3pm-rom2",
"issue": 13,
"type": "meetup", "type": "meetup",
"date": "2024-10-04", "date": "2024-10-04",
"city": "Rome", "city": "Rome",
@ -898,17 +913,19 @@
}, },
{ {
"id": "pc-rome-2024", "id": "pc-rome-2024",
"issue": 23,
"type": "privacy-corner", "type": "privacy-corner",
"date": "2024-10-04", "date": "2024-10-04",
"days": 3, "days": 3,
"city": "Brno", "city": "Rome",
"country": "cz", "country": "it",
"coincidence": "ETHRome", "coincidence": "ETHRome",
"coincidenceFull": "ETHRome 2024", "coincidenceFull": "ETHRome 2024",
"lead": "Tree" "lead": "Tree"
}, },
{ {
"id": "w3ps4", "id": "w3ps4",
"issue": 14,
"type": "summit", "type": "summit",
"date": "2024-10-24", "date": "2024-10-24",
"city": "Brno", "city": "Brno",
@ -932,6 +949,7 @@
}, },
{ {
"id": "pc-brno-2024", "id": "pc-brno-2024",
"issue": 24,
"type": "privacy-corner", "type": "privacy-corner",
"date": "2024-10-25", "date": "2024-10-25",
"days": 3, "days": 3,
@ -943,6 +961,7 @@
}, },
{ {
"id": "w3pm-dc1", "id": "w3pm-dc1",
"issue": 15,
"type": "meetup", "type": "meetup",
"date": "2024-11-11", "date": "2024-11-11",
"city": "Bangkok", "city": "Bangkok",

View File

@ -60,8 +60,6 @@ const ext = findExt(EventsExt, item)
<span>n/a</span> <span>n/a</span>
} }
</div> </div>
<div>Lead: <span class="text-white">{item.lead || 'n/a'}</span></div>
<div class="mt-4 mb-2"> <div class="mt-4 mb-2">
{item.links?.rsvp && {item.links?.rsvp &&
<a href={item.links.rsvp} class="button inverted"><button>{status.title === 'Pre-registration' ? 'Pre-registration' : 'Registration'}</button></a> <a href={item.links.rsvp} class="button inverted"><button>{status.title === 'Pre-registration' ? 'Pre-registration' : 'Registration'}</button></a>
@ -74,6 +72,20 @@ const ext = findExt(EventsExt, item)
</div> </div>
</div> </div>
<div class="bg-[#0f0f0f] px-4 py-2 mt-6 flex gap-6 w-full">
<div>ID: <span class="py-1 px-2 rounded bg-white/70 text-black">{item.id}</span></div>
<div>Lead: <span class="">{item.lead || 'n/a'}</span></div>
<div class="grow flex items-right justify-end gap-6">
{item.links?.rsvp &&
<a href={item.links.rsvp} class="hover:text-white">Lu.ma</a>
}
{item.issue &&
<a href={`https://github.com/web3privacy/events/issues/${item.issue}`} class="hover:text-white">PM</a>
}
<a href="https://github.com/web3privacy/data/blob/main/src/events/index.yaml" class="hover:text-white">Source</a>
</div>
</div>
<SpeakerList {item} thumbSize="big"/> <SpeakerList {item} thumbSize="big"/>
</div> </div>