@extends('layouts.app') @section('site_title', formatTitle([__('Dashboard'), config('settings.title')])) @section('content')

{{ Auth::user()->name }}

@if(paymentProcessors())
@include('icons.package', ['class' => 'text-muted fill-current width-4 height-4'])
@else
@include('icons.email', ['class' => 'text-muted fill-current width-4 height-4'])
{{ Auth::user()->email }}
@endif
{{ __('Websites') }}
@include('shared.message') @if(count($websites) == 0) {{ __('No data') }}. @else
{{ __('Domain') }}
{{ __('Visitors') }}
{{ __('Pageviews') }}
@foreach($websites as $website)
@if($website->favorited_at)
@include('icons.star', ['class' => 'fill-current width-4 height-4 flex-shrink-0'])
@endif
{{ number_format($website->visitors_count ?? 0, 0, __('.'), __(',')) }}
{{ number_format($website->pageviews_count ?? 0, 0, __('.'), __(',')) }}
@include('websites.partials.menu')
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $websites->firstItem(), 'to' => $websites->lastItem(), 'total' => $websites->total()]) }}
{{ $websites->onEachSide(1)->links() }}
@endif
@endsection @include('shared.sidebars.user')