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

import { PlanCancelledButton } from "@/components/domains/retaining/plan-cancelled";
import { Typography } from "@/components/ui";

import styles from "./page.module.scss";

export default async function PlanCancelled() {
  const t = await getTranslations("PlanCancelled");

  return (
    <div className={styles.container}>
      <Typography as="h1" weight="semiBold" className={styles.title}>
        {t("title")}
      </Typography>
      <span className={styles.icon}>{t("icon")}</span>
      <PlanCancelledButton />
      <Typography as="p" className={styles.description}>
        {t("description")}
      </Typography>
    </div>
  );
}
