mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
35 lines
1.4 KiB
PHP
35 lines
1.4 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-data="{currentUrl: window.location.href}">
|
|
<a
|
|
x-bind:href="'/{{ $country }}/book-cases/book-case/form/{{ $row->id }}/?fromUrl='+currentUrl">
|
|
<x-button
|
|
class="whitespace-nowrap" primary class="text-21gray whitespace-nowrap"
|
|
>
|
|
{{ __('💊 Orange Pill Now') }}
|
|
</x-button>
|
|
</a>
|
|
<x-button 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-thin fa-shelves-empty mr-2"></i>
|
|
{{ __('no bitcoin books yet') }}
|
|
</x-badge>
|
|
</div>
|
|
@endauth
|
|
</div>
|