Manuel Bustillo 82f5dd6c64
Some checks failed
Check usage of free licenses / build-static-assets (pull_request) Successful in 44s
Add copyright notice / copyright_notice (pull_request) Successful in 54s
Playwright Tests / test (pull_request) Failing after 8m28s
Update navigation to accept the slug as part of the URL
2024-12-01 18:02:25 +01:00

31 lines
680 B
TypeScript

/* Copyright (C) 2024 Manuel Bustillo*/
'use client';
import Link from 'next/link';
import styles from '@/app/ui/home.module.css';
import LoginForm from '@/app/ui/components/login-form';
export default async function Page({ params }: { params: Promise<{ slug: string }> }) {
localStorage.setItem('slug', (await params).slug)
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!
</div>
</div>
</main>
);
}