import { LogoSimple } from '@/app/_components/logo';
import { Metadata } from 'next';
import Link from 'next/link';
import { SigninForm } from './_components/signin-form';

export const metadata: Metadata = {
  title: 'IMPHNEN - Signin',
  description:
    'Komunitas Ingin Menjadi Programmer Handal Namung Enggan Ngonding',
};

export default function Page() {
  return (
    <>
      <div className="flex flex-col items-center gap-4">
        <LogoSimple />

        <p className="text-muted-foreground text-center text-sm sm:text-base">
          Masuk untuk mengakses akunmu
        </p>
      </div>

      <SigninForm />

      <div className="w-full space-y-4">
        <p className="text-muted-foreground px-4 text-center text-xs leading-5 text-balance sm:text-sm">
          Belum punya akun?{' '}
          <Link
            href="/signup"
            className="font-bold hover:underline hover:underline-offset-4 transition-colors text-primary-500"
          >
            Daftar
          </Link>
        </p>
      </div>
    </>
  );
}
