File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 103
103
"tracks" : [
104
104
{
105
105
"title" : " Kovid Goyal" ,
106
+ "image" : " /image/keynotes/kovid.jpg" ,
106
107
"type" : " keynote"
107
108
}
108
109
]
269
270
"tracks" : [
270
271
{
271
272
"title" : " Usha Rengaraju" ,
273
+ "image" : " /image/keynotes/usha.jpeg" ,
272
274
"type" : " keynote"
273
275
}
274
276
]
316
318
"tracks" : [
317
319
{
318
320
"title" : " Mars Lee" ,
321
+ "image" : " /image/keynotes/mars.png" ,
319
322
"type" : " keynote"
320
323
}
321
324
]
479
482
"tracks" : [
480
483
{
481
484
"title" : " James Powell" ,
485
+ "image" : " /image/keynotes/james.jpg" ,
482
486
"type" : " keynote"
483
487
}
484
488
]
Original file line number Diff line number Diff line change 48
48
</span >
49
49
{% endif %}
50
50
<div class =" card-body" >
51
+ {% if session .tracks [0].image %}
52
+ <div class =" keynote-speaker" >
53
+ <img src =" {{session .tracks [0].image }}" onerror =" this.onerror=null;this.style.objectFit='contain';" class =" speaker-img" width =" 48" alt =" " loading =" lazy" />
54
+ </div >
55
+ {% endif %}
51
56
<h3 class =" h5 card-title" >{{session .tracks [0].title }}</h3 >
52
57
<p class =" h6 card-subtitle mt-2 mb-2 text-muted fs-5" >{{session .start_time }} - {{session .end_time }}</p >
53
58
</div >
79
84
{% assign session_speakers = speakers | where: 'talkTitle' , track .title %}
80
85
{% for speaker in session_speakers %}
81
86
<div class =" speaker mt-4" >
82
- <img src =" /image/speakers/{{ speaker .name | slugify }}.jpg" onerror =" this.onerror=null;this.src='/image/Group%204790.svg ';this.style.objectFit='contain';"
83
- class =" speaker-img me-2" width =" 240" alt =" " loading =" lazy" >
87
+ <img src =" /image/speakers/{{ speaker .name | slugify }}.jpg" onerror =" this.onerror=null;this.src='/image/id.png ';this.style.objectFit='contain';"
88
+ class =" speaker-img me-2" width =" 240" alt =" " loading =" lazy" / >
84
89
<span >
85
90
{{ speaker .name }}
86
91
</span >
Original file line number Diff line number Diff line change @@ -1686,3 +1686,25 @@ path {
1686
1686
}
1687
1687
}
1688
1688
1689
+ .keynote-speaker {
1690
+ width : 80px ;
1691
+ height : 80px ;
1692
+ margin : 0px auto;
1693
+ position : relative;
1694
+ border-radius : 10% ;
1695
+ overflow : hidden;
1696
+ border-top : 1px solid # 111 ;
1697
+ border-bottom : 1px solid # fff ;
1698
+ background : # fff ;
1699
+ -webkit-box-shadow : inset 0px 0px 10px 0px rgba (0 , 0 , 0 , 0.8 );
1700
+ box-shadow : inset 0px 0px 10px 0px rgba (0 , 0 , 0 , 0.8 );
1701
+ }
1702
+
1703
+ .keynote-speaker img {
1704
+ border : none;
1705
+ width : 80px ;
1706
+ height : auto;
1707
+ cursor : pointer;
1708
+ aspect-ratio : 1 ;
1709
+ object-fit : cover;
1710
+ }
You can’t perform that action at this time.
0 commit comments