mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
🎨 Update color palette: replace gray with zinc across Blade templates for improved design consistency and accessibility.
🛠 Refactor forms: rename NostrAuth method for clarity and enhance Flux button usage for cleaner and reusable components.
✨ Add `WithNostrAuth` trait: refactor `show` template logic, streamline project-support handling, and improve layout readability.
This commit is contained in:
@@ -43,7 +43,7 @@ trait WithNostrAuth
|
||||
$this->canEdit = false;
|
||||
}
|
||||
|
||||
public function mountNostrAuth(): void
|
||||
public function mountWithNostrAuth(): void
|
||||
{
|
||||
if ($user = NostrAuth::user()) {
|
||||
$this->currentPubkey = $user->getPubkey();
|
||||
|
||||
Reference in New Issue
Block a user