@php($items = getMenuBySetting($data->area->name.'_'.$data->part.'_menu')->items)
@php($menuShow = false)
@foreach($items as $i => $item)
{{-- find center --}}
@if(!$menuShow && ($i > (count($items) / 2) -1 ) )
@php($menuShow = true)
-
@endif
-
{{$item->title}}
@endforeach
-
@foreach(getMenuBySetting($data->area->name.'_'.$data->part.'_menu')->items as $item)
-
{{$item->title}}
@endforeach