24 lines
693 B
TypeScript
24 lines
693 B
TypeScript
import { createMetadata } from '@konobangu/seo/metadata';
|
|
import type { Metadata } from 'next';
|
|
import dynamic from 'next/dynamic';
|
|
|
|
const title = 'Welcome back';
|
|
const description = 'Enter your details to sign in.';
|
|
const SignIn = dynamic(() =>
|
|
import('@konobangu/auth/components/sign-in').then((mod) => mod.SignIn)
|
|
);
|
|
|
|
export const metadata: Metadata = createMetadata({ title, description });
|
|
|
|
const SignInPage = () => (
|
|
<>
|
|
<div className="flex flex-col space-y-2 text-center">
|
|
<h1 className="font-semibold text-2xl tracking-tight">{title}</h1>
|
|
<p className="text-muted-foreground text-sm">{description}</p>
|
|
</div>
|
|
<SignIn />
|
|
</>
|
|
);
|
|
|
|
export default SignInPage;
|