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

import { SubscriptionStoppedButton } from "@/components/domains/retaining/subscription-stopped";
import { Typography } from "@/components/ui";

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

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

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