mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Added a button to the landing-page and landing-page-event views in the meetup section. This button, when the nostr attribute contains 'npub1', links out to the corresponding Nostr page using the nostr attribute value.
This commit is contained in:
@@ -128,6 +128,17 @@
|
|||||||
</x-button>
|
</x-button>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
@if($meetup->nostr && str($meetup->nostr)->contains('npub1'))
|
||||||
|
<x-button
|
||||||
|
target="_blank"
|
||||||
|
:href="'https://njump.me/'.$meetup->nostr"
|
||||||
|
primary lg class="mt-4 whitespace-nowrap">
|
||||||
|
<i class="fa fa-thin fa-external-link mr-2"></i>
|
||||||
|
{{ __('Nostr') }}
|
||||||
|
</x-button>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@if($meetup->matrix_group)
|
@if($meetup->matrix_group)
|
||||||
<x-button
|
<x-button
|
||||||
|
|||||||
@@ -35,6 +35,15 @@
|
|||||||
{{ __('SimpleX-Link') }}
|
{{ __('SimpleX-Link') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
@endif
|
@endif
|
||||||
|
@if($meetup->nostr && str($meetup->nostr)->contains('npub1'))
|
||||||
|
<x-button
|
||||||
|
target="_blank"
|
||||||
|
:href="'https://njump.me/'.$meetup->nostr"
|
||||||
|
primary lg class="mt-4 whitespace-nowrap">
|
||||||
|
<i class="fa fa-thin fa-external-link mr-2"></i>
|
||||||
|
{{ __('Nostr') }}
|
||||||
|
</x-button>
|
||||||
|
@endif
|
||||||
@if($meetup->webpage)
|
@if($meetup->webpage)
|
||||||
<x-button
|
<x-button
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
Reference in New Issue
Block a user