🛠️ Simplify route definition and update JS for Nostr profile handling

This commit is contained in:
HolgerHatGarKeineNode
2026-01-06 19:57:43 +01:00
parent 772853dc61
commit 5783445b68
7 changed files with 50 additions and 14 deletions

View File

@@ -470,8 +470,8 @@ $loadEvents = function () {
<template x-if="$store.nostr.user">
<div class="flex items">
<img class="w-12 h-12 rounded-full"
x-bind:src="$store.nostr.user.picture"
alt="">
x-bind:src="$store.nostr.user.picture || '{{ asset('apple-touch-icon.png') }}'"
alt="Avatar">
<div class="ml-4">
<h3 class="w-48 sm:w-full truncate text-lg leading-snug text-[#1B1B1B] dark:text-gray-100 font-bold"
x-text="$store.nostr.user.display_name"></h3>