Skip to content

Commit

Permalink
fix: cfp buttons (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
ginifizz authored Jan 7, 2025
1 parent c547585 commit bff4fd1
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useContext } from "react";
import { LanguageContext } from "contexts/con/LanguageContext";

export default function ReviewCover() {
const { t, Translate } = useContext(LanguageContext);
const { t, Translate, locale } = useContext(LanguageContext);
return (
<ReviewCoverBase
edition="2024"
Expand All @@ -19,13 +19,21 @@ export default function ReviewCover() {
link: (
<a
className="font-bold underline"
href="https://forms.gle/kNpkFsEZshYnfJST6"
href="https://conference-hall.io/api-platform-conference-2025-lille-and-online"
target="_blank"
rel="noreferrer noopener"
>
{t("2024.review.link")}
</a>
),
link2: (
<a
className="font-bold underline"
href={`/${locale}/con/2025/tickets`}
>
{t("2024.review.link2")}
</a>
),
}}
/>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function Informations() {
<Button
size="large"
external
to="https://forms.gle/kNpkFsEZshYnfJST6"
to="https://conference-hall.io/api-platform-conference-2025-lille-and-online"
>
{t("2025.cfp.button_subscribe")}
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function Informations() {
className="mt-12"
size="large"
external
to="https://forms.gle/kNpkFsEZshYnfJST6"
to="https://conference-hall.io/api-platform-conference-2025-lille-and-online"
>
{t("2025.cfp.subject.button_subscribe")}
</Button>
Expand Down
1 change: 0 additions & 1 deletion pwa/components/con/common/BuyButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { useContext } from "react";
import useEventBriteModal from "hooks/con/useEventBriteModal";
import Button, { ButtonProps } from "components/con/common/Button";
import classNames from "classnames";
import { LanguageContext } from "contexts/con/LanguageContext";
Expand Down
11 changes: 6 additions & 5 deletions pwa/i18n/dictionaries/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"review": {
"subtitle_1": "Thank you for your trust and for being present at this conference.",
"subtitle_2": "We hope you enjoyed this event as much as we did in organizing it.",
"subtitle_3": "The API Platform Conference will be back on September 19 and 20, 2024. {{link}}, join us!",
"subtitle_3": "The API Platform Conference will be back on September 19 and 20, 2024.{{link}}, join us!",
"title": "All good things come in threes!",
"link": "The Call for Papers (CFP) has just opened"
},
Expand All @@ -85,9 +85,10 @@
},
"review": {
"subtitle_1": "Thank you for participating in the API Platform Conference 2024 and for your continued trust. This edition broke all records, on every level.",
"subtitle_2": "The API Platform Conference returns on September 18 and 19, 2025, in Lille and online. {{link}} for the opening of the CFP and ticket sales!",
"subtitle_2": "The API Platform Conference returns on September 18 and 19, 2025, in Lille and online.<br/>{{link}} and {{link2}} are now open!",
"title": "Time for the PHP revolution!",
"link": "Stay tuned"
"link": "The CFP",
"link2": "ticketing"
},
"aftermovie": {
"title": "Watch <strong>the aftermovie</strong>",
Expand Down Expand Up @@ -185,7 +186,7 @@
"subject": {
"title": "Talk categories",
"subtitle": "We are looking forward to talks on (but not limited to) these topics:",
"button_subscribe": "Subscribe to our waiting list",
"button_subscribe": "Submit your pitch",
"categories": [
{
"icon": "api-platform-ecosystem",
Expand Down Expand Up @@ -237,7 +238,7 @@
"point_4": "Submitting multiple proposals is encouraged, but it does not necessarily increase your chances of selection.",
"point_5": "While we prefer original content, submitting a previously presented conference topic is not grounds for elimination. Each talk is unique and never delivered in the same way.",
"point_6": "Speakers are expected to uphold the same Code of Conduct as attendees and staff.",
"button_subscribe": "Don't miss the CFP opening"
"button_subscribe": "Submit your pitch"
}
},
"an_event_by": "an event by",
Expand Down
9 changes: 5 additions & 4 deletions pwa/i18n/dictionaries/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@
},
"review": {
"subtitle_1": "Nous vous remercions pour votre participation à l’API Platform Conference 2024 ainsi que pour votre confiance renouvelée. Cette édition a battu tous les records, sur tous les plans !",
"subtitle_2": "L'API Platform Conference revient les 18 et 19 septembre 2025 à Lille et en ligne. <br/>{{link}} sur l’ouverture du CFP et de la billetterie !",
"subtitle_2": "L'API Platform Conference revient les 18 et 19 septembre 2025 à Lille et en ligne. <br/>{{link}} et {{link2}} viennent d'ouvrir !",
"title": "Place à la révolution PHP !",
"link": "Restez informés"
"link": "Le CFP",
"link2": "la billetterie"
},
"aftermovie": {
"title": "Découvrez <strong>l'aftermovie</strong>",
Expand Down Expand Up @@ -181,7 +182,7 @@
"subject": {
"title": "Thématiques",
"subtitle": "Nous recherchons des talks sur ces sujets (mais pas uniquement) :",
"button_subscribe": "Restez informé·e sur le CFP",
"button_subscribe": "Postulez au CFP",
"categories": [
{
"icon": "api-platform-ecosystem",
Expand Down Expand Up @@ -233,7 +234,7 @@
"point_4": "Proposer de nombreux sujets est encouragé, mais n'augmente pas nécessairement vos chances de sélection.",
"point_5": "Nous préférons les sujets inédits, mais il n'est pas éliminatoire de proposer un sujet déjà donné dans une autre conférence : chaque talk est unique et peut évoluer au fil du temps.",
"point_6": "Les speakers sont soumis au même code de conduite que les participants et le staff.",
"button_subscribe": "Restez informé·e sur le CFP"
"button_subscribe": "Postulez au CFP"
}
},
"an_event_by": "Un événement organisé par",
Expand Down

0 comments on commit bff4fd1

Please sign in to comment.