@extends('public.layout')
@section('title', $ebook->name)
@push('meta')
@endpush
@section('breadcrumb')
{{ clean(trans('cynoebook::ebooks.ebooks')) }}
{{ $ebook->title }}
@endsection
@section('content')
@if (setting('cynoebook_ad1_section_enabled'))
@include('public.home.sections.advertisement',['ad'=>setting('cynoebook_ad_1')])
@endif
@include('public.ebooks.partials.ebook.images')
@include('public.ebooks.partials.ebook.details')
@include('public.ebooks.partials.ebook.view-files')
@include('public.ebooks.partials.ebook.tab_contents.description')
@includeWhen(setting('reviews_enabled'), 'public.ebooks.partials.ebook.tab_contents.reviews')
@if (setting('cynoebook_ad2_section_enabled'))
@include('public.home.sections.advertisement',['ad'=>setting('cynoebook_ad_2')])
@endif
@include('public.ebooks.partials.ebook_carousel', [
'title' => clean(trans('cynoebook::ebook.related_ebooks')),
'ebooks' => $relatedEbooks
])
@if (setting('cynoebook_ad3_section_enabled'))
@include('public.home.sections.advertisement',['ad'=>setting('cynoebook_ad_3')])
@endif
@endsection