diff --git a/app/LoginPage.tsx b/app/LoginPage.tsx new file mode 100644 index 0000000..96301ef --- /dev/null +++ b/app/LoginPage.tsx @@ -0,0 +1,59 @@ +import React, { useState } from 'react'; +import { MainNav } from '@/components/main-nav'; +import { siteConfig } from '@/config/site'; + +const LoginPage: React.FC = () => { + const [username, setUsername] = useState(''); + const [password, setPassword] = useState(''); + + const handleLogin = (e: React.FormEvent) => { + e.preventDefault(); + // Handle login logic here + console.log('Login with:', username, password); + }; + + const handleCreateAccount = () => { + // Redirect to create account page or handle account creation logic here + console.log('Redirect to create account page'); + }; + + return ( +
+ +
+

Login to your account

+
+ setUsername(e.target.value)} + className="px-4 py-2 border rounded focus:outline-none focus:ring-2 focus:ring-blue-500" + /> + setPassword(e.target.value)} + className="px-4 py-2 border rounded focus:outline-none focus:ring-2 focus:ring-blue-500" + /> + + +
+
+
+ ); +}; + +export default LoginPage;