Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d3903ee9dd | |||
| f38881ac14 | |||
| 43558d6ca7 | |||
| 6fef99ae1e | |||
| e610d7c217 |
@@ -15,6 +15,10 @@ export default function LandingPage() {
|
|||||||
const phoneNumber = "0782205551";
|
const phoneNumber = "0782205551";
|
||||||
const phoneHref = `tel:${phoneNumber}`;
|
const phoneHref = `tel:${phoneNumber}`;
|
||||||
|
|
||||||
|
const handleAppelerClick = () => {
|
||||||
|
window.location.href = phoneHref;
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="elastic-effect"
|
defaultButtonVariant="elastic-effect"
|
||||||
@@ -37,7 +41,7 @@ export default function LandingPage() {
|
|||||||
{ name: "Avis clients", id: "reviews" },
|
{ name: "Avis clients", id: "reviews" },
|
||||||
{ name: "Contact", id: "contact" }
|
{ name: "Contact", id: "contact" }
|
||||||
]}
|
]}
|
||||||
button={{ text: "📞 Appeler maintenant", href: phoneHref }}
|
button={{ text: "📞 Appeler maintenant", onClick: handleAppelerClick }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -49,7 +53,7 @@ export default function LandingPage() {
|
|||||||
tagIcon={Sparkles}
|
tagIcon={Sparkles}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "📞 Appeler maintenant", href: phoneHref },
|
{ text: "Réserver une visite gratuite", onClick: handleAppelerClick },
|
||||||
{ text: "🚗 Voir les véhicules", href: "#vehicles" }
|
{ text: "🚗 Voir les véhicules", href: "#vehicles" }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
@@ -145,7 +149,7 @@ export default function LandingPage() {
|
|||||||
tagIcon={Zap}
|
tagIcon={Zap}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "📞 Commencer maintenant", href: phoneHref }
|
{ text: "📞 Commencer maintenant", onClick: handleAppelerClick }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
metrics={[
|
metrics={[
|
||||||
@@ -165,7 +169,7 @@ export default function LandingPage() {
|
|||||||
<ContactFaq
|
<ContactFaq
|
||||||
ctaTitle="Un véhicule vous intéresse?"
|
ctaTitle="Un véhicule vous intéresse?"
|
||||||
ctaDescription="Contactez-nous maintenant pour une visite gratuite, un test drive ou pour demander des informations spécifiques."
|
ctaDescription="Contactez-nous maintenant pour une visite gratuite, un test drive ou pour demander des informations spécifiques."
|
||||||
ctaButton={{ text: `📞 Appeler: ${phoneNumber}`, href: phoneHref }}
|
ctaButton={{ text: `📞 Appeler: ${phoneNumber}`, onClick: handleAppelerClick }}
|
||||||
ctaIcon={Phone}
|
ctaIcon={Phone}
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
|
|||||||
Reference in New Issue
Block a user