Map Mixin Update

This commit is contained in:
Dennis Reimann
2022-12-15 17:33:13 +01:00
parent 98c1c57d4f
commit 198e5dbae6

View File

@@ -32,7 +32,7 @@ mixin member(m)
if m.text if m.text
!=markdown(m.text) !=markdown(m.text)
mixin map(m) mixin map(meetups, hideTooltip)
- const filterOfficial = (list, official) => list.filter(meetup => (meetup.name.startsWith('Einundzwanzig') || meetup.name.startsWith('Einezwänzg')) === official) - const filterOfficial = (list, official) => list.filter(meetup => (meetup.name.startsWith('Einundzwanzig') || meetup.name.startsWith('Einezwänzg')) === official)
- const filterUnmapped = (list) => list.filter(meetup => !meetup.top || !meetup.left) - const filterUnmapped = (list) => list.filter(meetup => !meetup.top || !meetup.left)
- const style = m => m.top && m.left ? `top:${m.top}%;left:${m.left}%;` : null - const style = m => m.top && m.left ? `top:${m.top}%;left:${m.left}%;` : null
@@ -64,7 +64,8 @@ mixin map(m)
- j++ - j++
img#dach(src=assetPath('/img/dach.svg') alt="DE, AT, CH") img#dach(src=assetPath('/img/dach.svg') alt="DE, AT, CH")
#tooltip.tooltip(hidden) if !hideTooltip
#tooltip.tooltip(hidden)
#unmapped #unmapped
h2 Weitere Meetups h2 Weitere Meetups
ul.meetups ul.meetups