@extends('admin.layouts.app') @section('title', 'Pages') @section('content')

Pages

Section-Based / Hybrid / Dedicated page system

@foreach($pages as $page) @php $typeLabel = $page->page_type === \App\Models\PageDefinition::TYPE_SECTION_BASED ? 'Section-Based' : ($page->page_type === \App\Models\PageDefinition::TYPE_HYBRID ? 'Hybrid (Data + Section)' : 'Dedicated Module'); @endphp @endforeach
Page Type Mode Sections Action

{{ $page->name }}

{{ $page->slug }}

{{ $typeLabel }} {{ $page->is_active ? 'Enabled' : 'Disabled' }} {{ count($page->section_ids ?? []) }} Manage
@endsection