🔢 Add dynamic badge to sidebar map item displaying total meetup count

This commit is contained in:
HolgerHatGarKeineNode
2025-11-23 23:26:21 +01:00
parent 2651ec360e
commit 9da218c6a0

View File

@@ -40,7 +40,7 @@
</flux:navlist.item>
<flux:navlist.item icon="map" :href="route_with_country('meetups.map-world')"
:current="request()->routeIs('meetups.map-world')"
wire:navigate>
wire:navigate badge="{{ \App\Models\Meetup::query()->count() }}">
<div class="flex items-center space-x-2">
<span>{{ __('Welt-Karte') }}</span>
<flux:icon name="globe-europe-africa"/>