feat: Add 'My Meetups' link to mobile navigation

This commit adds a new link 'My Meetups' to the mobile navigation in both
the 'Profile' and 'Meetups' sections, allowing users to access their meetups
directly from the mobile navigation. This should improve user experience by
providing a quicker and more intuitive navigation path to personal meetups.
This commit is contained in:
HolgerHatGarKeineNode
2024-01-07 10:38:12 +01:00
parent 7b8d32807c
commit 32e165ac42
2 changed files with 4 additions and 0 deletions

View File

@@ -24,5 +24,7 @@
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Meetup dates') }}</a> class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Meetup dates') }}</a>
<a href="{{ route('nostr.plebs') }}" <a href="{{ route('nostr.plebs') }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Plebs on Nostr') }}</a> class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Plebs on Nostr') }}</a>
<a href="{{ route('profile.meetups') }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('My meetups') }}</a>
</div> </div>
</div> </div>

View File

@@ -20,6 +20,8 @@
x-show="open" style="display: none;" x-cloak> x-show="open" style="display: none;" x-cloak>
<a href="{{ route('profile.show') }}" <a href="{{ route('profile.show') }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('My profile') }}</a> class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('My profile') }}</a>
<a href="{{ route('profile.meetups') }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('My meetups') }}</a>
<a href="{{ route('profile.wallet') }}" <a href="{{ route('profile.wallet') }}"
class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Change lightning wallet/pubkey') }}</a> class="block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold leading-7 text-gray-900 hover:bg-gray-50">{{ __('Change lightning wallet/pubkey') }}</a>
</div> </div>