@php $menu = [ 'stats.realtime' => ['Realtime', 'live'], 'stats.overview' => ['Overview', 'overview'], 'stats.pages' => ['Pages', 'page'], 'stats.landing-pages' => ['Landing pages', 'landing'], 'stats.referrers' => ['Referrers', 'link'], 'stats.search-engines' => ['Search engines', 'search'], 'stats.social-networks' => ['Social networks', 'social'], 'stats.campaigns' => ['Campaigns', 'campaign'], 'stats.continents' => ['Continents', 'continents'], 'stats.countries' => ['Countries', 'flag'], 'stats.cities' => ['Cities', 'city'], 'stats.operating-systems' => ['Operating systems', 'os'], 'stats.browsers' => ['Browsers', 'browser'], 'stats.screen-resolutions' => ['Screen resolutions', 'screen_resolution'], 'stats.devices' => ['Devices', 'devices'], 'stats.events' => ['Events', 'event'], ]; @endphp @if(isset($menu[Route::currentRouteName()])) @include('icons.'.$menu[Route::currentRouteName()][1], ['class' => 'fill-current width-4 height-4 ' . (__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')]) {{ __($menu[Route::currentRouteName()][0]) }} @endif
  • {{ __('Realtime') }}
  • @include('icons.overview', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')]) {{ __('Overview') }}
  • @include('icons.behavior', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')])
    {{ __('Behavior') }}
    @include('icons.expand', ['class' => 'fill-current width-3 height-3 '.(__('lang_dir') == 'rtl' ? 'mr-2' : 'ml-2')])
    {{ __('Pages') }} {{ __('Landing pages') }}
  • @include('icons.acquisition', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')])
    {{ __('Acquisitions') }}
    @include('icons.expand', ['class' => 'fill-current width-3 height-3 '.(__('lang_dir') == 'rtl' ? 'mr-2' : 'ml-2')])
    {{ __('Referrers') }} {{ __('Search engines') }} {{ __('Social networks') }}
    {{ __('Campaigns') }}
  • @include('icons.geographic', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')])
    {{ __('Geographic') }}
    @include('icons.expand', ['class' => 'fill-current width-3 height-3 '.(__('lang_dir') == 'rtl' ? 'mr-2' : 'ml-2')])
    {{ __('Continents') }} {{ __('Countries') }} {{ __('Cities') }}
    {{ __('Languages') }}
  • @include('icons.platforms', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')])
    {{ __('Technology') }}
    @include('icons.expand', ['class' => 'fill-current width-3 height-3 '.(__('lang_dir') == 'rtl' ? 'mr-2' : 'ml-2')])
    {{ __('Operating systems') }} {{ __('Browsers') }} {{ __('Screen resolutions') }}
    {{ __('Devices') }}
  • @include('icons.event', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')]) {{ __('Events') }}