Add src/app/login/page.tsx

This commit is contained in:
2026-06-03 17:13:37 +00:00
parent f1b86ca7ba
commit fbed1a8966

99
src/app/login/page.tsx Normal file
View File

@@ -0,0 +1,99 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
export default function LoginPage() {
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
defaultTextAnimation="entrance-slide"
borderRadius="pill"
contentWidth="smallMedium"
sizing="mediumLarge"
background="noise"
cardStyle="solid"
primaryButtonStyle="flat"
secondaryButtonStyle="solid"
headingFontWeight="normal"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{
name: "Home", id: "#home"
},
{
name: "About", id: "#about"
},
{
name: "Features", id: "#features"
},
{
name: "Templates", id: "/templates"
},
{
name: "Pricing", id: "#pricing"
},
{
name: "Testimonials", id: "#testimonials"
},
{
name: "FAQ", id: "#faq"
},
{
name: "Contact", id: "#contact"
},
{
name: "Login", id: "/login"
}
]}
button={{
text: "Browse Templates", href: "/templates"
}}
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ruakxa"
brandName="BuildDigital"
/>
</div>
<div id="login" data-section="login">
<ContactSplitForm
title="Log in to Your Account"
description="Access your personalized dashboard and template library."
inputs={[
{
name: "email", type: "email", placeholder: "Email address", required: true
},
{
name: "password", type: "password", placeholder: "Password", required: true
}
]}
buttonText="Login"
mediaPosition="left"
imageSrc="http://img.b2bpic.net/free-photo/view-young-entrepreneur-doing-paperwork-at-desk-computer_1098-19600.jpg"
imageAlt="Person logging into a digital platform"
useInvertedBackground={true}
onSubmit={(data) => console.log("Login data:", data)}
/>
</div>
<div id="footer" data-section="footer">
<FooterLogoReveal
logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ruakxa"
logoText="BuildDigital"
leftLink={{
text: "Privacy Policy", href: "#"
}}
rightLink={{
text: "Terms of Service", href: "#"
}}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}