@extends('layouts.tri')
@section('body')
@include('shelves.parts.list', ['shelves' => $shelves, 'view' => $view])
@stop
@section('right')
@stop
@section('left')
@if($recents)
{{ trans('entities.recently_viewed') }}
@include('entities.list', ['entities' => $recents, 'style' => 'compact'])
@endif
{{ trans('entities.shelves_popular') }}
@if(count($popular) > 0)
@include('entities.list', ['entities' => $popular, 'style' => 'compact'])
@else
{{ trans('entities.shelves_popular_empty') }}
@endif
{{ trans('entities.shelves_new') }}
@if(count($new) > 0)
@include('entities.list', ['entities' => $new, 'style' => 'compact'])
@else
{{ trans('entities.shelves_new_empty') }}
@endif
@stop