@extends('layouts.app') @section('site_title', formatTitle([$link->alias, __('Overview'), __('Stats'), config('settings.title')])) @section('head_content') @if (count(request()->all()) > 0) @endif @endsection @section('content')
@if (config('settings.ad_stats_header')) @if(!Auth::check() || !Auth::user()->active_plan->features->no_ads)
{!! config('settings.ad_stats_header') !!}
@endif @endif @include('stats.partials.header')
{{ __('Clicks') }}
@include('icons.info', ['class' => 'w-4 h-4 fill-current text-muted'])
{{ $link->clicks_count }}
{{ __('Original link') }}
@include('icons.info', ['class' => 'w-4 h-4 fill-current text-muted'])
{{ mb_strlen($link->url) }}
{{ __('Shortened link') }}
@include('icons.info', ['class' => 'w-4 h-4 fill-current text-muted'])
{{ mb_strlen($link->shortUrl) }}
{{ __('This link has limited stats as it was created without using an account.') }}
{{ __('Report generated on :date at :time (UTC :offset).', ['date' => (clone $now)->tz(Auth::user()->timezone ?? config('settings.timezone'))->format(__('Y-m-d')), 'time' => (clone $now)->tz(Auth::user()->timezone ?? config('settings.timezone'))->format('H:i:s'), 'offset' => (clone $now)->tz(Auth::user()->timezone ?? config('settings.timezone'))->getOffsetString()]) }} {{ __('Refresh report') }}
@if (config('settings.ad_stats_footer')) @if(!Auth::check() || !Auth::user()->active_plan->features->no_ads)
{!! config('settings.ad_stats_footer') !!}
@endif @endif @include('shared.modals.share-link')
@endsection @include('shared.sidebars.user')