diff --git a/src/Schedule.jsx b/src/Schedule.jsx index c2da344..19ccfa8 100644 --- a/src/Schedule.jsx +++ b/src/Schedule.jsx @@ -35,7 +35,7 @@ export default function Schedule({ return (<> {isLoading && <>Loading... }
- {header && <> + {header && rows && <> @@ -98,25 +98,28 @@ export default function Schedule({ )} {speakers && <>
- {Object.entries(speakers).map(([speakerId, speaker]) =>
+ {Object.entries(speakers).map(([speakerId, speaker]) =>
{getSpeakerName(speaker)}
)}
- {Object.entries(speakers).map(([speakerId, speaker]) =>
- {getSpeakerName(speaker)}/ -

{getSpeakerName(speaker)}

-
- {speaker.twitter && - twitter - } - {speaker.github && - github - } + {Object.entries(speakers).map(([speakerId, speaker]) => +
+ {getSpeakerName(speaker)}/ +

{getSpeakerName(speaker)}

+
+ {speaker.twitter && + + } + {speaker.github && + + } +
+

{speaker.biography}

-

{speaker.biography}

-
)} +
+ )} }
); diff --git a/src/Schedule.scss b/src/Schedule.scss index 4ccf4ba..8e3350e 100644 --- a/src/Schedule.scss +++ b/src/Schedule.scss @@ -195,4 +195,39 @@ } } } + + .speaker { + position: relative; + margin: 0 0 2em 0; + + &::after { + content: " "; + clear: both; + display: block; + } + + > img { + float: left; + padding: 0.3em; + background: #FFF; + box-shadow: 0 0 1px 1px #999; + margin: 0 1em 2em 0; + } + + .icons { + text-align: center; + display: inline-block; + margin: 0 0 0 0.1em; + + a { + display: inline-block; + margin: 0 0.3em 0 0; + } + } + + h3 { + margin: 0 0 0.4em 0; + padding: 0; + } + } }