Skip to content

Commit 5733d5d

Browse files
committed
feat: last updates con
1 parent 1f0a5ce commit 5733d5d

29 files changed

Lines changed: 133 additions & 41 deletions

pwa/app/(con)/[locale]/con/2025/components/HomePage.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const HomePage = ({ speakers, partners, images }: HomePageProps) => {
5656
>
5757
<div className="container text-center">
5858
<SectionTitle h1>
59-
<Translate translationKey="2025.our_speakers.title" />
59+
<Translate translationKey="speakers.title" />
6060
</SectionTitle>
6161
<SectionSubTitle>
6262
<Translate
@@ -65,8 +65,10 @@ const HomePage = ({ speakers, partners, images }: HomePageProps) => {
6565
edition: "2025",
6666
link: (
6767
<a
68-
href={`/${locale}/con/2025/call-for-papers`}
68+
href="https://conference-hall.io/public/event/GMijW4ZrZDo6hzKeF1gk"
6969
className="link"
70+
target="_blank"
71+
rel="noreferrer nooepener"
7072
>
7173
{t("2025.our_speakers.subtitle_link")}
7274
</a>

pwa/app/(con)/[locale]/con/2025/tickets/RegisterPage.tsx

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,17 @@ export default function RegisterPage() {
2727

2828
const isPastOffer = (offer: Offer) => {
2929
if (isActiveOffer(offer)) return false;
30+
console.log(offer.startDate);
31+
console.log(dayjs(offer.startDate).isBefore(dayjs(), "day"));
3032
if (offer.startDate && dayjs(offer.startDate).isBefore(dayjs(), "day"))
3133
return true;
34+
if (!offer.startDate) return true;
3235
return false;
3336
};
3437

3538
const expectations =
3639
getLocaleDictionary?.()[2025].tickets.expect.points || [];
3740

38-
const onIframeLoaded = () => {
39-
console.log("loaded !");
40-
const iframe = document.getElementById(
41-
"yurplan-widget-141690"
42-
) as HTMLIFrameElement | null;
43-
console.log("iframe ?", !!iframe);
44-
if (!iframe) return;
45-
const loader = document.getElementById("loader");
46-
loader?.classList.add("hidden");
47-
48-
const contenu = iframe.contentWindow?.document.body.scrollHeight;
49-
iframe.style.height = contenu + "px";
50-
};
51-
5241
useEffect(() => {
5342
const iframe = document.getElementById(
5443
"yurplan-widget-141690"

pwa/app/(con)/[locale]/con/[edition]/speakers/SpeakersPage.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,24 @@ import { Speaker } from "types/con";
66
import SectionSubTitle from "components/con/common/typography/SectionSubtitle";
77
import { LanguageContext } from "contexts/con/LanguageContext";
88

9-
interface Speakers {
9+
interface SpeakersProps {
1010
speakers: Speaker[];
11+
edition: string;
1112
}
1213

13-
export default function SpeakerPageListTemplate({ speakers }: Speakers) {
14+
export default function SpeakerPageListTemplate({
15+
speakers,
16+
edition,
17+
}: SpeakersProps) {
1418
const { t, Translate } = useContext(LanguageContext);
1519
return (
1620
<div className="container flex flex-col items-center pt-10 | sm:pt-20">
1721
<SectionTitle h1 dark>
1822
<Translate translationKey="speakers.title" />
1923
</SectionTitle>
20-
<SectionSubTitle dark>{t("speakers.subtitle")}</SectionSubTitle>
24+
<SectionSubTitle dark>
25+
{t(`${edition}.our_speakers.subtitle`)}
26+
</SectionSubTitle>
2127
<div className="pb-36 text-white">
2228
<SpeakerList speakers={speakers} />
2329
</div>

pwa/app/(con)/[locale]/con/[edition]/speakers/layout.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Locale, i18n } from "i18n/i18n-config";
22
import { Metadata } from "next";
3+
import { getRootUrl } from "utils";
34

45
type Props = {
56
params: { locale: Locale; edition: string };
@@ -20,6 +21,14 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
2021
openGraph: {
2122
title: `${dictionary.speakers.title} - API Platform Conference`,
2223
description: DESCRIPTION,
24+
images: [
25+
{
26+
url: `${getRootUrl()}/images/con/og-${edition}.png`,
27+
width: 1200,
28+
height: 630,
29+
alt: `API Platform Conference ${edition}`,
30+
},
31+
],
2332
},
2433
twitter: {
2534
title: `${dictionary.speakers.title} - API Platform Conference`,

pwa/app/(con)/[locale]/con/[edition]/speakers/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default async function Page({ params }: Props) {
1515
const speakers = await getSpeakers(params.edition, params.locale);
1616
// Fetch data directly in a Server Component
1717
// Forward fetched data to your Client Component
18-
return <SpeakersPage speakers={speakers} />;
18+
return <SpeakersPage speakers={speakers} edition={params.edition} />;
1919
}
2020

2121
export const generateStaticParams = async () => {

pwa/data/con/2025/conferences/etendre-le-serveur-web-caddy-avec-ton-langage-prefere.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
type: conference
33
speakers: -sylvain-combraque-2025
44
short: Étendre les fonctionnalités du serveur web Caddy avec PHP ou d'autres langages.
5-
tag: 'tools'
5+
tag: tools
66
---
77

88
# Étendre le serveur web Caddy avec ton langage préféré (🇫🇷)

pwa/data/con/2025/conferences/growing-the-php-core-one-test-at-a-time.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
type: conference
33
speakers: -florian-engelhardt-2025
44
short: Top tips for contributing to PHP core, demonstrated in a live coding session.
5-
tag: 'tools'
5+
tag: tools
66
---
77

88
# Growing the PHP Core—One Test at a Time (🇺🇸)

pwa/data/con/2025/conferences/mongodb-demandez-en-plus-a-votre-base-de-donnees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
type: conference
33
speakers: -jerome-tamarelle-2025
44
short: Comment intégrer MongoDB avec API Platform pour simplifier le développement d'APIs modernes.
5-
tag: 'tools'
5+
tag: tools
66
---
77

88
# MongoDB : Demandez-en plus à votre base de données (🇫🇷)

pwa/data/con/2025/conferences/pie-the-next-big-thing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
type: conference
33
speakers: -alexandre-daubois-2025
44
short: Installing and utilizing PHP extensions is about to become much easier.
5-
tag: 'tools'
5+
tag: tools
66
---
77

88
# PIE: The Next Big Thing (🇺🇸)

pwa/data/con/2025/conferences/scaling-databases.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
type: conference
33
speakers: -tobias-petry-2025
44
short: Exploring different database server scaling strategies, with their advantages and disadvantages.
5-
tag: 'perf'
5+
tag: performance
66
---
77

88
# Scaling Databases (🇺🇸)
99

1010
Running your database server on one server is easy. But scaling it is complex as **there are many different ways to do it and each one has their own shortcomings**. Most literature does never explain the precise advantages and disadvantages of each approach:
1111

12-
Tasks to do before scaling
13-
Scaling-Up as a simple first approach
14-
Multi-Master
15-
Read Replication
16-
Sharding
12+
- Tasks to do before scaling
13+
- Scaling-Up as a simple first approach
14+
- Multi-Master
15+
- Read Replication
16+
- Sharding

0 commit comments

Comments
 (0)