@extends('layouts.tri')
@section('body')
    @include('books.parts.list', ['books' => $books, 'view' => $view, 'listOptions' => $listOptions])
@stop
@section('left')
    @if($recents)
        
            
{{ trans('entities.recently_viewed') }}
            @include('entities.list', ['entities' => $recents, 'style' => 'compact'])
        
    @endif
    
        {{ trans('entities.books_popular') }}
        @if(count($popular) > 0)
            @include('entities.list', ['entities' => $popular, 'style' => 'compact'])
        @else
            
{{ trans('entities.books_popular_empty') }}
        @endif
    
 
    
        {{ trans('entities.books_new') }}
        @if(count($new) > 0)
            @include('entities.list', ['entities' => $new, 'style' => 'compact'])
        @else
            
{{ trans('entities.books_new_empty') }}
        @endif
    
 
@stop
@section('right')
    
@stop