{{-- Legal Notice prose sections — looped from translation file --}}
@foreach(__('legal.legal_notice.sections') as $key => $section)

{{ $section['title'] }}

@if(is_array($section['content'] ?? null)) @php $content = $section['content']; @endphp {{-- Section 1: Éditeur du site — structured data --}} @if(isset($content['intro']))

{{ $content['intro'] }}

    @foreach(['company', 'activity', 'capital', 'address', 'siren', 'siret', 'rcs', 'phone'] as $field) @if(isset($content[$field]))
  • {{ $content[$field] }}
  • @endif @endforeach @if(isset($content['email_label']))
  • {{ $content['email_label'] }} contact@wasoria.fr
  • @endif @if(isset($content['host']))
  • {{ $content['host'] }}
  • @endif
@else {{-- Section 4, 5, 6: Array of paragraphs --}} @foreach($content as $paragraph)

{{ $paragraph }}

@endforeach @endif @else {{-- Simple text content (sections 2, 7) --}}

{{ $section['content'] ?? '' }}

@endif {{-- Section 8: Contact email --}} @if(isset($section['email_label']) && $key === 8)

{{ $section['email_label'] }} contact@wasoria.fr

@endif
@endforeach