@extends('layouts.admin') @section('title', __('admin.page_builder')) @section('breadcrumb', __('admin.group.catalogue')) @section('content')

{{ __('admin.page_builder') }}

{{ __('admin.page_builder_sub') }}
{{ count($types) }} {{ __('admin.block_types') }}
@foreach ($pages as $page)
{{ $page['title'] }} {{ $page['description'] }}
{{ __('admin.blocks') }} {{ $page['active'] }} / {{ $page['blocks'] }}
{{ __('admin.updated') }} {{ $page['updated'] ? \Illuminate\Support\Carbon::parse($page['updated'])->diffForHumans() : __('admin.never') }}
{{-- The builder runs in its own window: full canvas, no sidebar. --}} {{ __('admin.open_builder') }} @if ($page['view_url']) {{ __('admin.view_page') }} @endif
@endforeach

{{ __('admin.block_types') }}

{{ __('admin.block_types_help') }}

@foreach ($types as $key => $type)
{{-- explicit size so the icon stays small even before the CSS loads --}}
{{ __($type['label']) }} {{ __($type['hint'] ?? '') }}
@endforeach
@endsection @push('scripts') @endpush