@extends('layouts.site') @section('title','Navigation Builder | Medella Super Admin') @section('content')
SUPER ADMIN / SITE STRUCTURE

Navigation builder.

Choose which published pages appear in the main navigation and set their labels and order.

@if(session('status'))

{{ session('status') }}

@endif
@csrf

Only published pages can be included. Reorder rows by changing the order number; lower numbers appear first.

@php($existing = collect($items)->keyBy('page_id')) @foreach($pages as $i=>$page) @php($saved = $existing->get($page->id, []))
@endforeach
@endsection