diff --git a/src/components/Schedule.jsx b/src/components/Schedule.jsx index 8d4e335..f68850e 100644 --- a/src/components/Schedule.jsx +++ b/src/components/Schedule.jsx @@ -4,8 +4,7 @@ import Image from 'next/image' import { Sessions } from "../../speakers"; import Link from "next/link"; import { Schedule as schedule } from "../../schedule"; -import {EVENT} from "../../event"; - +import { EVENT } from "../../event"; function DailySchedule({ day }) { // Day of the month @@ -45,73 +44,82 @@ function DailySchedule({ day }) {
| - - {timeSlot.start} - {timeSlot.end} - - | -
- {timeSlot.session.map((speaker) => {
- return (
-
-
-
-
+
+ {timeSlot.start} - {timeSlot.end}
+
+ |
+
+ {timeSlot.session.map((speaker) => {
+ return (
+ |
-
+
+
-
-
- {timeSlot.name ? timeSlot.name : Sessions[speaker].name}
-
-
- );
- })}
-
+
+
+
+ {timeSlot.name ? timeSlot.name : Sessions[speaker].name}
+
-
- {timeSlot.description ? timeSlot.description : Sessions[timeSlot.session[0]]?.talkTitle}
-
- |
- >
- )}
- {!timeSlot.session && (
- <>
-
- {timeSlot.start} - {timeSlot.end}
- |
-
- {timeSlot.name === 'Coffee, Snacks, Sponsors, Chat!' ? (
- |
- Coffee, Snacks, Sponsors, Chat!
- ) : timeSlot.name ? (
- timeSlot.name
- ) : (
- Sessions[timeSlot.session].name
- )}
-
- {timeSlot.description ? timeSlot.description : Sessions[timeSlot.session]?.talkTitle}
- |
- >
- )}
- |
+ + + {timeSlot.description ? timeSlot.description : Sessions[timeSlot.session[0]]?.talkTitle} + + | + > + )} + {!timeSlot.session && ( + <> ++ {timeSlot.start} - {timeSlot.end} + | +
+ {timeSlot.name === 'Coffee, Snacks, Sponsors, Chat!' ? (
+ Coffee, Snacks, Sponsors, Chat!
+ ) : timeSlot.name ? (
+ timeSlot.name
+ ) : (
+ Sessions[timeSlot.session]?.name
+ )}
+ |
+ + {timeSlot.description ? timeSlot.description : Sessions[timeSlot.session]?.talkTitle} + | + > + )} +