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

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

View File

@@ -22,16 +22,18 @@ block main
ul.meetups
each m in filterOfficial(meetups, true)
li.official(style=`top:${m.top}%;left:${m.left}%;`)
.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 ', '')
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 ', '')
- j++
h2 Weitere Meetups
ul.meetups
each m in filterOfficial(meetups, false)
li(style=`top:${m.top}%;left:${m.left}%;`)
.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
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
- j++
img(src=assetPath('/img/dach.svg') alt="DE, AT, CH")