import { compatibilityV2Prefix } from "@/routes";
import styles from "./styles.module.scss";
import Title from "@/components/Title";
import { useTranslations } from "@/hooks/translations";
import { ELocalesPlacement } from "@/locales";

function MoneyBackGuarantee() {
  const { translate } = useTranslations(ELocalesPlacement.CompatibilityV2);
  return (
    <div className={styles.container}>
      <img src={`${compatibilityV2Prefix}/money-back.svg`} alt="Money back" />
      <Title className={styles.title} variant="h4">
        {translate("/trial-payment.money_back_guarantee.title")}
      </Title>
      <p className={styles.text}>
        {translate("/trial-payment.money_back_guarantee.text")}
      </p>
    </div>
  );
}

export default MoneyBackGuarantee;
