{{-- Dashboard overview (design: Screens · Dashboard). --}} @extends('layouts.app') @section('title', 'Overview — InLynq') @section('heading', 'Overview') @php $k = $report['kpis']; $note = 'vs previous '.$report['days'].' days'; $hour = now()->timezone($user->timezone ?: config('app.timezone'))->hour; $greeting = $hour < 12 ? 'Good morning' : ($hour < 17 ? 'Good afternoon' : 'Good evening'); $left = collect($completion['items'])->where('done', false)->count(); @endphp @section('content')
@if ($profile->isPublished()) Your profile was viewed {{ number_format($k['views']['value']) }} {{ \Illuminate\Support\Str::plural('time', $k['views']['value']) }} in the last {{ $report['days'] }} days. @else Your profile isn't published yet. @endif @if ($left) {{ $left === 1 ? 'One step' : $left.' steps' }} left to complete it. @endif
Clicks on your links, companies and products will show here.
@endforelse{{ $profile->pending_changes }} unpublished {{ \Illuminate\Support\Str::plural('change', $profile->pending_changes) }}.
@endif