@php $menu = [ 'stats.realtime' => ['Realtime', 'adjust'], 'stats.overview' => ['Overview', 'assesment'], 'stats.pages' => ['Pages', 'description'], 'stats.landing_pages' => ['Landing pages', 'flight-land'], 'stats.referrers' => ['Referrers', 'link'], 'stats.search_engines' => ['Search engines', 'search'], 'stats.social_networks' => ['Social networks', 'share'], 'stats.campaigns' => ['Campaigns', 'campaign'], 'stats.continents' => ['Continents', 'public'], 'stats.countries' => ['Countries', 'flag'], 'stats.cities' => ['Cities', 'business'], 'stats.operating_systems' => ['Operating systems', 'terminal'], 'stats.browsers' => ['Browsers', 'tab'], 'stats.screen_resolutions' => ['Screen resolutions', 'aspect-ratio'], 'stats.devices' => ['Devices', 'devices-other'], 'stats.events' => ['Events', 'filter-center-focus'], ]; @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.assesment', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')]) {{ __('Overview') }}
  • @include('icons.web', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')])
    {{ __('Behavior') }}
    @include('icons.expand-more', ['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-more', ['class' => 'fill-current width-3 height-3 '.(__('lang_dir') == 'rtl' ? 'mr-2' : 'ml-2')])
    {{ __('Referrers') }} {{ __('Search engines') }} {{ __('Social networks') }}
    {{ __('Campaigns') }}
  • @include('icons.map', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')])
    {{ __('Geographic') }}
    @include('icons.expand-more', ['class' => 'fill-current width-3 height-3 '.(__('lang_dir') == 'rtl' ? 'mr-2' : 'ml-2')])
    {{ __('Continents') }} {{ __('Countries') }} {{ __('Cities') }}
    {{ __('Languages') }}
  • @include('icons.devices', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')])
    {{ __('Technology') }}
    @include('icons.expand-more', ['class' => 'fill-current width-3 height-3 '.(__('lang_dir') == 'rtl' ? 'mr-2' : 'ml-2')])
    {{ __('Operating systems') }} {{ __('Browsers') }} {{ __('Screen resolutions') }}
    {{ __('Devices') }}
  • @include('icons.filter-center-focus', ['class' => 'fill-current width-4 height-4 '.(__('lang_dir') == 'rtl' ? 'ml-2' : 'mr-2')]) {{ __('Events') }}