@php
$sections = $page->sections()->active()->orderBy('order')->get();
@endphp
{{--
{{ $page->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}
--}}
@foreach ($sections as $section)
@php
// $content = filterStyleAttributes($section->getTranslatedAttribute('content', app()->getLocale(), 'fr'));
$content = $section->content;
@endphp
{{-- @if ($page->slug == 'home')
@section('css')
@endsection
@else --}}
@section('css')
@endsection
@if ($section->type == 'img-right')
{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}
@endif
@if ($section->type == 'img-left')
{{ $section->getTranslatedAttribute('title', app()->getLocale(), 'fr') }}
@endif
{{-- @endif --}}
@endforeach