Skip to content

Commit

Permalink
feat: update payment details in WebLN test view
Browse files Browse the repository at this point in the history
This commit modifies the WebLN test view in the Einundzwanzig portal. Changes include the recipient name change from "Bob" to "The Ben", addition of payment hash and payment request information, and updates the button text to "Pay Invoice".
  • Loading branch information
fsociety committed Sep 10, 2024
1 parent 1f109ac commit 89d2f30
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions resources/views/livewire/test/web-l-n.blade.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<div x-data="webln(@this)" class="p-2 sm:p-4" wire:ignore>
<div class="font-mono space-y-1 p-2 sm:p-4 text-white break-words">
<div class="text-xs sm:text-base break-words">Test Payment from WebLN to "Bob"</div>
<div class="text-xs sm:text-base break-words">Test Payment from WebLN to "The Ben"</div>
<div class="text-xs sm:text-base break-words">1 sat</div>
<div class="text-xs sm:text-base break-words">keysend to: 0363662a4ae8b8b7a73d9f4e459a9b25d4786f4ecc7315b5401934f3a2ef609750</div>
<div class="text-xs sm:text-base break-words">hash: {{ $invoice['payment_hash'] }}</div>
<div class="text-xs sm:text-base break-words">payment_request: {{ $invoice['payment_request'] }}</div>
<div class="mt-6">
<div class="flex justify-center">
<button x-on:click="keySendMethod" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">Pay</button>
<button x-on:click="pay" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Pay Invoice
</button>
</div>
</div>
</div>
Expand Down

0 comments on commit 89d2f30

Please sign in to comment.