mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
32 lines
1.3 KiB
PHP
32 lines
1.3 KiB
PHP
<div class="flex flex-col space-y-1" wire:key="bookcase_action_{{ $row->id }}">
|
|
@auth
|
|
<div>
|
|
@if($row->orange_pills_count > 0)
|
|
<img class="aspect-auto max-h-12" src="{{ asset('img/social_credit_plus.webp') }}" alt="">
|
|
@endif
|
|
</div>
|
|
<div>
|
|
@if($row->orange_pills_count < 1)
|
|
<img class="aspect-auto max-h-12" src="{{ asset('img/social_credit_minus.webp') }}" alt="">
|
|
@endif
|
|
</div>
|
|
<div class="flex items-center space-x-1">
|
|
<x-button xs
|
|
:href="route('bookCases.form', ['bookCase' => $row->id, 'country' => $country])"
|
|
class="whitespace-nowrap" primary class="text-21gray whitespace-nowrap"
|
|
>
|
|
{{ __('💊 Orange Pill Now') }}
|
|
</x-button>
|
|
<x-button xs class="whitespace-nowrap"
|
|
:href="route('bookCases.comment.bookcase', ['bookCase' => $row->id, 'country' => $country])">{{ __('Details') }}</x-button>
|
|
</div>
|
|
@else
|
|
<div>
|
|
<x-badge class="whitespace-nowrap" amber>
|
|
<i class="fa fa-solid fa-shelves-empty mr-2"></i>
|
|
{{ __('no bitcoin books yet') }}
|
|
</x-badge>
|
|
</div>
|
|
@endauth
|
|
</div>
|