Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c42cc9f63e | |||
| 1d73a15829 | |||
| 759b4e639e | |||
| 451aacdc4a |
@@ -1,5 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
|
import React, { useState } from "react";
|
||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
|
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 FaqBase from "@/components/sections/faq/FaqBase";
|
||||||
import ContactCTA from "@/components/sections/contact/ContactCTA";
|
import ContactCTA from "@/components/sections/contact/ContactCTA";
|
||||||
import FooterBase from "@/components/sections/footer/FooterBase";
|
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() {
|
export default function WebAgency2Page() {
|
||||||
|
const [uploadStatus, setUploadStatus] = useState<string | null>(null);
|
||||||
|
const [analysis, setAnalysis] = useState<string | null>(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 (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
@@ -37,7 +49,10 @@ export default function WebAgency2Page() {
|
|||||||
{ name: "Pricing", id: "pricing" },
|
{ name: "Pricing", id: "pricing" },
|
||||||
{ name: "Upload", id: "contact" },
|
{ name: "Upload", id: "contact" },
|
||||||
]}
|
]}
|
||||||
button={{ text: "Upload Chart", href: "#contact" }}
|
button={{ text: "Upload Chart", onClick: () => {
|
||||||
|
const el = document.getElementById("contact");
|
||||||
|
if (el) el.scrollIntoView({ behavior: "smooth" });
|
||||||
|
} }}
|
||||||
/>
|
/>
|
||||||
<div id="hero">
|
<div id="hero">
|
||||||
<HeroSplitDoubleCarousel
|
<HeroSplitDoubleCarousel
|
||||||
@@ -48,8 +63,8 @@ export default function WebAgency2Page() {
|
|||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
background={{ variant: "canvas-reveal" }}
|
background={{ variant: "canvas-reveal" }}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Start Analyzing", href: "#contact" },
|
{ text: "Start Analyzing", onClick: () => { const el = document.getElementById("contact"); if (el) el.scrollIntoView({ behavior: "smooth" }); } },
|
||||||
{ text: "Learn How", href: "#features" },
|
{ text: "Learn How", onClick: () => { const el = document.getElementById("features"); if (el) el.scrollIntoView({ behavior: "smooth" }); } },
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
carouselPosition="right"
|
carouselPosition="right"
|
||||||
@@ -146,23 +161,29 @@ export default function WebAgency2Page() {
|
|||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div id="contact">
|
<div id="contact" className="flex flex-col items-center py-20 bg-[var(--card)]">
|
||||||
<ContactCTA
|
<ContactCTA
|
||||||
tag="Ready to Predict?"
|
tag="Ready to Predict?"
|
||||||
title="Start Your Free Analysis Today"
|
title="Start Your Free Analysis Today"
|
||||||
description="Upload your first chart now and let our AI show you the potential movement of the market."
|
description="Upload your first chart now and let our AI show you the potential movement of the market."
|
||||||
buttons={[{ text: "Upload Screenshot", href: "#contact" }]}
|
buttons={[{ text: "Upload Screenshot", onClick: handleUpload }]}
|
||||||
background={{ variant: "sparkles-gradient" }}
|
background={{ variant: "sparkles-gradient" }}
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
/>
|
/>
|
||||||
|
{uploadStatus && (
|
||||||
|
<div className="mt-8 p-6 bg-[var(--background)] border border-[var(--accent)] rounded-xl w-full max-w-lg text-center">
|
||||||
|
<p className="font-semibold text-lg">{uploadStatus}</p>
|
||||||
|
{analysis && <p className="mt-4 text-[var(--foreground)]">{analysis}</p>}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<FooterBase
|
<FooterBase
|
||||||
logoText="ForexAI"
|
logoText="ForexAI"
|
||||||
copyrightText="© 2026 | ForexAI Analytics"
|
copyrightText="© 2026 | ForexAI Analytics"
|
||||||
columns={[
|
columns={[
|
||||||
{ title: "Platform", items: [{ label: "Home", href: "#" }, { label: "Dashboard", href: "#" }] },
|
{ title: "Platform", items: [{ label: "Home", onClick: () => window.scrollTo({ top: 0, behavior: "smooth" }) }, { label: "Dashboard", onClick: () => { const el = document.getElementById("hero"); if (el) el.scrollIntoView({ behavior: "smooth" }); } }] },
|
||||||
{ title: "Resources", items: [{ label: "Blog", href: "#" }, { label: "FAQs", href: "#" }] },
|
{ title: "Resources", items: [{ label: "Blog", onClick: () => window.location.href = "/blog" }, { label: "FAQs", onClick: () => { const el = document.getElementById("faq"); if (el) el.scrollIntoView({ behavior: "smooth" }); } }] },
|
||||||
{ title: "Legal", items: [{ label: "Privacy", href: "#" }, { label: "Terms", href: "#" }] },
|
{ title: "Legal", items: [{ label: "Privacy", onClick: () => window.location.href = "/legal" }, { label: "Terms", onClick: () => window.location.href = "/terms" }] },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
|
|||||||
Reference in New Issue
Block a user