mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
enable user donations
This commit is contained in:
@@ -26,6 +26,12 @@
|
||||
<div class="flex w-0 flex-1">
|
||||
@if($pleb->lightning_address || $pleb->lnurl || $pleb->node_id)
|
||||
<div x-on:click="show = !show"
|
||||
x-transition:enter="transition ease-out duration-300"
|
||||
x-transition:enter-start="opacity-0"
|
||||
x-transition:enter-end="opacity-100"
|
||||
x-transition:leave="transition ease-in duration-300"
|
||||
x-transition:leave-start="opacity-100"
|
||||
x-transition:leave-end="opacity-0 scale-90"
|
||||
class="relative -mr-px inline-flex w-0 flex-1 items-center justify-center rounded-bl-lg border border-transparent py-4 text-xl font-bold text-gray-800 hover:text-gray-900">
|
||||
<i class="fa-thin fa-bolt-lightning"></i>
|
||||
<span class="ml-3" x-text="show ? 'Schließen' : 'Donate'"></span>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
<!-- lightning_address -->
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-jet-label for="name" value="{{ __('lightning_address') }}"/>
|
||||
<x-jet-label for="lightning_address" value="{{ __('Lightning Address') }}"/>
|
||||
<x-jet-input id="lightning_address" type="text" class="mt-1 block w-full" wire:model.defer="state.lightning_address"
|
||||
autocomplete="lightning_address"/>
|
||||
<x-jet-input-error for="lightning_address" class="mt-2"/>
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
<!-- lnurl -->
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-jet-label for="name" value="{{ __('lnurl') }}"/>
|
||||
<x-jet-label for="lnurl" value="{{ __('LNURL') }}"/>
|
||||
<x-jet-input id="lnurl" type="text" class="mt-1 block w-full" wire:model.defer="state.lnurl"
|
||||
autocomplete="lnurl"/>
|
||||
<x-jet-input-error for="lnurl" class="mt-2"/>
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
<!-- node_id -->
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-jet-label for="name" value="{{ __('node_id') }}"/>
|
||||
<x-jet-label for="node_id" value="{{ __('Node Id') }}"/>
|
||||
<x-jet-input id="node_id" type="text" class="mt-1 block w-full" wire:model.defer="state.node_id"
|
||||
autocomplete="node_id"/>
|
||||
<x-jet-input-error for="node_id" class="mt-2"/>
|
||||
|
||||
Reference in New Issue
Block a user