@php $headerMenus = old('header_menus', $copy['header_menus']); $utilbar = old('utilbar', $copy['utilbar']); $social = old('social', $copy['social']); $footer = old('footer', $copy['footer']); $brand = old('brand', $copy['brand']); $logoPreview = $menu->logoUrl(); @endphp @extends('layouts.admin') @section('title', 'Navigation — '.config('app.name')) @section('page_title', 'Navigation') @section('breadcrumbs') @endsection @section('content')
This is the public header and footer. Change labels, links, or the logo, then Save. Empty rows are ignored. Use site paths such as /company/about, or full URLs and mailto: addresses. The Products dropdown can also list every catalog product automatically.
@csrf @method('PUT')
Logo and site name
PNG, SVG, JPG or WebP, up to 2 MB. Leave empty to keep the current logo.
@if ($logoPreview)
@endif
Header menus

Each menu is a top item. Add submenu links underneath it. Drag order with Move up / Move down.

@foreach ($headerMenus as $h => $menuItem) @include('admin.cms.navigation._header-item', ['h' => $h, 'menuItem' => $menuItem]) @endforeach
Grey utility bar
@foreach ($utilbar as $u => $link) @include('admin.cms.navigation._util-item', ['u' => $u, 'link' => $link]) @endforeach
Social links

Shown in the header and in the footer.

@foreach ($social as $s => $link) @include('admin.cms.navigation._social-item', ['s' => $s, 'link' => $link]) @endforeach
Footer
Use {year} for the current year.
Link columns
@foreach (($footer['columns'] ?? []) as $f => $column) @include('admin.cms.navigation._footer-column', ['f' => $f, 'column' => $column]) @endforeach
View public site
@endsection @push('styles') @endpush @push('scripts') @endpush