Skip to content

Commit 39d44ec

Browse files
authored
MEP: various fixes on speakers (#604)
* fix: opengraph for speaker single page * fix: speaker job name
1 parent 04aadad commit 39d44ec

3 files changed

Lines changed: 13 additions & 2 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { getConferencesBySpeaker } from "api/con/conferences";
77
import SpeakerPage from "./SpeakerPage";
88
import { Locale, i18n } from "i18n/i18n-config";
99
import { Metadata } from "next";
10+
import { getRootUrl } from "utils";
1011

1112
async function getSpeaker(slug: string, edition: string, locale: string) {
1213
const speaker = await getSpeakerData(slug, edition, locale);
@@ -43,6 +44,14 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {
4344
openGraph: {
4445
title: `${speaker.name} - API Platform Conference`,
4546
description: DESCRIPTION,
47+
images: [
48+
{
49+
url: `${getRootUrl()}/images/con/og-${edition}.png`,
50+
width: 1200,
51+
height: 630,
52+
alt: `API Platform Conference ${edition}`,
53+
},
54+
],
4655
},
4756
twitter: {
4857
title: `${speaker.name} - API Platform Conference`,

pwa/data/con/2025/speakers/en/mathieu-santostefano.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ type: speaker
33
id: mathieu-santostefano-2025
44
number: 100
55
name: Mathieu Santostefano
6-
job: Symfony Core Team
6+
job: Tech Expert
7+
company: Sensiolabs
78
bluesky: https://bsky.app/profile/welcomattic.com
89
mastodon: https://phpc.social/@welcomattic
910
github: https://github.com/welcomattic

pwa/data/con/2025/speakers/fr/mathieu-santostefano.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ type: speaker
33
id: mathieu-santostefano-2025
44
number: 80
55
name: Mathieu Santostefano
6-
job: Symfony Core Team
6+
job: Tech Expert
7+
company: Sensiolabs
78
bluesky: https://bsky.app/profile/welcomattic.com
89
mastodon: https://phpc.social/@welcomattic
910
github: https://github.com/welcomattic

0 commit comments

Comments
 (0)