Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #3.
This commit is contained in:
@@ -14,6 +14,13 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia
|
||||
import { AlertTriangle, Briefcase, Globe, Home, Landmark, Mail, MessageSquare, Package, Shield, ShieldCheck, ShoppingBag, Target, User } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleScroll = (id: string) => {
|
||||
const element = document.getElementById(id.replace(/^#/, ''));
|
||||
if (element) {
|
||||
element.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="elastic-effect"
|
||||
@@ -47,7 +54,7 @@ export default function LandingPage() {
|
||||
title="CliquePas : Vérifiez avant de cliquer."
|
||||
description="L'assistant anti-arnaque simple pour protéger toute votre famille. Analysez SMS, emails et liens en quelques secondes."
|
||||
tag="Nouvelle solution de protection"
|
||||
buttons={[{ text: "Analyser gratuitement", href: "#contact" }]}
|
||||
buttons={[{ text: "Analyser gratuitement", onClick: () => handleScroll("contact") }]}
|
||||
buttonAnimation="slide-up"
|
||||
mediaItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/online-security-fingerprint-scanner-smartphone_53876-94846.jpg", imageAlt: "Interface CliquePas" },
|
||||
@@ -172,10 +179,10 @@ export default function LandingPage() {
|
||||
<FooterLogoReveal
|
||||
logoText="CliquePas"
|
||||
leftLink={{ text: "Confidentialité", href: "/privacy" }}
|
||||
rightLink={{ text: "Contact", href: "/contact" }}
|
||||
rightLink={{ text: "Contact", onClick: () => handleScroll("contact") }}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user