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

{{ $section['title'] }}

{{-- Sections with 'content' as array (structured data or paragraphs) --}} @if(isset($section['content']) && is_array($section['content'])) @php $content = $section['content']; @endphp @if(isset($content['company'])) {{-- Section 1: Responsable du traitement --}}
  • {{ $content['company'] }}
  • {{ $content['address'] }}
  • @if(isset($content['email_label']))
  • {{ $content['email_label'] }} contact@wasoria.fr
  • @endif
@else {{-- Section 5: Array of paragraphs --}} @foreach($content as $paragraph)

{{ $paragraph }}

@endforeach @endif {{-- Sections with 'content' as string --}} @elseif(isset($section['content']) && is_string($section['content']))

{{ $section['content'] }}

{{-- Sections with 'items' list --}} @elseif(isset($section['items']))
    @foreach($section['items'] as $item)
  • {{ $item }}
  • @endforeach
@endif {{-- Section 6: Cookies — special nested structure --}} @if(isset($section['necessary']))

{{ $section['necessary']['title'] }}

    @foreach($section['necessary']['items'] as $item)
  • {{ $item }}
  • @endforeach
@if(isset($section['analytics']))

{{ $section['analytics']['title'] }}

{{ $section['analytics']['description'] }}

    @foreach($section['analytics']['items'] as $item)
  • {{ $item }}
  • @endforeach
@endif @if(isset($section['choice']))

{{ $section['choice'] }}

@endif
@endif {{-- Section 8: Contact label --}} @if(isset($section['contact_label']))

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

@endif {{-- Section 9: CNIL link --}} @if($key === 9)

www.cnil.fr

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

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

@endif
@endforeach