Add meetup

This commit is contained in:
Dennis Reimann
2021-09-22 09:57:04 +02:00
parent fded1b6a82
commit 6d30453f16
3 changed files with 17 additions and 8 deletions

View File

@@ -38,8 +38,15 @@
"name": "Einundzwanzig Meetup Sachsen-Anhalt", "name": "Einundzwanzig Meetup Sachsen-Anhalt",
"region": "Sachsen-Anhalt", "region": "Sachsen-Anhalt",
"url": "https://t.me/Meetup21SA", "url": "https://t.me/Meetup21SA",
"top": 34, "top": 31,
"left": 56 "left": 53
},
{
"name": "Leipziger Bitcoin-Stammtisch",
"region": "Leipzig",
"url": "https://www.meetup.com/de-DE/Leipziger-Bitcoin-Stammtisch/",
"top": 35,
"left": 60
}, },
{ {
"name": "Einundzwanzig Meetup Köln", "name": "Einundzwanzig Meetup Köln",

View File

@@ -49,7 +49,7 @@
& .dot { & .dot {
content: ''; content: '';
position: absolute; position: absolute;
top: .3rem; top: .275rem;
left: -1.25rem; left: -1.25rem;
background: radial-gradient(currentColor 0%, rgba(255, 255, 255, 0) 100%); background: radial-gradient(currentColor 0%, rgba(255, 255, 255, 0) 100%);
animation-timing-function: linear; animation-timing-function: linear;

View File

@@ -22,16 +22,18 @@ block main
ul.meetups ul.meetups
each m in filterOfficial(meetups, true) each m in filterOfficial(meetups, true)
li.official(style=`top:${m.top}%;left:${m.left}%;`) 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;`) .dot(style=`animation-delay:${((j*2000) + random(3000))}ms;animation-duration:${meetups.length*2}s;`)
a(href=m.url target="_blank" rel="nofollow noopener")= m.name.replace('Einundzwanzig Meetup ', '') = m.name.replace('Einundzwanzig Meetup ', '')
- j++ - j++
h2 Weitere Meetups h2 Weitere Meetups
ul.meetups ul.meetups
each m in filterOfficial(meetups, false) each m in filterOfficial(meetups, false)
li(style=`top:${m.top}%;left:${m.left}%;`) li(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;`) .dot(style=`animation-delay:${((j*2000) + random(3000))}ms;animation-duration:${meetups.length*2}s;`)
a(href=m.url target="_blank" rel="nofollow noopener")= m.name = m.name
- j++ - j++
img(src=assetPath('/img/dach.svg') alt="DE, AT, CH") img(src=assetPath('/img/dach.svg') alt="DE, AT, CH")