@extends('backend.layouts.master') @section('title', 'Edit Page — '.$menu->title) @section('content') @php $s = $sections; @endphp

{{ $menu->title }} — Section Content

@include('backend.partials.alerts')
@csrf @method('PUT')
@if($page->breadcrumb_image)
@endif

Leave Title empty to remove a card. Extra empty rows can be filled to add cards.

@php $cards = $s['cards'] ?? []; while (count($cards) < count($s['cards'] ?? []) + 2) { $cards[] = ['icon' => 'fas fa-circle', 'title' => '', 'text' => '']; } if (count($cards) < 10) { while (count($cards) < 10) { $cards[] = ['icon' => 'fas fa-circle', 'title' => '', 'text' => '']; } } @endphp @foreach($cards as $i => $card)
Card {{ $i + 1 }}
@endforeach
@php $cta = $s['cta'] ?? []; @endphp
@include('backend.pages.partials.seo-fields', ['page' => $page])
status))>
@if(!empty($previewUrl)) View Page @endif
@endsection