mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-27 06:33:18 +00:00
✨ Update project card component: simplify link styles, add applicant link, and improve badge usage
This commit is contained in:
@@ -65,8 +65,7 @@
|
|||||||
<flux:badge color="amber">{{ number_format($project->support_in_sats, 0, ',', '.') }} Sats</flux:badge>
|
<flux:badge color="amber">{{ number_format($project->support_in_sats, 0, ',', '.') }} Sats</flux:badge>
|
||||||
<flux:link
|
<flux:link
|
||||||
href="{{ $project->website }}"
|
href="{{ $project->website }}"
|
||||||
target="_blank"
|
target="_blank">
|
||||||
class="text-xs font-bold border border-gray-200 dark:border-gray-700/60 text-gray-600 dark:text-gray-200 rounded-full px-2.5 py-1">
|
|
||||||
Webseite
|
Webseite
|
||||||
</flux:link>
|
</flux:link>
|
||||||
@if($project->votes->where('value', true)->count() > 0)
|
@if($project->votes->where('value', true)->count() > 0)
|
||||||
@@ -74,6 +73,7 @@
|
|||||||
+{{ $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">Anstragssteller</flux:link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Second row: Action buttons -->
|
<!-- Second row: Action buttons -->
|
||||||
|
|||||||
Reference in New Issue
Block a user