import useTranslation from "next-translate/useTranslation"; import Link from "next/link"; import { useRouter } from "next/router"; import { getDocLink } from "../utils"; export default function MakeNewAppeal(props) { let { t } = useTranslation(); const { docsOffline } = props; const router = useRouter(); const { locale } = router; let ShowDocLinks = getDocLink(docsOffline); return (
{t("myportal:makenewappeal-card-paragraph-zero")}
{t("myportal:makenewappeal-card-paragraph-one")}{" "} {t("myportal:makenewappeal-card-link-label")}
{t("myportal:makenewappeal-card-paragraph-two")}
{ShowDocLinks ? ({t("myportal:makenewappeal-card-paragraph-three")}
{t("myportal:makenewappeal-card-paragraph-four")}