// Next Imports
import type { Metadata } from "next";
import { getTranslations } from "next-intl/server";

// Component Imports
import Login from "@views/Login";

export async function generateMetadata(): Promise<Metadata> {
  const t = await getTranslations("login");

  return {
    title: t("title"),
    description: t("description"),
  };
}

const LoginPage = async () => {
  return (
    <div className="flex flex-col justify-center items-center min-bs-[100dvh] p-6">
      <Login />
    </div>
  );
};

export default LoginPage;
