@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; @endphp
@if ($errors->any())

Please fix the following:

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@forelse($books as $index => $book) @empty @endforelse
# Title Author Category Pages Published Copies Read
{{ $index + 1 }}
@if($book->cover_image_path) {{ $book->title }} @else
@endif {{ $book->title }}
{{ $book->author ?? '—' }} {{ $book->category ?? '—' }} {{ $book->total_pages ?? '—' }} {{ optional($book->published_date)->format('M j, Y') ?? '—' }} {{ $book->available_copies }}/{{ $book->total_copies }} available @if($book->pdf_url) Read @else — @endif
No books in the catalog yet.
@csrf
Cover preview

If uploaded, students and staff can read the book online from a "Read" link in the catalog. Max 20MB.

Charged if a copy is marked lost or damaged.