@extends('base') @section('content')
@if(count($draftPages) > 0)

My Recent Drafts

@include('partials/entity-list', ['entities' => $draftPages, 'style' => 'compact']) @endif
@if($signedIn)

My Recently Viewed

@else

Recent Books

@endif @include('partials/entity-list', [ 'entities' => $recents, 'style' => 'compact', 'emptyText' => $signedIn ? 'You have not viewed any pages' : 'No books have been created' ])

Recently Created Pages

@include('partials/entity-list', [ 'entities' => $recentlyCreatedPages, 'style' => 'compact', 'emptyText' => 'No pages have been recently created' ])

Recently Updated Pages

@include('partials/entity-list', [ 'entities' => $recentlyUpdatedPages, 'style' => 'compact', 'emptyText' => 'No pages have been recently updated' ])

Recent Activity

@include('partials/activity-list', ['activity' => $activity])
@stop