@extends('frontend.layouts.app') @section('content')
@if($posts->isNotEmpty()) @php $post = $posts->first(); @endphp

{{ $post->title }}

{{ $post->text }}

@else

Aucun article disponible pour le moment.

@endif
@foreach($tmaxScooters as $scooter)
{{ $scooter->modele }}

{{ $scooter->marque }} {{ $scooter->modele }}

@endforeach
@if($posts->isNotEmpty() && isset($post->blocks[0]))
@if($post->blocks[0]->image) @else @endif

{{ $post->blocks[0]->title }}

{!! nl2br(e($post->blocks[0]->content)) !!}

@endif
@if($posts->isNotEmpty() && isset($post->blocks[1]))
@if($post->blocks[1]->image) @else @endif

{{ $post->blocks[1]->title }}

{!! nl2br(e($post->blocks[1]->content)) !!}

@endif
@if($posts->isNotEmpty() && isset($post->blocks[2]))
@if($post->blocks[2]->image) @else @endif

{{ $post->blocks[2]->title }}

{!! nl2br(e($post->blocks[2]->content)) !!}

@endif
@if($posts->isNotEmpty() && isset($post->blocks[3]))

GD location

{!! nl2br(e($post->blocks[3]->content)) !!}

@endif
Scooter
@endsection