Add meetups

This commit is contained in:
Dennis Reimann
2021-09-22 10:48:43 +02:00
parent 5c87ca1a4c
commit 89fc39528c
3 changed files with 47 additions and 18 deletions

View File

@@ -26,6 +26,7 @@
& img {
display: block;
width: 100%;
opacity: .5;
}
& ul {

View File

@@ -3,7 +3,7 @@ extends /template.pug
block vars
- const title = 'Meetups'
- const description = 'Eine Liste von Bitcoin-Meetups und Einundzwanzig-Treffen im D/A/CH-Raum.'
- const filterOfficial = (list, official) => list.filter(meetup => meetup.name.startsWith('Einundzwanzig Meetup ') === official)
- const filterOfficial = (list, official) => list.filter(meetup => meetup.name.startsWith('Einundzwanzig') === official)
- let j = 0
block main
@@ -24,7 +24,7 @@ block main
li.official(style=`top:${m.top}%;left:${m.left}%;`)
a(href=m.url target="_blank" rel="nofollow noopener")
.dot(style=`animation-delay:${((j*2000) + random(3000))}ms;animation-duration:${meetups.length*2}s;`)
= m.name.replace('Einundzwanzig Meetup ', '')
= m.name.replace('Einundzwanzig ', '')
- j++
h2 Weitere Meetups