26 lines
699 B
TypeScript
Raw Normal View History

2024-10-27 21:11:45 +00:00
/* Copyright (C) 2024 Manuel Bustillo*/
'use client';
import LoginForm from '@/app/ui/components/login-form';
import RegistrationForm from '@/app/ui/components/registration-form';
2024-08-11 12:03:11 +02:00
export default async function Page({ params }: { params: Promise<{ slug: string }> }) {
localStorage.setItem('slug', (await params).slug)
2024-08-11 12:03:11 +02:00
return (
<main className="flex min-h-screen flex-col p-6">
<div className="flex flex-row">
<div className="w-1/2">
Already have an account? Sign in
<LoginForm />
</div>
<div className="w-1/2">
Don't have an account? Register now!
<RegistrationForm />
</div>
</div>
2024-08-11 12:03:11 +02:00
</main>
);
}