Compare commits

...

2 Commits

Author SHA1 Message Date
Vencislav Atanasov 570f136ef8 Hide schedule and tracks when stands are selected 2024-10-01 20:15:55 +03:00
Vencislav Atanasov 97e9a15d9e Fix formatting 2024-10-01 20:13:59 +03:00
1 changed files with 36 additions and 34 deletions

View File

@ -53,6 +53,7 @@ export default function Schedule({
{isLoading && <progress value={loadingProgress}/>} {isLoading && <progress value={loadingProgress}/>}
{isComplete && <div className="schedule"> {isComplete && <div className="schedule">
<hr/> <hr/>
{rows.length > 0 && <>
<table> <table>
{header.length > 0 && <thead> {header.length > 0 && <thead>
<tr> <tr>
@ -74,7 +75,7 @@ export default function Schedule({
</tr> </tr>
</tfoot>} </tfoot>}
</table> </table>
<div className="separator"/> <div className="separator" />
<table> <table>
<tbody> <tbody>
{tracks.filter(track => !isTrackHidden(track)).map(track => <tr key={track.id}> {tracks.filter(track => !isTrackHidden(track)).map(track => <tr key={track.id}>
@ -86,6 +87,7 @@ export default function Schedule({
</tbody> </tbody>
</table> </table>
<div className="separator" /> <div className="separator" />
</>}
{events.map(event => <section key={event.id} id={'event-'.concat(event.id)}> {events.map(event => <section key={event.id} id={'event-'.concat(event.id)}>
<p> <p>
<strong>{event.title}</strong> <strong>{event.title}</strong>
@ -120,7 +122,7 @@ export default function Schedule({
<i className="fa-brands fa-twitter" /> <i className="fa-brands fa-twitter" />
</a>} </a>}
{speaker.github && <a href={'https://github.com/'.concat(speaker.github)}> {speaker.github && <a href={'https://github.com/'.concat(speaker.github)}>
<i className="fa-brands fa-github"/> <i className="fa-brands fa-github" />
</a>} </a>}
</div> </div>
<p>{speaker.biography}</p> <p>{speaker.biography}</p>