@php $admin = auth()->guard('admin')->user(); @endphp @if ($logo = core()->getConfigData('general.design.admin_logo.logo_image')) @else @endif @if ($admin->image) @else {{ substr($admin->name, 0, 1) }} @endif @lang('admin::app.components.layouts.header.app-version', ['version' => 'v' . core()->version()]) @lang('admin::app.components.layouts.header.my-account') @lang('admin::app.components.layouts.header.logout') @if ($logo = core()->getConfigData('general.design.admin_logo.logo_image')) @else @endif @foreach (menu()->getItems('admin') as $menuItem) {{ $menuItem->getName() }} @if ($menuItem->haveChildren()) @foreach ($menuItem->getChildren() as $subMenuItem) {{ $subMenuItem->getName() }} @endforeach @endif @endforeach @pushOnce('scripts') @endpushOnce
@lang('admin::app.components.layouts.header.app-version', ['version' => 'v' . core()->version()])
{{ $menuItem->getName() }}