@php $centre = config('site.centre'); $intro = config('site.presentation'); $offer = config('site.offer'); $location = config('site.location'); $image = $centre['image'] ?? null; $image = $image && file_exists(public_path($image)) ? $image : null; @endphp {{-- ================= PRÉSENTATION (sans photo) ================= --}}

{{ $centre['street'] }} · {{ $centre['postal_code'] }} {{ mb_strtoupper($centre['city']) }}

Box 137

@if (! empty($centre['landmark']))

{{ $centre['landmark'] }}

@endif

{{ $intro['question'] }}

@foreach ($intro['paragraphs'] as $paragraph)

{{ $paragraph }}

@endforeach
{{-- ================= OFFRE ================= --}}

{{ $offer['label'] }}

{{ $offer['price'] }}@if (! empty($offer['note']))*@endif

@if (! empty($offer['note']))

* {{ $offer['note'] }}

@endif
{{-- ================= LES 4 ATOUTS ================= --}}

Nos atouts

Un stockage en toute sécurité

@foreach (config('site.pillars') as $i => $pillar)

{{ $pillar['title'] }}

    @foreach ($pillar['items'] as $item)
  • {{ $item }}
  • @endforeach
@endforeach
{{-- ================= GALERIE ================= --}} @php $config = config('site.gallery'); // Une entrée n'est cliquable que si le fichier existe réellement. $gallery = collect(range(1, $config['count'])) ->map(function (int $n) use ($config) { $full = sprintf($config['pattern'], $n); $thumb = sprintf($config['thumb'], $n); return [ 'image' => $full, // Vignette allégée pour la mosaïque ; la version pleine ne sert qu'à la visionneuse. 'thumb' => file_exists(public_path($thumb)) ? $thumb : $full, 'caption' => $config['captions'][$n] ?? '', 'exists' => file_exists(public_path($full)), ]; }); $visible = $config['visible']; $tones = ['brand', 'ink', 'sand']; @endphp @if ($gallery->isNotEmpty())

En images

Le site en photos

{{-- Mosaïque : la première photo occupe un bloc double --}}
@foreach ($gallery as $i => $item) @php $legend = $item['caption'] ?: 'Le site de stockage Box 137 à Chauny'; $big = $i === 0; @endphp <{{ $item['exists'] ? 'button' : 'div' }} @if ($item['exists']) type="button" data-lightbox="{{ asset($item['image']) }}" data-caption="{{ $item['caption'] }}" aria-label="Agrandir : {{ $legend }}" @endif data-reveal="{{ min($i, 7) }}" @if ($i >= $visible) data-gallery-extra hidden @endif @class([ 'group relative overflow-hidden border border-black/10 bg-ink-tint', 'col-span-2 row-span-2' => $big, ])> @if ($item['exists']) {{ $legend }} {{-- Voile + loupe au survol --}} @if ($item['caption']) {{ $item['caption'] }} @else @endif @else Photo à venir @endif @endforeach
@if ($gallery->count() > $visible)
@endif
{{-- Visionneuse : dialogue natif (Échap, focus et fond gérés par le navigateur). m-auto est indispensable : le reset de Tailwind met margin:0 sur tout, ce qui annule le centrage automatique de . --}}

{{-- Navigation : désactivée aux extrémités --}}
@endif {{-- ================= OÙ NOUS TROUVER ================= --}}

{{ $location['title'] }}

{{ $location['text'] }}

Itinéraire @foreach (config('site.contacts') as $contact) @if ($loop->first) {{ $contact['phone'] }} @endif @endforeach
{{-- Plan pleine largeur --}}