@extends('theme::layout-teaser') @section('description', __('Le jeu :site_name vas bientôt ouvrir', ['site_name' => $settingsGlobal->name])) @section('main-class', 'teaser-page') @section('content')

{{ __('Du :start_date au :end_date jouez et tentez de gagner', [ 'start_date' => $settingsGlobal->start_date->isoFormat('DD MMMM'), 'end_date' => $settingsGlobal->end_date->isoFormat('DD MMMM'), ]) }}

{{ __('Une famille en canoe') }}

{{ __('Jouez et tentez de gagner') }}

@if (collect($prizesGlobal)->count())
@if (Arr::has($prizesGlobal, 0))
{{ optional(Arr::get($prizesGlobal, 0))->quantity }}

@if (intval(Arr::get($prizesGlobal, 0)->quantity) > 1) {{ Str::plural(Arr::get($prizesGlobal, 0)->label) }} @else {{ Arr::get($prizesGlobal, 0)->label }} @endif

{{ Arr::get($prizesGlobal, 0)->picture_alt }}
@endif @if (Arr::has($prizesGlobal, 1))
{{ optional(Arr::get($prizesGlobal, 1))->quantity }}

@if (intval(Arr::get($prizesGlobal, 1)->quantity) > 1) {{ Str::plural(Arr::get($prizesGlobal, 1)->label) }} @else {{ Arr::get($prizesGlobal, 1)->label }} @endif

{{ Arr::get($prizesGlobal, 1)->picture_alt }}
{!! clean(nl2br(__("Ou des milliers\n de bons\n de réduction"))) !!} {{ __('Réduction de 1 euro') }}
@endif
@endif
@php $counterParts = explode( '#', $settingsGlobal->start_date->diffForHumans([ 'syntax' => \Carbon\CarbonInterface::DIFF_ABSOLUTE, 'parts' => 3, 'join' => '#', ]), ); @endphp @if (collect($counterParts)->count())

{{ __('Votre jeu sera ouvert dans :time', ['time' => '']) }} @foreach ($counterParts as $counterPart) {{ Str::of($counterPart)->before(' ')->padLeft(2, '0') }} {{ Str::of($counterPart)->after(' ')->padBoth(8, "\u{00A0}") }} @endforeach

@endif
{{ __('Grand jeu 100% gagnant') }}
@endsection