diff --git a/public/locales/fr/speakers.json b/public/locales/fr/speakers.json index 3ff17f4..85549ff 100644 --- a/public/locales/fr/speakers.json +++ b/public/locales/fr/speakers.json @@ -2,6 +2,7 @@ "title": "Speakers", "description": "Découvrez les speakers de Meet Magento France, des experts qui interviendront tout au long de la journée lors de conférences sur Magento et Adobe Commerce : stratégie business, E-Commerce, retours d’expérience et expertise technique. Une occasion unique d’enrichir vos connaissances et de découvrir les dernières tendances du secteur !", "actions": { + "submitUrl": null, "seeAllUrl": "/speakers" }, "data": { diff --git a/src/components/SponsorList/SponsorList.tsx b/src/components/SponsorList/SponsorList.tsx index 6d0e293..d37a219 100644 --- a/src/components/SponsorList/SponsorList.tsx +++ b/src/components/SponsorList/SponsorList.tsx @@ -10,7 +10,7 @@ import Container from "@/layouts/Container"; import TopBanner from "@/components/TopBanner/TopBanner"; import React from "react"; import ButtonLink from "@/components/ButtonLink/ButtonLink"; -import {useTranslation} from "react-i18next"; +import { useTranslation } from "react-i18next"; const SponsorList = ({ items }: { items: SponsorProps[] }) => { const { t } = useTranslation(['sponsors']); @@ -47,12 +47,12 @@ const SponsorList = ({ items }: { items: SponsorProps[] }) => { title="Merci à nos sponsors" backgroundImage="/images/pattern_top-banner_sponsors.svg" > - {'submitUrl' in actions && typeof actions.submitUrl === 'string' && ( + {'submitUrl' in actions && typeof actions.submitUrl === 'string' && actions.submitUrl !== '' && ( Devenir sponsor )} - {'seeAllUrl' in actions && typeof actions.seeAllUrl === 'string' && ( + {'seeAllUrl' in actions && typeof actions.seeAllUrl === 'string' && actions.seeAllUrl !== '' && ( <>