aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/app/(auth)
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/app/(auth)')
-rw-r--r--frontend/src/app/(auth)/login/page.js34
-rw-r--r--frontend/src/app/(auth)/register/page.js34
2 files changed, 68 insertions, 0 deletions
diff --git a/frontend/src/app/(auth)/login/page.js b/frontend/src/app/(auth)/login/page.js
new file mode 100644
index 0000000..03208e0
--- /dev/null
+++ b/frontend/src/app/(auth)/login/page.js
@@ -0,0 +1,34 @@
+import Link from 'next/link';
+import LoginForm from '@/components/auth/LoginForm';
+
+export const metadata = {
+ title: 'Login - Restaurant Management System',
+ description: 'Login to your account',
+};
+
+const LoginPage = () => {
+ return (
+ <div className="min-h-screen flex flex-col justify-center items-center p-4 bg-gray-50 dark:bg-slate-900">
+ <div className="w-full max-w-md text-center mb-8">
+ <Link href="/" className="text-2xl font-bold text-primary">
+ Restaurant
+ </Link>
+ <h1 className="text-3xl font-bold mt-6">Welcome Back</h1>
+ <p className="text-gray-600 dark:text-gray-400 mt-2">
+ Enter your credentials to access your account
+ </p>
+ </div>
+
+ <LoginForm />
+
+ <p className="mt-8 text-center text-gray-600 dark:text-gray-400">
+ Don't have an account?{' '}
+ <Link href="/register" className="text-primary hover:underline">
+ Register here
+ </Link>
+ </p>
+ </div>
+ );
+};
+
+export default LoginPage; \ No newline at end of file
diff --git a/frontend/src/app/(auth)/register/page.js b/frontend/src/app/(auth)/register/page.js
new file mode 100644
index 0000000..1916413
--- /dev/null
+++ b/frontend/src/app/(auth)/register/page.js
@@ -0,0 +1,34 @@
+import Link from 'next/link';
+import RegisterForm from '@/components/auth/RegisterForm';
+
+export const metadata = {
+ title: 'Register - Restaurant Management System',
+ description: 'Create a new account',
+};
+
+const RegisterPage = () => {
+ return (
+ <div className="min-h-screen flex flex-col justify-center items-center p-4 bg-gray-50 dark:bg-slate-900">
+ <div className="w-full max-w-md text-center mb-8">
+ <Link href="/" className="text-2xl font-bold text-primary">
+ Restaurant
+ </Link>
+ <h1 className="text-3xl font-bold mt-6">Create Account</h1>
+ <p className="text-gray-600 dark:text-gray-400 mt-2">
+ Join us to enjoy delicious food and exclusive offers
+ </p>
+ </div>
+
+ <RegisterForm />
+
+ <p className="mt-8 text-center text-gray-600 dark:text-gray-400">
+ Already have an account?{' '}
+ <Link href="/login" className="text-primary hover:underline">
+ Login here
+ </Link>
+ </p>
+ </div>
+ );
+};
+
+export default RegisterPage; \ No newline at end of file