File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,12 @@ const Countdown = ({
2828 startTime,
2929 warnTime,
3030 conferenceDate,
31+ track,
3132} : {
3233 startTime : Date
3334 conferenceDate : Date
3435 warnTime ?: number
36+ track ?: string
3537} ) => {
3638 const [ timeToStart , setTimeToStart ] = useState ( {
3739 text : diff ( startTime , conferenceDate ) ,
@@ -57,6 +59,14 @@ const Countdown = ({
5759 >
5860 { timeToStart . minutes >= 0 && timeToStart . text }
5961 { timeToStart . minutes < 0 && '-' }
62+ { track !== undefined ? (
63+ < small >
64+ < br />
65+ { track }
66+ </ small >
67+ ) : (
68+ ''
69+ ) }
6070 </ td >
6171 )
6272}
@@ -105,8 +115,11 @@ export const Schedule = ({
105115 { formatTimezone ( userTimeZone ) } ({ userFormat ( currentTime ) } )
106116 </ small >
107117 </ th >
108- < th > Track/Room</ th >
109- < th > Starts in</ th >
118+ < th >
119+ Starts in
120+ < br />
121+ < small > Track/Room</ small >
122+ </ th >
110123 < th > Session</ th >
111124 </ tr >
112125 </ thead >
@@ -144,17 +157,25 @@ export const Schedule = ({
144157 < td className = { 'time' } >
145158 { userFormat ( userTime ( time as unknown as number ) ) }
146159 </ td >
147- < td > { track ?? '—' } </ td >
148160 { isOngoing && (
149161 < td >
150162 < em > ongoing</ em >
163+ { track !== undefined ? (
164+ < small >
165+ < br />
166+ { track }
167+ </ small >
168+ ) : (
169+ ''
170+ ) }
151171 </ td >
152172 ) }
153173 { ! isOngoing && (
154174 < Countdown
155175 key = { conferenceDate }
156176 conferenceDate = { userTime ( 0 ) }
157177 startTime = { userTime ( time as unknown as number ) }
178+ track = { track }
158179 />
159180 ) }
160181 < td >
Original file line number Diff line number Diff line change 5555 background-color : var (--color-countdownWarning );
5656}
5757.Table th small {
58- opacity : 0.5 ;
58+ opacity : 0.6 ;
5959}
6060
61+ .Table td small {
62+ opacity : 0.6 ;
63+ font-weight : bold;
64+ }
6165.Table a {
6266 color : var (--color-text );
6367}
You can’t perform that action at this time.
0 commit comments