Add cover, list and show thumbs views to cover pages

This commit is contained in:
DariusIII
2026-01-15 22:09:58 +01:00
parent f45e72949b
commit 1cf7d16fbf
9 changed files with 237 additions and 45 deletions
+14 -5
View File
@@ -74,11 +74,20 @@
<!-- Results -->
@if(count($results) > 0)
<div class="mb-4 flex justify-between items-center">
<h2 class="text-xl font-semibold text-gray-800">
<i class="fa fa-book mr-2 text-blue-600"></i>
{{ $catname ?? 'All' }} Books
</h2>
<span class="text-sm text-gray-600">
<div class="flex items-center gap-4">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">
<i class="fa fa-book mr-2 text-blue-600"></i>
{{ $catname ?? 'All' }} Books
</h2>
<x-view-toggle
current-view="covers"
covgroup="books"
:category="$categorytitle ?? 'All'"
parentcat="Books"
:shows="false"
/>
</div>
<span class="text-sm text-gray-600 dark:text-gray-400">
{{ $results->total() }} results found
</span>
</div>