From 8b78a85646efbbb6d0c8e0be98c1a8eabd41cce8 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Tue, 20 Jan 2026 16:34:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Refactor=20Blade=20template:=20i?= =?UTF-8?q?mprove=20formatting,=20standardize=20indentation,=20enhance=20g?= =?UTF-8?q?rid=20layouts,=20and=20apply=20`break-all`=20for=20better=20tex?= =?UTF-8?q?t=20wrapping.=20=F0=9F=9B=A0=EF=B8=8F=20Adjust=20conditional=20?= =?UTF-8?q?logic=20spacing=20for=20code=20consistency.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../livewire/association/profile.blade.php | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/resources/views/livewire/association/profile.blade.php b/resources/views/livewire/association/profile.blade.php index cbe13d5..79b93d4 100644 --- a/resources/views/livewire/association/profile.blade.php +++ b/resources/views/livewire/association/profile.blade.php @@ -1,6 +1,5 @@ currentPubkey = NostrAuth::pubkey(); $this->currentPleb = EinundzwanzigPleb::query() ->with([ - 'paymentEvents' => fn($query) => $query->where('year', date('Y')), + 'paymentEvents' => fn ($query) => $query->where('year', date('Y')), 'profile', ]) ->where('pubkey', $this->currentPubkey)->first(); @@ -95,7 +95,7 @@ new class extends Component { } } $this->no = $this->currentPleb->no_email; - $this->showEmail = !$this->no; + $this->showEmail = ! $this->no; $this->amountToPay = config('app.env') === 'production' ? 21000 : 1; if ($this->currentPleb->paymentEvents->count() < 1) { $this->createPaymentEvent(); @@ -109,7 +109,7 @@ new class extends Component { public function updatedNo(): void { - $this->showEmail = !$this->no; + $this->showEmail = ! $this->no; $this->currentPleb->update([ 'no_email' => $this->no, ]); @@ -235,7 +235,7 @@ new class extends Component { public function save($type): void { $this->form->validate(); - if (!$this->form->check) { + if (! $this->form->check) { $this->js('alert("Du musst den Statuten zustimmen.")'); return; @@ -300,7 +300,7 @@ new class extends Component { $this->events = collect($response[config('services.relay')]) ->map(function ($event) { - if (!isset($event->event)) { + if (! isset($event->event)) { return false; } @@ -328,16 +328,16 @@ new class extends Component { -
+
- +
Vorteile deiner Mitgliedschaft -
+
@@ -433,16 +433,16 @@ new class extends Component { @if($nip05HandleMismatch)

- Dein aktiviertes Handle ist {{ $nip05VerifiedHandle }}@einundzwanzig.space + Dein aktiviertes Handle ist {{ $nip05VerifiedHandle }}@einundzwanzig.space

- Die Synchronisation zu {{ $nip05Handle }}@einundzwanzig.space wird automatisch im Hintergrund durchgeführt. + Die Synchronisation zu {{ $nip05Handle }}@einundzwanzig.space wird automatisch im Hintergrund durchgeführt.

@else

- Dein Handle {{ $nip05VerifiedHandle }}@einundzwanzig.space ist aktiv verifiziert! + Dein Handle {{ $nip05VerifiedHandle }}@einundzwanzig.space ist aktiv verifiziert!

Dein Handle ist in der NIP-05 Konfiguration eingetragen und bereit für die Verwendung. @@ -452,7 +452,7 @@ new class extends Component { @elseif($nip05Handle)

- Dein Handle {{ $nip05Handle }}@einundzwanzig.space ist noch nicht aktiv. + Dein Handle {{ $nip05Handle }}@einundzwanzig.space ist noch nicht aktiv.

Das Handle ist gespeichert, aber noch nicht in der NIP-05 Konfiguration veröffentlicht. @@ -488,7 +488,7 @@ new class extends Component {

-
+
@if($currentPleb) @@ -511,25 +511,25 @@ new class extends Component {

-
+
Pubkey: + class="bg-zinc-100 dark:bg-zinc-800 px-2 py-0.5 rounded text-zinc-700 dark:text-zinc-300 break-all font-mono"> {{ $currentPleb->pubkey }}
-
+
Npub: + class="bg-zinc-100 dark:bg-zinc-800 px-2 py-0.5 rounded text-zinc-700 dark:text-zinc-300 break-all font-mono text-xs"> {{ $currentPleb->npub }}
@if($currentPleb->nip05_handle) -
+
NIP-05: + class="bg-zinc-100 dark:bg-zinc-800 px-2 py-0.5 rounded text-zinc-700 dark:text-zinc-300 break-all font-mono text-xs"> {{ $currentPleb->nip05_handle }}
@@ -550,7 +550,7 @@ new class extends Component { -
+