From c42cc9f63e65b70dfaffe01631577a4c48576bf9 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 18 Apr 2026 17:02:58 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 292f398..2f07ebf 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,5 +1,6 @@ "use client"; +import React, { useState } from "react"; import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; @@ -12,9 +13,20 @@ import TestimonialCardFifteen from "@/components/sections/testimonial/Testimonia import FaqBase from "@/components/sections/faq/FaqBase"; import ContactCTA from "@/components/sections/contact/ContactCTA"; import FooterBase from "@/components/sections/footer/FooterBase"; -import { Sparkles, Clock, Brain, Activity, Target, Shield, TrendingUp, Award, Zap, Users } from "lucide-react"; +import { Sparkles, Clock, Brain, Activity, Target, Shield, TrendingUp, Award, Zap, Users, Upload } from "lucide-react"; export default function WebAgency2Page() { + const [uploadStatus, setUploadStatus] = useState(null); + const [analysis, setAnalysis] = useState(null); + + const handleUpload = () => { + setUploadStatus("Uploading..."); + setTimeout(() => { + setUploadStatus("Analysis complete!"); + setAnalysis("Based on the chart pattern identified (Head and Shoulders), our AI predicts a 72% probability of a bearish reversal in the next 4 hours. Recommended Entry: 1.0850. Target: 1.0790."); + }, 2000); + }; + return ( -
+
{ const el = document.getElementById("contact"); if (el) el.scrollIntoView({ behavior: "smooth" }); } }]} + buttons={[{ text: "Upload Screenshot", onClick: handleUpload }]} background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} /> + {uploadStatus && ( +
+

{uploadStatus}

+ {analysis &&

{analysis}

} +
+ )}