ajout du systeme de layout

This commit is contained in:
2026-03-23 22:33:33 +01:00
parent fb1f8b26a2
commit eb9d1f496b
9 changed files with 197 additions and 76 deletions
+5 -45
View File
@@ -1,44 +1,8 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>(RE)Sources Relationnelles - Ministère des Solidarités et de la Santé</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
/* Couleurs officielles du cahier des charges */
.bg-niagara { background-color: #06989e; }
.text-niagara { color: #06989e; }
.border-niagara { border-color: #06989e; }
.bg-candlelight { background-color: #fce117; }
/* Améliorations de style */
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
.transition-smooth {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glow-niagara {
box-shadow: 0 0 20px rgba(6, 152, 158, 0.3);
}
.gradient-niagara {
background: linear-gradient(135deg, #06989e 0%, #048a91 100%);
}
.gradient-light {
background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f3 100%);
}
</style>
</head>
<body class="bg-white text-gray-900 font-sans leading-relaxed">
@extends('app')
<a href="#main-content" class="sr-only focus:not-sr-only aria-label font-bold p-4 bg-niagara text-white block text-center z-50">
Aller au contenu principal
</a>
@section('title', '(RE)Sources Relationnelles - Accueil')
@include('layout.header')
<main id="main-content">
@section('content')
<section class="py-16 md:py-28 gradient-light">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center gap-12">
<div class="md:w-1/2 text-center md:text-left">
@@ -49,7 +13,7 @@
La plateforme citoyenne dédiée à la qualité des liens : famille, amis, couple ou collègues.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center md:justify-start">
<a href="/resources" class="px-8 py-4 gradient-niagara text-white rounded-lg font-bold text-lg hover:shadow-lg hover:-translate-y-1 transition-smooth duration-200 inline-block">
<a href="{{ route('resources.index') }}" class="px-8 py-4 gradient-niagara text-white rounded-lg font-bold text-lg hover:shadow-lg hover:-translate-y-1 transition-smooth duration-200 inline-block">
Explorer les ressources
</a>
<button class="px-8 py-4 bg-white border-2 border-gray-300 rounded-lg font-bold text-lg text-gray-900 hover:border-niagara hover:text-niagara transition-smooth duration-200">
@@ -95,8 +59,4 @@
</div>
</div>
</section>
</main>
@include('layout.footer')
</body>
</html>
@endsection