@extends('layouts.app') @section('title', $book->title) @section('og_title', $book->title) @section('og_description', $book->short_description ?? Str::limit(strip_tags($book->description), 150)) @section('og_image', $book->cover_url) @section('content') {{-- BREADCRUMB HERO --}} Beranda Katalog Buku {{ $book->title }} {{ $book->title }} {{-- Cover Image (Sticky) --}} Tanya via WhatsApp {{-- Details --}} {{-- Title & Meta --}} {{ $book->title }} {{ $book->created_at->format('d M Y') }} @if($book->category) {{ $book->category->name }} @endif {{-- Tabs --}} Spesifikasi Sinopsis {{-- Spesifikasi Tab --}} Spesifikasi @if($book->isbn) ISBN: {{ $book->isbn }} @endif Judul: {{ $book->title }} @if($book->publisher) Penerbit: {{ $book->publisher }} @endif Penulis: {{ $book->author }} @if($book->editor) Penyunting: {{ $book->editor }} @endif @if($book->published_year) Tahun Terbit: {{ $book->published_year }} @endif @if($book->category) Kategori: {{ $book->category->name }} @endif @if($book->short_description) Deskripsi Singkat {{ $book->short_description }} @endif {{-- Sinopsis Tab --}} Sinopsis: @if($book->description) {!! nl2br(e(strip_tags($book->description))) !!} @else Sinopsis belum tersedia untuk buku ini. @endif {{-- Share Links --}} Bagikan Melalui: {{-- Facebook --}} {{-- X (Twitter) --}} {{-- WhatsApp --}} {{-- Copy Link --}} url() }}'); copied = true; setTimeout(() => copied = false, 2000)" class="w-10 h-10 bg-surface-200 hover:bg-surface-300 text-surface-600 rounded-full flex items-center justify-center transition-all duration-300 hover:scale-110 relative"> Link disalin! {{-- RELATED BOOKS --}} @if(isset($relatedBooks) && $relatedBooks->isNotEmpty()) Buku Lainnya @foreach($relatedBooks as $index => $related) Lihat Detail {{ $related->title }} {{ $related->author }} @if($related->editor) Penyunting: {{ $related->editor }} @endif @endforeach @endif @endsection
{{ $book->short_description }}
Sinopsis belum tersedia untuk buku ini.
Bagikan Melalui:
{{ $related->author }}
Penyunting: {{ $related->editor }}