Switch to version 1: remove src/app/login/page.tsx

This commit is contained in:
2026-03-09 09:38:04 +00:00
parent 53cabb971e
commit a134ecbde0

View File

@@ -1,58 +0,0 @@
'use client';
import { ThemeProvider } from '@/components/ThemeProvider';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactForm from '@/components/form/ContactForm';
import { LogIn } from 'lucide-react';
export default function LoginPage() {
const navItems = [
{ name: 'Home', id: '/' },
{ name: 'Login', id: '/login' },
{ name: 'Register', id: '/register' },
];
const handleSubmit = (email: string) => {
console.log('Login email:', email);
// Handle login logic here
};
return (
<ThemeProvider
defaultButtonVariant="hover-magnetic"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="medium"
sizing="medium"
background="none"
cardStyle="solid"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
headingFontWeight="bold"
>
<NavbarLayoutFloatingOverlay
navItems={navItems}
brandName="Webild"
button={{
text: 'Create Account',
href: '/register',
}}
/>
<div className="min-h-screen flex items-center justify-center py-12 px-4">
<div className="w-full max-w-md">
<ContactForm
title="Welcome Back"
description="Sign in to your account to access your dashboard and orders"
tag="Login"
tagIcon={LogIn}
inputPlaceholder="Enter your email address"
buttonText="Sign In"
termsText="Don't have an account? Create one to get started."
onSubmit={handleSubmit}
centered
/>
</div>
</div>
</ThemeProvider>
);
}