mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
paynym support added
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<div class="space-y-8 divide-y divide-gray-700 sm:space-y-5">
|
||||
<div class="mt-6 sm:mt-5 space-y-6 sm:space-y-5">
|
||||
|
||||
<x-input.group :for=" md5('image')" :label="__('Main picture')">
|
||||
<x-input.group :for=" md5('image')" :label="__('Avatar/Picture')">
|
||||
<div class="py-4">
|
||||
@if ($image)
|
||||
<div class="text-gray-200">{{ __('Preview') }}:</div>
|
||||
@@ -69,6 +69,11 @@
|
||||
:placeholder="__('Website')"/>
|
||||
</x-input.group>
|
||||
|
||||
<x-input.group :for="md5('lecturer.paynym')" :label="__('PayNym')">
|
||||
<x-input autocomplete="off" wire:model.debounce="lecturer.paynym"
|
||||
:placeholder="__('PayNym')" :hint="__('starts with PM...')"/>
|
||||
</x-input.group>
|
||||
|
||||
<x-input.group :for="md5('lecturer.lightning_address')" :label="__('Lightning Address')">
|
||||
<x-input autocomplete="off" wire:model.debounce="lecturer.lightning_address"
|
||||
:placeholder="__('Lightning Address')" :hint="__('for example xy@getalby.com')"/>
|
||||
|
||||
@@ -264,6 +264,13 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if($payNymQrCode)
|
||||
<div class="flex flex-col sm:flex-row justify-center space-x-4 border-t border-white py-4 mt-4">
|
||||
<h1 class="text-2xl text-gray-200">PayNym</h1>
|
||||
<img src="{{ 'data:image/png;base64, '. $payNymQrCode }}" alt="qrcode">
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div wire:ignore>
|
||||
<div class="flex flex-col sm:flex-row justify-center space-x-4 border-t border-white py-4 mt-4">
|
||||
@if($libraryItem->lecturer->lightning_address || $libraryItem->lecturer->lnurl || $libraryItem->lecturer->node_id)
|
||||
|
||||
@@ -73,6 +73,16 @@
|
||||
<x-jet-input-error for="nostr" class="mt-2"/>
|
||||
</div>
|
||||
|
||||
<!-- paynym -->
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-jet-label for="paynym" value="{{ __('PayNym') }}"/>
|
||||
<x-jet-input id="paynym" type="text" class="mt-1 block w-full"
|
||||
wire:model.defer="state.paynym"
|
||||
autocomplete="paynym"/>
|
||||
<p class="text-xs">{{ __('starts with PM...') }}</p>
|
||||
<x-jet-input-error for="paynym" class="mt-2"/>
|
||||
</div>
|
||||
|
||||
<!-- lightning_address -->
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-jet-label for="lightning_address" value="{{ __('Lightning Address') }}"/>
|
||||
|
||||
Reference in New Issue
Block a user