@php $published = collect($pages)->where('status', 'Published')->count(); $drafts = collect($pages)->where('status', 'Draft')->count(); $sched = collect($pages)->where('status', 'Scheduled')->count(); $tiles = [ ['l' => __('app.common.published'), 'v' => $published, 'i' => 'globe-alt', 'g' => 'from-[#17B26A] to-[#0E9F6E]'], ['l' => __('app.common.draft'), 'v' => $drafts, 'i' => 'pencil-square', 'g' => 'from-[#F58229] to-[#E8453C]'], ['l' => __('app.common.scheduled'), 'v' => $sched, 'i' => 'clock', 'g' => 'from-[#2E90FA] to-[#1570EF]'], ['l' => __('crm.pages.views'), 'v' => '44.4k', 'i' => 'chart-bar', 'g' => 'from-[#7A5AF8] to-[#6938EF]'], ]; @endphp
@foreach ($tiles as $tile)

{{ $tile['l'] }}

{{ $tile['v'] }}

@endforeach
{{ count($pages) }} {{ __('app.common.results') }}
@foreach ($pages as $page) @php $tone = match ($page['status']) { 'Published' => 'bg-[#ECFDF3] text-[#027A48]', 'Draft' => 'bg-[#F2F4F7] text-[#475467]', default => 'bg-[#FFF4E5] text-[#B54708]', }; $label = match ($page['status']) { 'Published' => __('app.common.published'), 'Draft' => __('app.common.draft'), default => __('app.common.scheduled'), }; $missingRo = in_array($page['id'], [6, 7, 9]); @endphp @endforeach
{{ __('crm.pages.page_title') }} {{ __('crm.pages.template') }} {{ __('crm.pages.language_tabs') }} {{ __('app.common.status') }} {{ __('crm.pages.updated') }} {{ __('crm.pages.views') }} {{ __('app.common.actions') }}
{{ $page['title'] }}

SmartClean.bg{{ $page['slug'] }}

{{ $page['template'] }}
bg en ro
{{ $label }} {{ $page['updated'] }} {{ __('crm.pages.by') ?? '' }} {{ $page['author'] }} {{ $page['views'] }}

{{ __('crm.pages.structure') ?? '' }}

{{ __('crm.pages.editor') }}

@php $nav = [ ['t' => __('app.nav.services'), 's' => '/services', 'c' => 2], ['t' => __('app.nav.plans'), 's' => '/plans', 'c' => 0], ['t' => __('app.nav.how'), 's' => '/#how', 'c' => 0], ['t' => __('app.nav.book'), 's' => '/book', 'c' => 0], ['t' => __('app.nav.account'), 's' => '/account', 'c' => 0], ]; @endphp
@foreach ($nav as $item)

{{ $item['t'] }}

{{ $item['s'] }}

@if ($item['c']) +{{ $item['c'] }} @endif
@endforeach
@php /* legacy markup below intentionally removed */ @endphp @if (false) Media library New page
@php $tiles = [['Published', '6'], ['Drafts', '1'], ['Scheduled', '1'], ['Avg. monthly views', '44.4k']]; @endphp @foreach ($tiles as $t)

{{ $t[0] }}

{{ $t[1] }}

@endforeach
All statuses Published Draft Scheduled All templates Landing Pricing Legal
@foreach ($pages as $page) @endforeach
Page Template Status Last updated Views / 30d Actions

{{ $page['title'] }}

SmartClean.com{{ $page['slug'] }}

{{ $page['template'] }} {{ $page['status'] }} {{ $page['updated'] }} by {{ $page['author'] }} {{ $page['views'] }}

Showing {{ count($pages) }} of {{ count($pages) }} pages

Previous Next

Navigation structure

Drag to reorder the public menu — changes publish instantly.

@php $nav = [['Services', '/services', 2], ['Plans', '/plans', 0], ['How it works', '/#how', 0], ['Book a clean', '/book', 0], ['About', '/about', 3]]; @endphp @foreach ($nav as $item)
{{ $item[0] }} {{ $item[1] }} @if ($item[2]) {{ $item[2] }} children @endif
@endforeach