Merge version_4 into main
Merge version_4 into main
This commit was merged in pull request #8.
This commit is contained in:
@@ -30,19 +30,21 @@ export default function AboutPage() {
|
||||
{
|
||||
name: "À Propos", id: "/about"},
|
||||
{
|
||||
name: "Services", id: "/#services"},
|
||||
name: "Services", id: "/services"},
|
||||
{
|
||||
name: "Galerie", id: "/#gallery"},
|
||||
name: "Galerie", id: "/gallery"},
|
||||
{
|
||||
name: "Témoignages", id: "/#testimonials"},
|
||||
{
|
||||
name: "FAQ", id: "/#faq"},
|
||||
{
|
||||
name: "Contact", id: "/#contact"},
|
||||
name: "Contact", id: "/contact"},
|
||||
{
|
||||
name: "Réserver", id: "/booking"}
|
||||
]}
|
||||
brandName="Salle Évasion"
|
||||
button={{
|
||||
text: "Demander un devis", href: "/#contact"}}
|
||||
text: "Demander un devis", href: "/booking"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -87,9 +89,11 @@ export default function AboutPage() {
|
||||
{
|
||||
label: "À Propos", href: "/about"},
|
||||
{
|
||||
label: "Services", href: "/#services"},
|
||||
label: "Services", href: "/services"},
|
||||
{
|
||||
label: "Galerie", href: "/#gallery"},
|
||||
label: "Galerie", href: "/gallery"},
|
||||
{
|
||||
label: "Réserver", href: "/booking"}
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -97,7 +101,7 @@ export default function AboutPage() {
|
||||
{
|
||||
label: "FAQ", href: "/#faq"},
|
||||
{
|
||||
label: "Contact", href: "/#contact"},
|
||||
label: "Contact", href: "/contact"},
|
||||
{
|
||||
label: "Politique de Confidentialité", href: "#"},
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@ export default function BookingPage() {
|
||||
if (!formData.name) newErrors.name = "Le nom est requis.";
|
||||
if (!formData.phone) newErrors.phone = "Le numéro de téléphone est requis.";
|
||||
if (!formData.email) newErrors.email = "L'adresse email est requise.";
|
||||
else if (!/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(formData.email)) newErrors.email = "Format d'email invalide.";
|
||||
else if (!/^\w+([.-]?\w+)*@\w+([.-]?\w)*(\.\w{2,3})+$/.test(formData.email)) newErrors.email = "Format d'email invalide.";
|
||||
if (!formData.eventType) newErrors.eventType = "Le type d'événement est requis.";
|
||||
if (!formData.desiredDate) newErrors.desiredDate = "La date souhaitée est requise.";
|
||||
if (!formData.numGuests) newErrors.numGuests = "Le nombre d'invités est requis.";
|
||||
@@ -60,9 +60,9 @@ export default function BookingPage() {
|
||||
|
||||
const navItems = [
|
||||
{ name: "Accueil", id: "/" },
|
||||
{ name: "À Propos", id: "/#about" },
|
||||
{ name: "Services", id: "/#services" },
|
||||
{ name: "Galerie", id: "/#gallery" },
|
||||
{ name: "À Propos", id: "/about" },
|
||||
{ name: "Services", id: "/services" },
|
||||
{ name: "Galerie", id: "/gallery" },
|
||||
{ name: "Témoignages", id: "/#testimonials" },
|
||||
{ name: "FAQ", id: "/#faq" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
@@ -73,9 +73,9 @@ export default function BookingPage() {
|
||||
{
|
||||
title: "Découvrir", items: [
|
||||
{ label: "Accueil", href: "/" },
|
||||
{ label: "À Propos", href: "/#about" },
|
||||
{ label: "Services", href: "/#services" },
|
||||
{ label: "Galerie", href: "/#gallery" },
|
||||
{ label: "À Propos", href: "/about" },
|
||||
{ label: "Services", href: "/services" },
|
||||
{ label: "Galerie", href: "/gallery" },
|
||||
{ label: "Réserver", href: "/booking" }
|
||||
]
|
||||
},
|
||||
|
||||
@@ -27,21 +27,23 @@ export default function ContactPage() {
|
||||
{
|
||||
name: "Accueil", id: "/"},
|
||||
{
|
||||
name: "À Propos", id: "/#about"},
|
||||
name: "À Propos", id: "/about"},
|
||||
{
|
||||
name: "Services", id: "/#services"},
|
||||
name: "Services", id: "/services"},
|
||||
{
|
||||
name: "Galerie", id: "/#gallery"},
|
||||
name: "Galerie", id: "/gallery"},
|
||||
{
|
||||
name: "Témoignages", id: "/#testimonials"},
|
||||
{
|
||||
name: "FAQ", id: "/#faq"},
|
||||
{
|
||||
name: "Contact", id: "/contact"},
|
||||
{
|
||||
name: "Réserver", id: "/booking"}
|
||||
]}
|
||||
brandName="Salle Évasion"
|
||||
button={{
|
||||
text: "Demander un devis", href: "/contact"}}
|
||||
text: "Demander un devis", href: "/booking"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -70,11 +72,13 @@ export default function ContactPage() {
|
||||
{
|
||||
label: "Accueil", href: "/"},
|
||||
{
|
||||
label: "À Propos", href: "/#about"},
|
||||
label: "À Propos", href: "/about"},
|
||||
{
|
||||
label: "Services", href: "/#services"},
|
||||
label: "Services", href: "/services"},
|
||||
{
|
||||
label: "Galerie", href: "/#gallery"},
|
||||
label: "Galerie", href: "/gallery"},
|
||||
{
|
||||
label: "Réserver", href: "/booking"}
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -107,4 +111,4 @@ export default function ContactPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,16 +25,20 @@ export default function GalleryPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{ name: "Accueil", id: "/"},
|
||||
{ name: "À Propos", id: "/about"},
|
||||
{ name: "Services", id: "/services"},
|
||||
{
|
||||
name: "À Propos", id: "/about"},
|
||||
{
|
||||
name: "Services", id: "/services"},
|
||||
{ name: "Galerie", id: "/gallery"},
|
||||
{ name: "Témoignages", id: "/#testimonials"},
|
||||
{ name: "FAQ", id: "/#faq"},
|
||||
{ name: "Contact", id: "/#contact"},
|
||||
{ name: "Contact", id: "/contact"},
|
||||
{
|
||||
name: "Réserver", id: "/booking"}
|
||||
]}
|
||||
brandName="Salle Évasion"
|
||||
button={{
|
||||
text: "Demander un devis", href: "/#contact"}}
|
||||
text: "Demander un devis", href: "/booking"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -65,13 +69,15 @@ export default function GalleryPage() {
|
||||
{ label: "Accueil", href: "/"},
|
||||
{ label: "À Propos", href: "/about"},
|
||||
{ label: "Services", href: "/services"},
|
||||
{ label: "Galerie", href: "/gallery"}
|
||||
{ label: "Galerie", href: "/gallery"},
|
||||
{
|
||||
label: "Réserver", href: "/booking"}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Assistance", items: [
|
||||
{ label: "FAQ", href: "/#faq"},
|
||||
{ label: "Contact", href: "/#contact"},
|
||||
{ label: "Contact", href: "/contact"},
|
||||
{ label: "Politique de Confidentialité", href: "#"},
|
||||
{ label: "Conditions Générales", href: "#"}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user