Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f427237577 | |||
| 960583d07e | |||
| df703dd9ca | |||
| 8bf8e6a890 | |||
| b9ce714b4b | |||
| 514bd35bc4 | |||
| 9dcc5a10e5 |
@@ -11,6 +11,24 @@ import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'
|
|||||||
import { Building2, CheckCircle, Gauge, Phone, Power, Shield, Star, Target, Wrench, Zap } from 'lucide-react';
|
import { Building2, CheckCircle, Gauge, Phone, Power, Shield, Star, Target, Wrench, Zap } from 'lucide-react';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const handleTeamClick = () => {
|
||||||
|
const aboutSection = document.getElementById('about');
|
||||||
|
if (aboutSection) {
|
||||||
|
aboutSection.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleBudgetRequest = () => {
|
||||||
|
const contactSection = document.getElementById('contact');
|
||||||
|
if (contactSection) {
|
||||||
|
contactSection.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleCallNow = () => {
|
||||||
|
window.location.href = 'tel:+34666175015';
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="hover-bubble"
|
defaultButtonVariant="hover-bubble"
|
||||||
@@ -40,7 +58,7 @@ export default function LandingPage() {
|
|||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroSplitKpi
|
<HeroSplitKpi
|
||||||
title="Taller mecánico de confianza en Pamplona"
|
title="Servicio mecánico profesional y de confianza"
|
||||||
description="Reparación, mantenimiento y diagnóstico para todo tipo de vehículos multimarca. Atención personalizada, precios competitivos y servicio rápido."
|
description="Reparación, mantenimiento y diagnóstico para todo tipo de vehículos multimarca. Atención personalizada, precios competitivos y servicio rápido."
|
||||||
tag="Profesionales con experiencia"
|
tag="Profesionales con experiencia"
|
||||||
tagIcon={Wrench}
|
tagIcon={Wrench}
|
||||||
@@ -53,8 +71,8 @@ export default function LandingPage() {
|
|||||||
]}
|
]}
|
||||||
enableKpiAnimation={true}
|
enableKpiAnimation={true}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Pedir presupuesto", href: "#contact" },
|
{ text: "Pedir presupuesto", onClick: handleBudgetRequest },
|
||||||
{ text: "Llamar ahora", href: "tel:+34666175015" }
|
{ text: "Llamar ahora", onClick: handleCallNow }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
imageSrc="http://img.b2bpic.net/free-photo/young-auto-mechanic-using-compressor-while-maintaining-ac-unit-car-workshop_637285-4285.jpg"
|
imageSrc="http://img.b2bpic.net/free-photo/young-auto-mechanic-using-compressor-while-maintaining-ac-unit-car-workshop_637285-4285.jpg"
|
||||||
@@ -124,7 +142,7 @@ export default function LandingPage() {
|
|||||||
imageAlt="Equipo profesional de Talleres VR en Pamplona"
|
imageAlt="Equipo profesional de Talleres VR en Pamplona"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Conoce nuestro equipo", href: "#about" }
|
{ text: "Conoce nuestro equipo", onClick: handleTeamClick }
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -172,7 +190,7 @@ export default function LandingPage() {
|
|||||||
imageAlt="Taller Talleres VR en Pamplona - Interior profesional"
|
imageAlt="Taller Talleres VR en Pamplona - Interior profesional"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Solicita presupuesto", href: "#contact" }
|
{ text: "Solicita presupuesto", onClick: handleBudgetRequest }
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -236,4 +254,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user