Skip to content

Commit

Permalink
⚡ add keynote speakers image
Browse files Browse the repository at this point in the history
  • Loading branch information
Terfno committed Jan 14, 2025
1 parent 8bcdaf1 commit 4f08cc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/talks/Main.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ import Talks from "./Talks";
// img
import OkuramasafumiImage from "../staff/pics/okuramasafumi.jpg";
import PrimaryLogoRedImage from "../../imgs/primary_logo_red.png";
import EagletmtImage from "../../imgs/eagletmt.jpg";
import JhawthornImage from "../../imgs/jhawthorn.jpg";
const talkEntries = await getCollection("talks");
talkEntries.filter((entry)=>entry.data.session.id === 1)[0].data.speaker.ImageSrc = OkuramasafumiImage.src;
talkEntries.filter((entry)=>entry.data.session.id === 21)[0].data.speaker.ImageSrc = PrimaryLogoRedImage.src;
talkEntries.filter((entry)=>entry.data.session.id === 22)[0].data.speaker.ImageSrc = EagletmtImage.src;
talkEntries.filter((entry)=>entry.data.session.id === 23)[0].data.speaker.ImageSrc = JhawthornImage.src;
const mainTalkEntries = talkEntries.filter((entry) => entry.data.session.id > 10);
const zenyasaiTalkEntries = talkEntries.filter((entry) => entry.data.session.id <= 10);
Expand Down

0 comments on commit 4f08cc4

Please sign in to comment.