Skip to content

Commit

Permalink
Add submit speaker key
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Feb 3, 2025
1 parent 15e0249 commit 81e3a0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions public/locales/fr/speakers.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions src/components/SponsorList/SponsorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down Expand Up @@ -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 !== '' && (
<ButtonLink variant="secondary" href={actions.submitUrl}>
Devenir sponsor
</ButtonLink>
)}
{'seeAllUrl' in actions && typeof actions.seeAllUrl === 'string' && (
{'seeAllUrl' in actions && typeof actions.seeAllUrl === 'string' && actions.seeAllUrl !== '' && (
<>
<div className="hidden md:block">
<ButtonLink variant="soft-pink" href={actions.seeAllUrl}>
Expand Down

0 comments on commit 81e3a0e

Please sign in to comment.