From 4c7e055e71a4b48d1c4a911ec46a9bad76f0f466 Mon Sep 17 00:00:00 2001 From: Bob Chen <83627389+3bobchen@users.noreply.github.com> Date: Tue, 15 Oct 2024 22:14:05 -0700 Subject: [PATCH] Feature/2024 speakers (#47) * feat(2024): add 2 speakers * feat(2024): add placeholder * feat(2024): add ticket link * feat(2024): add ticket link * feat(2024): minor changes --- components/Speaker.tsx | 7 ++++++ components/Speakers/Atlassian24.tsx | 34 ++++++++++++++++++++++++++++ components/Speakers/Macquarie24.tsx | 26 +++++++++++++++++++++ components/Speakers/Placeholder.tsx | 7 ++++++ components/Thingy.tsx | 4 +++- pages/index.tsx | 18 ++++++++++++--- public/data.tsx | 19 ++++++++++++++-- public/images/2024/chris.JPG | Bin 0 -> 42859 bytes public/images/2024/nick.JPG | Bin 0 -> 760188 bytes 9 files changed, 109 insertions(+), 6 deletions(-) create mode 100644 components/Speakers/Atlassian24.tsx create mode 100644 components/Speakers/Macquarie24.tsx create mode 100644 public/images/2024/chris.JPG create mode 100644 public/images/2024/nick.JPG diff --git a/components/Speaker.tsx b/components/Speaker.tsx index 34f0393..d5c4c4d 100644 --- a/components/Speaker.tsx +++ b/components/Speaker.tsx @@ -9,6 +9,7 @@ export interface SpeakerProps { speakerName?: string; text: ReactNode; video: string | null; + image: string | undefined; focusedPage: number; } const Speaker = ({ @@ -17,6 +18,7 @@ const Speaker = ({ speakerName, text, video, + image, focusedPage, }: SpeakerProps) => { const [showVideo, setShowVideo] = useState(false); @@ -154,6 +156,11 @@ const Speaker = ({ ) : null} + {image ? ( +