File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1919
2020 < div class ="schedule-grid ">
2121 {{#each talks}}
22- < div class ="schedule-card ">
22+ < div class ="schedule-card {{isQAClass this}} ">
2323 < div class ="v-sign "> v</ div >
2424
2525 < div > < b > {{this.name}}</ b > </ div >
8484 display : grid;
8585 grid-template-columns : 1fr 1fr ;
8686 column-gap : 12px ;
87+ row-gap : 12px ;
8788 width : 100% ;
8889 }
8990
114115
115116 transition : opacity 0.2s ;
116117 }
118+
119+ .qa {
120+ background-color : # 09155a ;
121+ }
117122
118123 .schedule-card : hover {
119124 opacity : 0.85 ;
164169 < script >
165170 let schedules = [ ] ;
166171 let schedulesFormatted = [ ] ;
172+
173+ Handlebars . registerHelper ( 'isQAClass' , ( data ) => {
174+ return data . title . startsWith ( 'Q&A' ) ? 'qa' : '' ;
175+ } ) ;
167176
168177 function initCardHidden ( ) {
169178 document . querySelectorAll ( '.schedule-card' ) . forEach ( element => {
You can’t perform that action at this time.
0 commit comments