@extends('admin.layouts.app') @section('title', 'بلوكات الصفحة: '.$page->translation('title')) @section('content')
@php $sections = [ ['type' => 'general', 'title' => 'بلوكات عامة', 'subtitle' => 'مثل: الأهداف، القيم، وأي محتوى إضافي آخر', 'icon' => 'bi-collection', 'blocks' => $generalBlocks, 'addLabel' => 'إضافة بلوك'], ['type' => 'department', 'title' => 'أقسام المركز', 'subtitle' => 'أقسام أو دوائر المركز، كل قسم بعنوان ونص وصورة', 'icon' => 'bi-diagram-3', 'blocks' => $departmentBlocks, 'addLabel' => 'إضافة قسم'], ]; @endphp @foreach($sections as $section)