diff --git a/src/Schedule.jsx b/src/Schedule.jsx index 3b6ca16..1868655 100644 --- a/src/Schedule.jsx +++ b/src/Schedule.jsx @@ -35,42 +35,47 @@ export default function Schedule({ return (<> {isLoading && <>Loading... }
- {halls && - - - {header.map(hall => )} - - - - {rows.map(row => - {row.cells.map(cell => )} - )} - - - - {header.map(hall => )} - - -
{hall.name}
- -
{hall.name}
} -
- {tracks && - - {Object.entries(tracks).filter(([, track]) => - !isTrackHidden(track) - ).map(([trackId, track]) => - - )} - {Object.entries(langs).map(([code, name]) => - - )} - -
{track.name[lang]}
{name}
} + {header && <> + + + + {header.map(hall => )} + + + + {rows.map(row => + {row.cells.map(cell => )} + )} + + + + {header.map(hall => )} + + +
{hall.name}
+ +
{hall.name}
+
+ } + {tracks && <> + + + {Object.entries(tracks).filter(([, track]) => + !isTrackHidden(track) + ).map(([trackId, track]) => + + )} + {Object.entries(langs).map(([code, name]) => + + )} + +
{track.name[lang]}
{name}
+
+ } {events && tracks && Object.entries(events).map(([eventId, event]) =>

{event.title} @@ -95,7 +100,7 @@ export default function Schedule({ Submit feedback

-
+
)} {speakers && <>
diff --git a/src/Schedule.scss b/src/Schedule.scss index da54618..c012dc4 100644 --- a/src/Schedule.scss +++ b/src/Schedule.scss @@ -1,5 +1,6 @@ .schedule { table { + text-align: center; width: 100%; font-size: 0.8em; margin: 0 0 3em 0;