Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fef99ae1e | |||
| e610d7c217 | |||
| 05b311a283 | |||
| 1f228568a3 | |||
| 75f7cde9c5 | |||
| 06cfbda2fc | |||
| 83ba0af649 | |||
| 4536d2a1d0 |
@@ -12,6 +12,13 @@ import FooterMedia from '@/components/sections/footer/FooterMedia';
|
|||||||
import { Award, Car, CheckCircle, Phone, Sparkles, Zap } from 'lucide-react';
|
import { Award, Car, CheckCircle, Phone, Sparkles, Zap } from 'lucide-react';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const phoneNumber = "0782205551";
|
||||||
|
const phoneHref = `tel:${phoneNumber}`;
|
||||||
|
|
||||||
|
const handleAppelerClick = () => {
|
||||||
|
window.location.href = phoneHref;
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="elastic-effect"
|
defaultButtonVariant="elastic-effect"
|
||||||
@@ -34,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: "tel:0782205551" }}
|
button={{ text: "📞 Appeler maintenant", onClick: handleAppelerClick }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -46,7 +53,7 @@ export default function LandingPage() {
|
|||||||
tagIcon={Sparkles}
|
tagIcon={Sparkles}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "📞 Appeler maintenant", href: "tel:0782205551" },
|
{ text: "📞 Appeler maintenant", onClick: handleAppelerClick },
|
||||||
{ text: "🚗 Voir les véhicules", href: "#vehicles" }
|
{ text: "🚗 Voir les véhicules", href: "#vehicles" }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
@@ -142,7 +149,7 @@ export default function LandingPage() {
|
|||||||
tagIcon={Zap}
|
tagIcon={Zap}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "📞 Commencer maintenant", href: "tel:0782205551" }
|
{ text: "📞 Commencer maintenant", onClick: handleAppelerClick }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
metrics={[
|
metrics={[
|
||||||
@@ -162,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: 07 82 20 55 51", href: "tel:0782205551" }}
|
ctaButton={{ text: `📞 Appeler: ${phoneNumber}`, onClick: handleAppelerClick }}
|
||||||
ctaIcon={Phone}
|
ctaIcon={Phone}
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
@@ -186,7 +193,7 @@ export default function LandingPage() {
|
|||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
title: "Contact", items: [
|
title: "Contact", items: [
|
||||||
{ label: "📞 Téléphone: 07 82 20 55 51", href: "tel:0782205551" },
|
{ label: `📞 Téléphone: ${phoneNumber}`, href: phoneHref },
|
||||||
{ label: "📍 Adresse: 37 Ter Rue de la Picardie, 77580 Villiers-sur-Morin", href: "#" },
|
{ label: "📍 Adresse: 37 Ter Rue de la Picardie, 77580 Villiers-sur-Morin", href: "#" },
|
||||||
{ label: "🌐 Seine-et-Marne", href: "#" }
|
{ label: "🌐 Seine-et-Marne", href: "#" }
|
||||||
]
|
]
|
||||||
@@ -213,4 +220,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user