ldc-legaulois/resources/views/front/ocb/ocbContent.blade.php
2021-04-26 15:44:00 +02:00

17 lines
422 B
PHP

@foreach($ocbContents as $ocbContent)
<section class="content">
@if(!($loop->index%2))
<figure>
<img src="{{ $ocbContent->picture }}" alt="{{ __('OCB image') }}">
</figure>
@endif
<div>
{!! $ocbContent->content !!}
</div>
@if($loop->index%2)
<figure>
<img src="{{ $ocbContent->picture }}" alt="{{ __('OCB image') }}">
</figure>
@endif
</section>
@endforeach