From 9e6b38cf6675a2f86d7362b7f867acacebd15a56 Mon Sep 17 00:00:00 2001 From: Mathieu Mure Date: Tue, 14 Jan 2025 20:23:46 +0100 Subject: [PATCH] feat(lyonjs100): add program page (#476) Co-authored-by: Mathieu Mure Co-authored-by: Antoine Caron --- app/evenement/[slug]/page.tsx | 4 +- app/lyonjs-100/content.mdx | 16 ++- app/lyonjs-100/programme/Programme.module.css | 44 ++++++ app/lyonjs-100/programme/page.tsx | 52 +++++++ data/lyonjs100-speakers.ts | 136 +++++++++++++++--- modules/lyonjs100/HomeAnnouncement.tsx | 9 +- modules/person/ListOfPeople.tsx | 44 +----- modules/person/PersonDisplay.tsx | 42 ++++++ modules/person/types.ts | 9 ++ modules/program/Talk.module.css | 36 +++++ modules/program/Talk.tsx | 29 ++++ public/speakers/ayoub-alouane.png | Bin 0 -> 51779 bytes public/speakers/julien-huang.png | Bin 0 -> 174107 bytes public/speakers/julien-sulpis.png | Bin 0 -> 283538 bytes public/speakers/lea-coston.jpeg | Bin 108433 -> 0 bytes public/speakers/manon-carbonnel.png | Bin 0 -> 127411 bytes 16 files changed, 350 insertions(+), 71 deletions(-) create mode 100644 app/lyonjs-100/programme/Programme.module.css create mode 100644 app/lyonjs-100/programme/page.tsx create mode 100644 modules/person/PersonDisplay.tsx create mode 100644 modules/person/types.ts create mode 100644 modules/program/Talk.module.css create mode 100644 modules/program/Talk.tsx create mode 100644 public/speakers/ayoub-alouane.png create mode 100644 public/speakers/julien-huang.png create mode 100644 public/speakers/julien-sulpis.png delete mode 100644 public/speakers/lea-coston.jpeg create mode 100644 public/speakers/manon-carbonnel.png diff --git a/app/evenement/[slug]/page.tsx b/app/evenement/[slug]/page.tsx index 57aeb814..23dad607 100644 --- a/app/evenement/[slug]/page.tsx +++ b/app/evenement/[slug]/page.tsx @@ -23,7 +23,7 @@ export default async function EventPage({ params: { slug } }: { params: { slug: ); - } catch (e) { + } catch { notFound(); } } @@ -50,7 +50,7 @@ export async function generateMetadata({ params: { slug } }: { params: { slug: s description, }, }; - } catch (e) { + } catch { return {}; } } diff --git a/app/lyonjs-100/content.mdx b/app/lyonjs-100/content.mdx index 7d3c8ff4..5cbe89f5 100644 --- a/app/lyonjs-100/content.mdx +++ b/app/lyonjs-100/content.mdx @@ -31,6 +31,16 @@ Nous allons donc ouvrir la billetterie le