```
♻️ refactor(routes): Corrige les noms des routes pour 'reservation' au lieu de 'revervation'.
```
This commit is contained in:
@@ -10,3 +10,8 @@ nelmio_security:
|
||||
- "https://chat.esy-web.dev"
|
||||
- "https://auth.esy-web.dev"
|
||||
- "https://cloudflareinsights.com"
|
||||
img-src:
|
||||
- "'self'"
|
||||
- "data:"
|
||||
- "https://chat.esy-web.dev"
|
||||
- "https://fastly.picsum.photos"
|
||||
|
||||
@@ -40,12 +40,12 @@ class ReserverController extends AbstractController
|
||||
'Content-Type' => 'text/plain'
|
||||
]);
|
||||
}
|
||||
#[Route('/reservation', name: 'revervation')]
|
||||
#[Route('/reservation', name: 'reservation')]
|
||||
public function revervation()
|
||||
{
|
||||
return $this->render('revervation/home.twig');
|
||||
}
|
||||
#[Route('/reservation/contact', name: 'revervation_contact')]
|
||||
#[Route('/reservation/contact', name: 'reservation_contact')]
|
||||
public function revervationContact()
|
||||
{
|
||||
return $this->render('revervation/home.twig');
|
||||
@@ -55,27 +55,27 @@ class ReserverController extends AbstractController
|
||||
{
|
||||
}
|
||||
|
||||
#[Route('/reservation/mentions-legal', name: 'revervation_mentions-legal')]
|
||||
#[Route('/reservation/mentions-legal', name: 'reservation_mentions-legal')]
|
||||
public function revervationLegal()
|
||||
{
|
||||
return $this->render('revervation/legal.twig');
|
||||
}
|
||||
#[Route('/reservation/rgpd', name: 'revervation_rgpd')]
|
||||
#[Route('/reservation/rgpd', name: 'reservation_rgpd')]
|
||||
public function revervationRgpd()
|
||||
{
|
||||
return $this->render('revervation/rgpd.twig');
|
||||
}
|
||||
#[Route('/reservation/cookies', name: 'revervation_cookies')]
|
||||
#[Route('/reservation/cookies', name: 'reservation_cookies')]
|
||||
public function revervationCookies()
|
||||
{
|
||||
return $this->render('revervation/cookies.twig');
|
||||
}
|
||||
#[Route('/reservation/cgv', name: 'revervation_cgv')]
|
||||
#[Route('/reservation/cgv', name: 'reservation_cgv')]
|
||||
public function revervationCgv()
|
||||
{
|
||||
return $this->render('revervation/cgv.twig');
|
||||
}
|
||||
#[Route('/reservation/hosting', name: 'revervation_hosting')]
|
||||
#[Route('/reservation/hosting', name: 'reservation_hosting')]
|
||||
public function revervationHosting()
|
||||
{
|
||||
return $this->render('revervation/hosting.twig');
|
||||
|
||||
@@ -34,20 +34,20 @@ class SiteMapListener implements EventSubscriberInterface
|
||||
$urlContainer = $event->getUrlContainer();
|
||||
|
||||
$t = new \DateTime();
|
||||
$rv = new UrlConcrete($urlGenerator->generate('revervation',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_DAILY,1);
|
||||
$rv = new UrlConcrete($urlGenerator->generate('reservation',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_DAILY,1);
|
||||
$urlContainer->addUrl($rv,'revervation');
|
||||
$rv = new UrlConcrete($urlGenerator->generate('revervation_contact',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_DAILY,1);
|
||||
$rv = new UrlConcrete($urlGenerator->generate('reservation_contact',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_DAILY,1);
|
||||
|
||||
$urlContainer->addUrl($rv,'revervation');
|
||||
$rv = new UrlConcrete($urlGenerator->generate('revervation_cookies',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$rv = new UrlConcrete($urlGenerator->generate('reservation_cookies',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$urlContainer->addUrl($rv,'revervation');
|
||||
$rv = new UrlConcrete($urlGenerator->generate('revervation_mentions-legal',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$rv = new UrlConcrete($urlGenerator->generate('reservation_mentions-legal',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$urlContainer->addUrl($rv,'revervation');
|
||||
$rv = new UrlConcrete($urlGenerator->generate('revervation_rgpd',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$rv = new UrlConcrete($urlGenerator->generate('reservation_rgpd',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$urlContainer->addUrl($rv,'revervation');
|
||||
$rv = new UrlConcrete($urlGenerator->generate('revervation_hosting',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$rv = new UrlConcrete($urlGenerator->generate('reservation_hosting',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$urlContainer->addUrl($rv,'revervation');
|
||||
$rv = new UrlConcrete($urlGenerator->generate('revervation_cgv',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$rv = new UrlConcrete($urlGenerator->generate('reservation_cgv',[], UrlGeneratorInterface::ABSOLUTE_URL),$t,UrlConcrete::CHANGEFREQ_WEEKLY,0.5);
|
||||
$urlContainer->addUrl($rv,'revervation');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Accueil",
|
||||
"item": "{{ url('revervation') }}"
|
||||
"item": "{{ url('reservation') }}"
|
||||
}
|
||||
{% block breadcrumb_json %}{% endblock %}
|
||||
]
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
{# Logo #}
|
||||
<div class="flex-shrink-0 flex items-center">
|
||||
<a href="{{ path('revervation') }}" class="flex items-center gap-2 group">
|
||||
<a href="{{ path('reservation') }}" class="flex items-center gap-2 group">
|
||||
<img class="h-12 w-auto transition-transform group-hover:scale-105"
|
||||
src="{{ asset('provider/images/favicon.png') }}"
|
||||
alt="Ludikevent Logo">
|
||||
@@ -107,9 +107,9 @@
|
||||
|
||||
{# Menu Desktop #}
|
||||
<div class="hidden md:flex items-center space-x-8">
|
||||
<a href="{{ path('revervation') }}" class="text-gray-700 hover:text-blue-600 font-medium transition-colors">Accueil</a>
|
||||
<a href="{{ path('revervation_contact') }}" class="text-gray-700 hover:text-blue-600 font-medium transition-colors">Catalogue</a>
|
||||
<a href="{{ path('revervation_contact') }}" class="text-gray-700 hover:text-blue-600 font-medium transition-colors">Contact</a>
|
||||
<a href="{{ path('reservation') }}" class="text-gray-700 hover:text-blue-600 font-medium transition-colors">Accueil</a>
|
||||
<a href="{{ path('reservation_contact') }}" class="text-gray-700 hover:text-blue-600 font-medium transition-colors">Catalogue</a>
|
||||
<a href="{{ path('reservation_contact') }}" class="text-gray-700 hover:text-blue-600 font-medium transition-colors">Contact</a>
|
||||
|
||||
<a href="{{ path('reservation_search') }}" class="p-2 text-gray-500 hover:text-blue-600 transition-colors" aria-label="Rechercher">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||
@@ -136,7 +136,7 @@
|
||||
{# Contenu Menu Mobile (Caché par défaut) #}
|
||||
<div id="mobile-menu" class="hidden md:hidden bg-white border-t border-gray-100 shadow-xl">
|
||||
<div class="px-4 pt-2 pb-6 space-y-2">
|
||||
<a href="{{ path('revervation') }}" class="block px-3 py-2 text-base font-medium text-gray-700 hover:bg-gray-50 rounded-xl transition-colors">Accueil</a>
|
||||
<a href="{{ path('reservation') }}" class="block px-3 py-2 text-base font-medium text-gray-700 hover:bg-gray-50 rounded-xl transition-colors">Accueil</a>
|
||||
<a href="{{ path('reservation_search') }}" class="block px-3 py-2 text-base font-medium text-gray-700 hover:bg-gray-50 rounded-xl transition-colors">Rechercher</a>
|
||||
<div class="pt-4 border-t border-gray-50">
|
||||
<a href="tel:0614172447" class="block px-3 py-3 text-center bg-blue-600 text-white rounded-xl font-bold">
|
||||
@@ -168,11 +168,11 @@
|
||||
|
||||
{# Liens légaux #}
|
||||
<div class="flex flex-wrap justify-center gap-x-6 gap-y-2 text-xs text-gray-500 font-medium">
|
||||
<a href="{{ path('revervation_mentions-legal') }}" class="hover:text-blue-600 transition-colors">Mentions légales</a>
|
||||
<a href="{{ path('revervation_cgv') }}" class="hover:text-blue-600 transition-colors">CGV</a>
|
||||
<a href="{{ path('revervation_rgpd') }}" class="hover:text-blue-600 transition-colors">RGPD</a>
|
||||
<a href="{{ path('revervation_cookies') }}" class="hover:text-blue-600 transition-colors">Cookies</a>
|
||||
<a href="{{ path('revervation_hosting') }}" class="hover:text-blue-600 transition-colors">Hébergement</a>
|
||||
<a href="{{ path('reservation_mentions-legal') }}" class="hover:text-blue-600 transition-colors">Mentions légales</a>
|
||||
<a href="{{ path('reservation_cgv') }}" class="hover:text-blue-600 transition-colors">CGV</a>
|
||||
<a href="{{ path('reservation_rgpd') }}" class="hover:text-blue-600 transition-colors">RGPD</a>
|
||||
<a href="{{ path('reservation_cookies') }}" class="hover:text-blue-600 transition-colors">Cookies</a>
|
||||
<a href="{{ path('reservation_hosting') }}" class="hover:text-blue-600 transition-colors">Hébergement</a>
|
||||
</div>
|
||||
|
||||
{# Réseaux Sociaux #}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "CGV",
|
||||
"item": "{{ path('revervation_cgv') }}"
|
||||
"item": "{{ path('reservation_cgv') }}"
|
||||
}
|
||||
{% endblock %}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10 text-center">
|
||||
{# Fil d'ariane visuel #}
|
||||
<nav class="flex justify-center space-x-2 text-xs mb-8 uppercase tracking-[0.2em] font-black">
|
||||
<a href="{{ url('revervation') }}" class="text-slate-900 hover:text-indigo-600 transition">ACCUEIL</a>
|
||||
<a href="{{ url('reservation') }}" class="text-slate-900 hover:text-indigo-600 transition">ACCUEIL</a>
|
||||
<span class="text-slate-300">/</span>
|
||||
<span class="text-amber-500">CGV</span>
|
||||
</nav>
|
||||
@@ -1236,7 +1236,7 @@
|
||||
Document Contractuel — Ludik Event 2026
|
||||
</p>
|
||||
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
||||
<a href="{{ url('revervation') }}" class="px-8 py-4 bg-slate-900 text-white text-[10px] font-black uppercase tracking-widest rounded-full hover:bg-indigo-600 transition-all shadow-xl">
|
||||
<a href="{{ url('reservation') }}" class="px-8 py-4 bg-slate-900 text-white text-[10px] font-black uppercase tracking-widest rounded-full hover:bg-indigo-600 transition-all shadow-xl">
|
||||
Retour à l'accueil
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Politique de gestion des cookies",
|
||||
"item": "{{ path('revervation_cookies') }}"
|
||||
"item": "{{ path('reservation') }}"
|
||||
}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
@@ -142,7 +142,7 @@
|
||||
{# --- FOOTER --- #}
|
||||
<div class="max-w-6xl mx-auto px-4 mt-16 flex justify-between items-center border-t border-slate-200 pt-8">
|
||||
<p class="text-[9px] font-black text-slate-300 uppercase tracking-[0.5em]">Ludik Event © 2026</p>
|
||||
<a href="{{ path('revervation') }}" class="text-[10px] font-black text-slate-900 hover:text-indigo-600 uppercase tracking-widest flex items-center gap-2">
|
||||
<a href="{{ path('reservation') }}" class="text-[10px] font-black text-slate-900 hover:text-indigo-600 uppercase tracking-widest flex items-center gap-2">
|
||||
RETOUR 🏠
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
{# Image Hero avec effet de profondeur #}
|
||||
<div class="mt-12 lg:mt-0 lg:col-span-6 relative">
|
||||
<div class="relative mx-auto w-full rounded-3xl overflow-hidden shadow-2xl rotate-2 hover:rotate-0 transition-transform duration-500">
|
||||
<img src="{{ asset('provider/images/hero-image.jpg') }}" alt="Château gonflable Ludikevent" class="w-full h-full object-cover aspect-[4/3]">
|
||||
<img src="https://fastly.picsum.photos/id/891/900/900.jpg?hmac=wrVmh5uJ2iYgYxcBahf7RQIe8z6AAPGIJg8AmMqUuE4" alt="Château gonflable Ludikevent" class="w-full h-full object-cover aspect-[4/3]">
|
||||
<div class="absolute inset-0 bg-gradient-to-t from-black/20 to-transparent"></div>
|
||||
</div>
|
||||
{# Badge flottant #}
|
||||
@@ -53,7 +53,7 @@
|
||||
<h2 class="text-3xl font-black text-gray-900">Nos Best-Sellers</h2>
|
||||
<p class="text-gray-500 mt-2">Les structures préférées de nos clients.</p>
|
||||
</div>
|
||||
<a href="{{ path('revervation_contact') }}" class="text-blue-600 font-bold hover:underline flex items-center gap-2">
|
||||
<a href="{{ path('reservation_contact') }}" class="text-blue-600 font-bold hover:underline flex items-center gap-2">
|
||||
Tout voir
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path d="M14 5l7 7m0 0l-7 7m7-7H3"/></svg>
|
||||
</a>
|
||||
@@ -64,7 +64,7 @@
|
||||
{% for i in 1..3 %}
|
||||
<div class="group bg-white rounded-[2.5rem] p-4 border border-gray-100 shadow-sm hover:shadow-xl transition-all duration-500">
|
||||
<div class="relative overflow-hidden rounded-[2rem] aspect-[4/5]">
|
||||
<img src="https://images.unsplash.com/photo-1572953108543-d2023bc62f7d?auto=format&fit=crop&q=80" class="w-full h-full object-cover transform group-hover:scale-110 transition-transform duration-700">
|
||||
<img src="https://fastly.picsum.photos/id/33/500/900.jpg?hmac=GIlXM3iIDVzeqRySjChrdtU_Npf794Nbf6XcxaCiff8" class="w-full h-full object-cover transform group-hover:scale-110 transition-transform duration-700">
|
||||
<div class="absolute top-4 left-4 bg-white/90 backdrop-blur-md px-4 py-2 rounded-2xl shadow-sm">
|
||||
<span class="text-blue-600 font-black text-sm uppercase">Dès 120€</span>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Informations Légales et d'Hébergement",
|
||||
"item": "{{ path('revervation_hosting') }}"
|
||||
"item": "{{ path('reservation_hosting') }}"
|
||||
}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
@@ -188,7 +188,7 @@
|
||||
<div class="max-w-6xl mx-auto px-4 mt-16 flex justify-between items-center border-t border-slate-200 pt-8">
|
||||
<p class="text-[9px] font-black text-slate-300 uppercase tracking-[0.5em]">Ludik Event © 2026</p>
|
||||
<div class="flex gap-6">
|
||||
<a href="{{ path('revervation') }}" class="text-[10px] font-black text-slate-900 hover:text-indigo-600 uppercase tracking-widest">Accueil</a>
|
||||
<a href="{{ path('reservation') }}" class="text-[10px] font-black text-slate-900 hover:text-indigo-600 uppercase tracking-widest">Accueil</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Mentions Légal",
|
||||
"item": "{{ url('revervation_mentions-legal') }}"
|
||||
"item": "{{ url('reservation_mentions-legal') }}"
|
||||
}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"@type": "ListItem",
|
||||
"position": 1,
|
||||
"name": "Règlement Général sur la Protection des Données (RGPD)",
|
||||
"item": "{{ path('revervation_rgpd') }}"
|
||||
"item": "{{ path('reservation_rgpd') }}"
|
||||
}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
@@ -179,7 +179,7 @@
|
||||
<div class="max-w-6xl mx-auto px-4 mt-16 flex flex-col md:flex-row justify-between items-center gap-4">
|
||||
<p class="text-[9px] font-black text-slate-400 uppercase tracking-[0.5em]">Ludik Event © 2026 - Conforme CNIL</p>
|
||||
<div class="flex gap-6">
|
||||
<a href="{{ path('revervation') }}" class="text-[10px] font-black text-slate-900 hover:text-indigo-600 uppercase tracking-widest transition-colors flex items-center gap-2">
|
||||
<a href="{{ path('reservation') }}" class="text-[10px] font-black text-slate-900 hover:text-indigo-600 uppercase tracking-widest transition-colors flex items-center gap-2">
|
||||
🏠 Accueil
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user