// import { getTranslations } from "next-intl/server";

import AnimatedInfoScreen from "@/components/widgets/AnimatedInfoScreen/AnimatedInfoScreen";
import LottieAnimation from "@/components/widgets/LottieAnimation/LottieAnimation";
import { ROUTES } from "@/shared/constants/client-routes";
import { ELottieKeys } from "@/shared/constants/lottie";

export default async function PaymentFailed() {
  // const t = await getTranslations("Payment.Error");

  return (
    <AnimatedInfoScreen
      lottieAnimation={
        <LottieAnimation loadKey={ELottieKeys.loaderCheckMark} />
      }
      // title={t("title")}
      title="Payment failed"
      animationTime={0}
      animationTexts={[]}
      buttonText="Try again"
      nextRoute={ROUTES.home()}
    />
  );
}
