@section('content')
- <div class="flex flex-col -mx-28 min-h-full">
- <div class="flex-1 flex justify-center items-center bg-yellow p-4">BLOCK 1</div>
- <div class="flex-none grid grid-cols-3 gap-6">
- <div class="bg-blue text-white p-8 rounded-lg">LINK</div>
- <div class="bg-blue text-white p-8 rounded-lg">LINK</div>
- <div class="bg-blue text-white p-8 rounded-lg">LINK</div>
+ @php
+ // TEMPORARY DATA MOCKUP
+ $logo = 'https://odl.paris.cubedesigners.com/storage/102/groupe-84.svg';
+ $subtitle = "Découvrez le coeur de l'offre sous forme de feuilleteur interactif";
+ $button = "Découvrir l'offre";
+ $illustration = 'https://odl.paris.cubedesigners.com/storage/103/magazine-mockup-presentation-vol9-at-2x.png';
+ $shortcuts = [
+ [
+ 'title' => 'Ressources',
+ 'content' => "Consultez l'ensemble des documents au format PDF",
+ 'image' => 'https://odl.paris.cubedesigners.com/storage/104/groupe-209-at-2x.png',
+ 'link' => '/ressources',
+ ],
+ [
+ 'title' => 'Médiathèque',
+ 'content' => 'Consultez les médias audio et vidéo',
+ 'image' => 'https://odl.paris.cubedesigners.com/storage/105/groupe-211-at-2x.png',
+ 'link' => '#',
+ ],
+ [
+ 'title' => 'Visite guidée',
+ 'content' => 'Laissez-vous guider dans une lecture thématique',
+ 'image' => 'https://odl.paris.cubedesigners.com/storage/106/groupe-221-at-2x.png',
+ 'link' => '#',
+ ],
+ ];
+ @endphp
+
+ <div class="flex flex-col flex-1 -mx-28 -mt-28">
+
+ {{-- Main home content --}}
+ <div class="flex flex-1 justify-center -mb-16">{{-- negative margin so image shadow sits under shortcuts --}}
+ {{-- Left Column: logo + text + CTA --}}
+ <div class="home-left flex flex-1 flex-col justify-center items-center p-6 max-w-[310px]">
+ @if($logo)<img class="mb-10" src="{{ $logo }}" alt="Logo">@endif
+ @if($subtitle)<p class="text-center mb-5">{{ $subtitle }}</p>@endif
+ @if($button)<a class="bg-blue text-white py-4 px-10 rounded-full" href="#">{{ $button }}</a>@endif
+ </div>
+ {{-- Right Column: Illustration image --}}
+ <div class="home-right flex-1 bg-contain bg-center bg-no-repeat max-w-[700px]" style="@if($illustration)background-image:url({{ $illustration }})@endif"></div>
</div>
+
+ {{-- Link blocks --}}
+ <div class="grid grid-cols-3 gap-6">
+ @foreach($shortcuts as $shortcut)
+ <div class="bg-blue flex items-center text-white p-6 rounded-lg">
+ <img class="flex-shrink mr-8 w-[40%]" src="{{ $shortcut['image'] }}" alt="">
+ <div class="flex-1 flex-shrink-0 space-y-2">
+ <h3 class="font-semibold uppercase">{{ $shortcut['title'] }}</h3>
+ <p>{{ $shortcut['content'] }}</p>
+ <a href="{{ $shortcut['link'] }}" class="circle-arrow"></a>
+ </div>
+ </div>
+ @endforeach
+ </div>
+
</div>
@endsection