import { getI18n } from "@/i18n/server"

import NewUserForm from "../_components/new.user.form"

export default async function NewUserPage() {
  const { dictionary } = await getI18n()

  return (
    <div className="flex flex-col gap-4">
      <div className="flex items-center justify-between gap-4">
        <h1 className="text-2xl font-bold">New User</h1>
      </div>
      <NewUserForm submitButtonCopy={dictionary.common.submitButton} />
    </div>
  )
}
