@extends('layouts.app') @section('content')

Welcome back, {{ Auth::user()->name }}!

{{ date('l, M j, Y') }}

{{ $stats['destinations'] }}

Destinations

{{ $stats['categories'] }}

Categories

{{ $stats['users'] }}

Users

{{ date('j') }}

Days This Month
Recent Destinations
View All
@if(count($recentDestinations) > 0) @foreach($recentDestinations as $destination)
{{ Str::limit($destination->title, 25) }}
{{ $destination->created_at->diffForHumans() }}
@endforeach @else

No destinations yet

@endif
Recent Blog Posts
View All
@if(count($recentBlogs) > 0) @foreach($recentBlogs as $blog)
{{ Str::limit($blog->title, 25) }}
{{ $blog->created_at->diffForHumans() }}
@endforeach @else

No blog posts yet

@endif
Recent Activity
@if(count($recentDestinations) > 0 || count($recentBlogs) > 0)
@foreach($recentDestinations->take(3) as $destination)
{{ $destination->title }}
Added {{ $destination->created_at->diffForHumans() }}
@endforeach
@foreach($recentBlogs->take(3) as $blog)
{{ $blog->title }}
Published {{ $blog->created_at->diffForHumans() }}
@endforeach
@else
No recent activity

Start by creating your first destination or blog post!

@endif
@endsection