@props(['faqs']) @if ($faqs->isEmpty()) @else @foreach ($faqs->groupBy('category') as $category => $group)
! $loop->first])> @if (filled($category))

{{ $category }}

@endif {{-- Le chevron remplace le « + » : moins mécanique, plus proche d'un sommaire. --}}
filled($category)])> @foreach ($group as $faq)
{{ $faq->question }}
{!! $faq->answer !!}
@endforeach
@endforeach @endif