{{-- Accordion of the 9 rich-text profile sections shown as tabs on the public faculty page (resources/views/frontend/faculty-details.blade.php). Shared by faculty_create.blade.php and faculty_edit.blade.php so both stay identical. Built as a small self-contained component (own CSS/JS, own class names) rather than on the admin theme's Bootstrap `.panel`/`.collapse` classes: this theme restyles those globally and the result was a bare list of links with no visible panel or content area. Usage: @include('cmsdept.partials.faculty-profile-sections', ['faculty_info' => $faculty_info ?? null]) --}} @php $sections = \App\Models\faculty::profileSections(); $firstField = array_key_first($sections); $faculty_info = $faculty_info ?? null; @endphp