w-funnel/src/app/(payment)/payment/failed/page.tsx
gofnnp fba0acaf0b payment
add payment
2025-10-06 22:51:32 +04:00

25 lines
769 B
TypeScript

// 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()}
/>
);
}