mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
book cases added
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
<div>
|
||||
@php
|
||||
$a = (bool)rand(0, 1);
|
||||
@endphp
|
||||
@if($a)
|
||||
<img class="h-12" src="{{ asset('img/social_credit_minus.webp') }}" alt="">
|
||||
@endif
|
||||
@if(!$a)
|
||||
<img class="h-12" src="{{ asset('img/social_credit_plus.webp') }}" alt="">
|
||||
@endif
|
||||
<div class="flex flex-col space-y-1">
|
||||
@auth
|
||||
@if($row->orange_pilled)
|
||||
<img class="aspect-auto max-h-12" src="{{ asset('img/social_credit_plus.webp') }}" alt="">
|
||||
@endif
|
||||
@if(!$row->orange_pilled)
|
||||
<img class="aspect-auto max-h-12" src="{{ asset('img/social_credit_minus.webp') }}" alt="">
|
||||
@endif
|
||||
<div class="flex items-center space-x-1">
|
||||
<x-button wire:click="viewHistoryModal({{ $row->id }})">💊 Orange Pill Now</x-button>
|
||||
<x-button :href="route('comment.bookcase', ['bookCase' => $row->id])">Kommentare</x-button>
|
||||
</div>
|
||||
@else
|
||||
<div>
|
||||
<x-badge amber>
|
||||
<i class="fa fa-thin fa-shelves-empty mr-2"></i>
|
||||
{{ __('noch keine Bitcoin-Bücher') }}
|
||||
</x-badge>
|
||||
</div>
|
||||
@endauth
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user