@extends('layouts.app') @section('title', 'Hospital Departments') @section('content')

Excellence in Care

Medical Departments

@foreach($departments as $dept)
images->count() > 1) x-init="setInterval(() => next(), 5000)" @endif> @if($dept->images->isNotEmpty()) @foreach($dept->images as $index => $image) {{ $dept->name }} {{ $index + 1 }} @endforeach
@if($dept->images->count() > 1)
@foreach($dept->images as $index => $image) @endforeach
@endif
{{ $dept->name }} Reference
@else
@endif

{{ $dept->name }}

{!! $dept->description !!}
@endforeach
{{ $departments->links() }}
@endsection