@extends('public.layout') @section('title') {{ $author->name }} @endsection @section('breadcrumb')
  • {{ clean(trans('author::authors.authors')) }}
  • {{ $author->name }}
  • @endsection @section('content')
    @if ( ! $author->author_image->exists)
    @else
    @endif

    {{ $author->name }}

    {!! $author->description !!}

    {{ clean(trans('cynoebook::ebooks.books_by')) }} {{ $author->name }}

    {{ intl_number($ebooks->total()) }} {{ trans_choice('cynoebook::ebooks.ebooks_found', $ebooks->total()) }}
    @if ($viewMode === 'grid')
    @forelse ($ebooks as $ebook) @include('public.ebooks.partials.ebook_card') @empty

    {{ clean(trans('cynoebook::ebooks.no_ebooks_were_found')) }}

    @endforelse
    @endif @if ($viewMode === 'list')
    @forelse ($ebooks as $ebook) @include('public.ebooks.partials.list_view_ebook_card') @empty

    {{ clean(trans('cynoebook::ebooks.no_ebooks_were_found')) }}

    @endforelse
    @endif
    {{ $ebooks->links() }}
    @endsection