Update src/app/auth/page.tsx

This commit is contained in:
2026-06-03 03:25:03 +00:00
parent 957c585d21
commit eed76c820a

View File

@@ -1,10 +1,7 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AuthSplash from "@/components/sections/auth/AuthSplash";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
export default function AuthPage() {
return (
@@ -20,87 +17,24 @@ export default function AuthPage() {
secondaryButtonStyle="radial-glow"
headingFontWeight="bold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleApple
brandName="Trade Snooper"
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Features", id: "features" },
{ name: "Pricing", id: "pricing" },
{ name: "Testimonials", id: "testimonials" },
{ name: "FAQ", id: "faq" },
{ name: "Contact", id: "/contact" },
{ name: "Privacy Policy", id: "/privacy-policy" },
{ name: "Terms of Service", id: "/terms-of-service" }
]}
/>
</div>
<div id="auth" data-section="auth">
<AuthSplash
heading="Welcome Back to Trade Snooper"
description="Sign in to continue your journey with advanced market analysis and trading insights."
emailInput={{
name: "email", placeholder: "Email Address", required: true
}}
passwordInput={{
name: "password", placeholder: "Password", required: true
}}
buttonText="Sign In"
forgotPasswordText="Forgot Password?"
footerText="Don't have an account?"
footerLinkText="Sign Up"
footerLinkHref="/signup"
imageSrc="http://img.b2bpic.net/free-photo/finance-concept-with-bar-chart-data_1134-92.jpg"
imageAlt="" // Provide image alt text for accessibility
onSignIn={(data) => console.log("Sign in data", data)}
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseReveal
logoSrc="http://img.b2bpic.net/free-vector/gradient-technology-logo-collection_23-2148162307.jpg"
logoAlt="Trade Snooper Logo"
logoText="Trade Snooper"
columns={[
{
title: "Platform", items: [
{ label: "Features", href: "/#features" },
{ label: "Pricing", href: "/#pricing" },
{ label: "Markets", href: "#" },
{ label: "AI Analytics", href: "#" }
]
},
{
title: "Company", items: [
{ label: "About Us", href: "/#about" },
{ label: "Careers", href: "#" },
{ label: "Blog", href: "#" },
{ label: "Partners", href: "/#social-proof" }
]
},
{
title: "Support", items: [
{ label: "FAQ", href: "/#faq" },
{ label: "Contact Us", href: "/contact" },
{ label: "Help Center", href: "#" },
{ label: "Community", href: "#" }
]
},
{
title: "Legal", items: [
{ label: "Privacy Policy", href: "/privacy-policy" },
{ label: "Terms of Service", href: "/terms-of-service" },
{ label: "Disclaimer", href: "#" }
]
}
]}
copyrightText="© 2024 Trade Snooper. All rights reserved."
/>
</div>
</ReactLenis>
<div id="nav" data-section="nav">
<NavbarStyleApple
brandName="Trade Snooper"
navItems={[
{ name: "Home", id: "/" },
{ name: "Features", id: "features" },
{ name: "Pricing", id: "pricing" },
{ name: "Testimonials", id: "testimonials" },
{ name: "FAQ", id: "faq" },
{ name: "Contact", id: "/contact" },
{ name: "Privacy Policy", id: "/privacy-policy" },
{ name: "Terms of Service", id: "/terms-of-service" }
]}
/>
</div>
<div id="auth-content" data-section="auth-content" className="min-h-screen flex items-center justify-center">
<h1 className="text-4xl font-bold">Authentication Page</h1>
</div>
</ThemeProvider>
);
}