@if(count(json_decode($project->gallery_top)) > 0)
@foreach(json_decode($project->gallery_top) as $image)
@if($loop->odd)
@else
@endif
@endforeach
@endif
@if($project->text_middle)
@endif
@if(count(json_decode($project->gallery_middle)) > 0)
@endif
{!! $project->text_middle !!}
@foreach(json_decode($project->gallery_middle) as $image)
@if($loop->iteration <= 2)
@else
@endif
@endforeach
@endif
@if($project->text_bottom)
{{ $project->subtitle_bottom }}
{!! $project->text_bottom !!}
@if(count(json_decode($project->gallery_bottom)) > 0)
@endif
@foreach(json_decode($project->gallery_bottom) as $image)
@endforeach