@extends('admin.layouts.app') @section('title', 'Page builder · '.$editor['title']) @section('page_title', 'Page builder') @section('content') @php $pbConfig = [ 'addons' => $addons, 'categories' => $categories, 'backgrounds' => $backgrounds, 'spacings' => $spacings, 'presets' => $presets, 'sections' => $sections, 'isActive' => $isActive, 'slugLocked' => $editor['slug_locked'], 'publicUrl' => $editor['public_url'], 'csrf' => csrf_token(), 'page' => $editor['page'], 'urls' => [ 'save' => $editor['urls']['save'], 'preview' => $editor['urls']['preview'], 'preset' => $editor['urls']['preset'], 'media' => route('admin.media.index', ['format' => 'json']), 'upload' => route('admin.media.upload'), 'mediaUpdate' => url('/admin/media/__ID__'), ], ]; @endphp
{{-- Header --}}

{{ $editor['eyebrow'] }}

Edit · {{ $editor['title'] }}

{{ str_replace(['https://', 'http://'], '', $editor['public_url']) }}

View live @can('update', $editor['model']) @endcan
{{-- Tabs --}}
{{-- Addon library --}} {{-- Canvas --}}
{{-- Page settings --}}
{{ $editor['slug_prefix'] }}

{{ $editor['slug_help'] }}

@if ($isActive)
@csrf @method('DELETE')
@endif
{{-- Sections toolbar --}}

Page sections

sections · visible

Replace with a layout

{{-- Section cards --}}

Start building this page

Click an addon on the left, drag one here, or start from a ready-made layout.

{{-- Live preview drawer --}}
Live preview Updates as you edit · click a section to edit it
{{-- Media library --}}
{{-- Toast --}}
@endsection