import type { Metadata } from "next";
import type { Lang } from "@/lib/config";
import { buildPageMetadata } from "@/lib/seo";

export function generateMetadata({
  params,
}: {
  params: { lang: Lang };
}): Metadata {
  const isAr = params.lang === "ar";
  return buildPageMetadata({
    lang: params.lang,
    title: isAr ? "إنشاء حساب | موعدي" : "Sign Up | Mawidi",
    description: isAr
      ? "أنشئ حسابك في موعدي وابدأ اليوم."
      : "Create your Mawidi account and get started today.",
    path: "/clerk-signup",
    noindex: true,
  });
}

export default function ClerkSignupLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return children;
}
