Update src/app/page.tsx
This commit is contained in:
@@ -4,21 +4,15 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import { useState } from "react";
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import FeatureBento from '@/components/sections/feature/FeatureBento';
|
||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import { AlertTriangle, Briefcase, Globe, Home, Landmark, Mail, MessageSquare, Package, Shield, ShieldCheck, ShoppingBag, Target, User } from "lucide-react";
|
||||
import { AlertTriangle, Briefcase, Globe, Home, Landmark, Mail, MessageSquare, Package, ShieldCheck, ShoppingBag } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const [isSubmitting, setIsSubmitting] = useState(false);
|
||||
const [submitMessage, setSubmitMessage] = useState<string | null>(null);
|
||||
|
||||
const handleScroll = (id: string) => {
|
||||
const element = document.getElementById(id.replace(/^#/, ''));
|
||||
if (element) {
|
||||
@@ -26,17 +20,6 @@ export default function LandingPage() {
|
||||
}
|
||||
};
|
||||
|
||||
const handleAnalysis = (email: string) => {
|
||||
if (!email) return;
|
||||
setIsSubmitting(true);
|
||||
setSubmitMessage(null);
|
||||
|
||||
setTimeout(() => {
|
||||
setIsSubmitting(false);
|
||||
setSubmitMessage("Confirmation : Analyse lancée pour " + email);
|
||||
}, 2000);
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="elastic-effect"
|
||||
@@ -81,6 +64,7 @@ export default function LandingPage() {
|
||||
<ContactText
|
||||
text="Centre d'Analyse : Copiez-collez le contenu suspect ci-dessous pour obtenir une évaluation instantanée du risque."
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
buttons={[{ text: "Analyser le lien" }]}
|
||||
/>
|
||||
</div>
|
||||
@@ -91,7 +75,16 @@ export default function LandingPage() {
|
||||
textboxLayout="split-description"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{ title: "Analyse SMS", description: "Vérification immédiate.", bentoComponent: "phone", statusIcon: ShieldCheck, alertIcon: AlertTriangle, alertTitle: "Risque élevé", alertMessage: "Ne cliquez pas !", apps: [{name:"SMS",icon:MessageSquare},{name:"Email",icon:Mail},{name:"Web",icon:Globe},{name:"Vinted",icon:ShoppingBag},{name:"Bank",icon:Landmark},{name:"Logement",icon:Home},{name:"Colis",icon:Package},{name:"Jobs",icon:Briefcase}] }
|
||||
{
|
||||
title: "Analyse SMS",
|
||||
description: "Vérification immédiate.",
|
||||
bentoComponent: "phone",
|
||||
statusIcon: ShieldCheck,
|
||||
alertIcon: AlertTriangle,
|
||||
alertTitle: "Risque élevé",
|
||||
alertMessage: "Ne cliquez pas !",
|
||||
apps: [{name:"SMS",icon:MessageSquare},{name:"Email",icon:Mail},{name:"Web",icon:Globe},{name:"Vinted",icon:ShoppingBag},{name:"Bank",icon:Landmark},{name:"Logement",icon:Home},{name:"Colis",icon:Package},{name:"Jobs",icon:Briefcase}]
|
||||
}
|
||||
]}
|
||||
title="Fonctionnalités"
|
||||
description="Outils avancés de détection."
|
||||
@@ -117,6 +110,9 @@ export default function LandingPage() {
|
||||
title="User Dashboard"
|
||||
description="Connectez-vous pour accéder à votre historique et gérer vos abonnements."
|
||||
buttonText="Sign In / Sign Up"
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
tag="Dashboard Access"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user