mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
✨ Update project card component: use flux:link for submitter's Nostr profile links and remove redundant link
This commit is contained in:
@@ -49,8 +49,9 @@
|
|||||||
<div class="grow p-5 flex flex-col">
|
<div class="grow p-5 flex flex-col">
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
<div class="text-sm font-semibold text-amber-500 uppercase mb-2">
|
<div class="text-sm font-semibold text-amber-500 uppercase mb-2">
|
||||||
Eingereicht
|
Eingereicht von: <flux:link href="https://njump.me/{{ $project->einundzwanzigPleb->npub }}" target="_blank">
|
||||||
von: {{ $project->einundzwanzigPleb->profile?->name ?? str($project->einundzwanzigPleb->npub)->limit(32) }}
|
{{ $project->einundzwanzigPleb->profile?->name ?? str($project->einundzwanzigPleb->npub)->limit(32) }}
|
||||||
|
</flux:link>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline-flex mb-2">
|
<div class="inline-flex mb-2">
|
||||||
<h3 class="text-lg font-bold text-gray-800 dark:text-gray-100">
|
<h3 class="text-lg font-bold text-gray-800 dark:text-gray-100">
|
||||||
@@ -73,7 +74,6 @@
|
|||||||
+{{ $project->votes->where('value', true)->count() }} Unterstützer
|
+{{ $project->votes->where('value', true)->count() }} Unterstützer
|
||||||
</flux:badge>
|
</flux:badge>
|
||||||
@endif
|
@endif
|
||||||
<flux:link href="https://njump.me/{{ $project->einundzwanzigPleb->npub }}" target="_blank">Antragssteller</flux:link>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Second row: Action buttons -->
|
<!-- Second row: Action buttons -->
|
||||||
|
|||||||
Reference in New Issue
Block a user