Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 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';
|
||||
|
||||
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 (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-bubble"
|
||||
@@ -53,8 +71,8 @@ export default function LandingPage() {
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{ text: "Pedir presupuesto", href: "#contact" },
|
||||
{ text: "Llamar ahora", href: "tel:+34666175015" }
|
||||
{ text: "Pedir presupuesto", onClick: handleBudgetRequest },
|
||||
{ text: "Llamar ahora", onClick: handleCallNow }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
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"
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Conoce nuestro equipo", href: "#about" }
|
||||
{ text: "Conoce nuestro equipo", onClick: handleTeamClick }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -172,7 +190,7 @@ export default function LandingPage() {
|
||||
imageAlt="Taller Talleres VR en Pamplona - Interior profesional"
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Solicita presupuesto", href: "#contact" }
|
||||
{ text: "Solicita presupuesto", onClick: handleBudgetRequest }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user