cvsa/packages/next/app/[locale]/login/page.tsx

32 lines
1.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { LeftArrow } from "@/components/icons/LeftArrow";
import { RightArrow } from "@/components/icons/RightArrow";
import LoginForm from "./LoginForm";
import { Link } from "@/i18n/navigation";
export default function SignupPage() {
return (
<main className="relative flex-grow pt-8 px-4 md:w-full md:h-full md:flex md:items-center md:justify-center">
<div
className="md:w-[40rem] rounded-md md:p-8 md:-translate-y-6
md:bg-surface-container md:dark:bg-dark-surface-container"
>
<p className="mb-2">
<Link href="/">
<LeftArrow className="inline -translate-y-0.5 scale-90 mr-1" aria-hidden="true" />
</Link>
</p>
<h1 className="text-5xl leading-[4rem] font-extralight"></h1>
<p className="mt-4 mb-6">
<Link href="/singup">
<span></span>
<RightArrow className="text-xs inline -translate-y-0.5 ml-1" aria-hidden="true" />
</Link>
</p>
<LoginForm backendURL={process.env.NEXT_PUBLIC_BACKEND_URL ?? ""} />
</div>
</main>
);
}