fix: 🐛 eslint

This commit is contained in:
Abdel LAMRANI 2026-08-21 10:48:09 +02:00
parent 0719e02438
commit 820b3e8e06
2 changed files with 5 additions and 7 deletions

View file

@ -156,14 +156,14 @@ export default function NormsSection() {
downloadUrl={documentUrl("cdc_duck.pdf")}
/>
</div>
{appEnv.locale === 'de' && (
{appEnv.locale === "de" && (
<div className="w-full pt-12 lg:pt-32 pb-0 text-center">
<h2 className="font-sans text-2xl lg:text-[32px] font-extrabold text-neutral-800 uppercase text-balance">
{useTrans("norms.title_2")}
{GetTranslation("norms.title_2")}
</h2>
<p className="mx-auto my-3 max-w-[820px] font-sans text-[22px] leading-none text-neutral-700">
{useTrans("norms.subtitle_2")}
{GetTranslation("norms.subtitle_2")}
</p>
<a
@ -172,11 +172,10 @@ export default function NormsSection() {
rel="noreferrer noopener"
className="uppercase mt-2 inline-block w-fit text-center rounded-full bg-primary lg:px-8 px-4 py-2 font-sans text-[18px] lg:text-[20px] font-semibold text-white transition-opacity hover:bg-[#FFD41F] hover:text-black hover:opacity-90"
>
{useTrans("norms.cta_label")}
{GetTranslation("norms.cta_label")}
</a>
</div>
)}
</div>
</section>
);

View file

@ -518,8 +518,7 @@ const CookieNotice = forwardRef<HTMLDivElement, CookieNoticeProps>(
mappingTextSize[textSize].xs,
texts.modal?.description,
)}
>
</div>
></div>
<a
href={learnMoreHref}