@extends('layouts.sidebar') @section('content') @if($greeting == '')

👋 Hi, stranger

You do not have a Page URL set, yet you can change that on the Page section
@else

👋 Hi,

@endif

Welcome to {{ config('app.name') }}!

{{--
Visitor analytics:

{{ $pageStats['visitors']['day']}}

Today

{{ $pageStats['visitors']['week']}}

Week

{{ $pageStats['visitors']['month']}}

Month

{{ $pageStats['visitors']['year']}}

Year

{{ $pageStats['visitors']['all']}}

All Time
--}}
Total Links: {{ $links }}
Link Clicks: {{ $clicks }}
View/Edit Links
Top Links:
@php $i = 0; @endphp @foreach($toplinks as $link) @php $linkName = str_replace('default ','',$link->name) @endphp @php $i++; @endphp
    @if($link->name !== "phone" && $link->name !== 'heading')
  1. {{ $i }}.) {{$link->title}} -- {{$link->click_number}}
    {{$link->link}}
  2. @endif
@endforeach
{{--
{{ print_r($pageStats) }}
--}} @endsection