w-lab-app/src/app/[locale]/(payment)/payment/failed/page.tsx
2025-07-09 14:56:20 +04:00

23 lines
632 B
TypeScript

import { getTranslations } from "next-intl/server";
import { AnimatedInfoScreen, LottieAnimation } from "@/components/widgets";
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")}
animationTime={0}
animationTexts={[]}
buttonText={t("button")}
nextRoute={ROUTES.home()}
/>
);
}