diff --git a/apps/live/src/app/(landing)/Keynote.tsx b/apps/live/src/app/(landing)/Keynote.tsx index e383945d..0f7a15ea 100644 --- a/apps/live/src/app/(landing)/Keynote.tsx +++ b/apps/live/src/app/(landing)/Keynote.tsx @@ -3,9 +3,5 @@ import React from "react"; export default function Keynote(): React.ReactNode { - - return ( -
-
- ); + return
; } diff --git a/apps/live/src/app/api/cabinPoints/route.ts b/apps/live/src/app/api/cabinPoints/route.ts index 782da255..2f5ee97b 100644 --- a/apps/live/src/app/api/cabinPoints/route.ts +++ b/apps/live/src/app/api/cabinPoints/route.ts @@ -25,7 +25,7 @@ export async function GET(req: NextRequest) { } catch (err) { return NextResponse.json( { error: `Request to get airtable data failed ${err}` }, - { status: 500 } + { status: 500 }, ); } } diff --git a/packages/ui/src/KeynoteSpeakerAssets/KeynoteCard.tsx b/packages/ui/src/KeynoteSpeakerAssets/KeynoteCard.tsx index 4485e887..b7cd1f31 100644 --- a/packages/ui/src/KeynoteSpeakerAssets/KeynoteCard.tsx +++ b/packages/ui/src/KeynoteSpeakerAssets/KeynoteCard.tsx @@ -1,16 +1,24 @@ import * as React from "react"; import { SVGProps } from "react"; +import TimeIcon from "../TimeIcon"; +import LocationIcon from "../LocationIcon"; interface KeynoteCardProps extends SVGProps { header: string; text: string; bio: string; + isLive: boolean; + location: string; + time: string; } const KeynoteCard: React.FC = ({ header, text, bio, + isLive, + location, + time, ...props }) => (
@@ -22,6 +30,20 @@ const KeynoteCard: React.FC = ({

{bio}

+ {isLive && ( +
+
+ + {location} +
+ +
+ + {time} +
+
+ )} +

{text}

diff --git a/packages/ui/src/KeynoteSpeakerSection.tsx b/packages/ui/src/KeynoteSpeakerSection.tsx index 8e897258..51085dad 100644 --- a/packages/ui/src/KeynoteSpeakerSection.tsx +++ b/packages/ui/src/KeynoteSpeakerSection.tsx @@ -14,12 +14,16 @@ export default function Keynote(): React.ReactNode { header: "Sue Harnett", bio: "CEO of Rewriting the Code", text: "Sue Harnett is the Founder & CEO of Rewriting the Code, the nonprofit she launched in 2017 that has grown into a global community of 38,000+ university and early-career women in tech, offering mentorship, education, and career-readiness programs. She will be speaking about women in technology, and the value of community, teamwork, and thoughtful leadership!", + location: "Zone A", + time: "Friday, 1pm", }; const jessicaData = { header: "Jessica Cao", bio: "Stanford CS '26 / Founder of World37", text: "Jessica Cao is an undergraduate studying Computer Science at Stanford University, and the founder of World37, an AI-powered storytelling platform where players can engage with, create, and share their own unique stories. She will be speaking about the art of pitching a technical project!", + location: "Zone A", + time: "Friday, 1pm", }; return ( @@ -66,6 +70,9 @@ export default function Keynote(): React.ReactNode { header={sueData.header} bio={sueData.bio} text={sueData.text} + isLive={false} + location={sueData.location} + time={sueData.time} />
@@ -94,6 +101,9 @@ export default function Keynote(): React.ReactNode { header={jessicaData.header} bio={jessicaData.bio} text={jessicaData.text} + isLive={false} + location={jessicaData.location} + time={jessicaData.time} /> diff --git a/packages/ui/src/LocationIcon.tsx b/packages/ui/src/LocationIcon.tsx new file mode 100644 index 00000000..0e19b606 --- /dev/null +++ b/packages/ui/src/LocationIcon.tsx @@ -0,0 +1,64 @@ +import * as React from "react"; +const LocationIcon = () => ( + + + + + + + + + + + + + +); +export default LocationIcon; diff --git a/packages/ui/src/TimeIcon.tsx b/packages/ui/src/TimeIcon.tsx new file mode 100644 index 00000000..a0343ad5 --- /dev/null +++ b/packages/ui/src/TimeIcon.tsx @@ -0,0 +1,64 @@ +import * as React from "react"; +const TimeIcon = () => ( + + + + + + + + + + + + + +); +export default TimeIcon;