diff --git a/src/components/schedule/Zenyasai.astro b/src/components/schedule/Zenyasai.astro index 663f3d5..7509c32 100644 --- a/src/components/schedule/Zenyasai.astro +++ b/src/components/schedule/Zenyasai.astro @@ -5,18 +5,26 @@ import Talk from "./Talk.astro"; import MiniPanel from "../Layouts/MiniPanel.astro"; // imgs import OkuramasafumiImage from "../staff/pics/okuramasafumi.jpg"; -import ArrowUpRightFromSquare from '../icons/arrow-up-right-from-square.svg'; +import ArrowUpRightFromSquare from "../icons/arrow-up-right-from-square.svg"; // talks const talkEntries = await getCollection("talks"); -talkEntries.filter((entry)=>entry.data.session.id === 1)[0].data.speaker.ImageSrc = OkuramasafumiImage.src; -const talks = talkEntries.filter((entry) => entry.data.session.id <= 10).map((entry)=>{ - return { - session: entry.data.session, - speaker: entry.data.speaker, - }; -}); +talkEntries.filter( + (entry) => entry.data.session.id === 1 +)[0].data.speaker.ImageSrc = OkuramasafumiImage.src; + +const talks = talkEntries + .filter( + (entry) => entry.data.session.id <= 10 || entry.data.session.id === 24 + ) + .map((entry) => { + return { + session: entry.data.session, + speaker: entry.data.speaker, + }; + }); --- +