File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,22 +29,28 @@ <h2 class='text-l news-title no-border'>{{ page.title }}</h2>
2929 {% endfor %}
3030 {% endif %}
3131
32+ {% assign formatted_date = page.date | date: "%b %-d, %Y" %}
33+
3234 {% if author_name %}
3335 < div class ='author d-iblock '>
34- < span class ='text-xxs author-name '> By
36+ < a class ='link author-img-link ' href ="{{ site.baseurl }}/people/{{page.author-id}} ">
37+ < img class ='author-img ' src ='{{ site.baseurl }}/images/people/{{page.author-id}}.jpg ' alt ='Portrait of {{author_name}} ' />
38+ </ a >
39+ < span class ='text-xxs author-name '>
3540 < a class ='link ' href ="{{ site.baseurl }}/people/{{page.author-id}} ">
3641 {{author_name}}
37- </ a > on
42+ </ a > · {{ formatted_date }}
3843 </ span >
3944 </ div >
4045 {% elsif page.author-name %}
4146 < div class ='author d-iblock '>
42- < span class ='text-xxs author-name '> By
43- {{page.author-name}} on
44- </ span >
47+ < span class ='text-xxs author-name '> {{page.author-name}} · {{ formatted_date }}</ span >
48+ </ div >
49+ {% else %}
50+ < div class ='author d-iblock '>
51+ < span class ='text-xxs author-name '> {{ formatted_date }}</ span >
4552 </ div >
4653 {% endif %}
47- < span class ='center '> {{ page.date | date: "%b %-d, %Y"}}</ span >
4854 </ div >
4955 < div class ='text-xxs content-text generated-content '>
5056 {{ content }}
Original file line number Diff line number Diff line change 216216
217217 .author {
218218 // margin-bottom: $spacing--m;
219+ display : flex ;
220+ align-items : center ;
221+ justify-content : center ;
219222 text-align : center ;
223+ gap : $spacing--xxs ;
220224 margin-top : -25px ;
221225 }
222226
223227 .author-img {
224228 width : 40px ;
225229 height : 40px ;
226230 border-radius : 50% ;
231+ object-fit : cover ;
227232 vertical-align : middle ;
228233
229234 @include breakpoint ($desktop-small ) {
Original file line number Diff line number Diff line change 3232 }
3333
3434 .team-member-img {
35- height : 325px ;
36- margin-bottom : 40px ;
35+ display : block ;
36+ width : 100% ;
37+ max-width : 360px ;
38+ height : auto ;
39+ margin : 0 auto 40px ;
3740 object-fit : cover ;
38-
41+ border-radius : 32px ;
42+ box-shadow : 0 14px 32px rgba (31 , 41 , 55 , 0.18 );
3943
4044 @include breakpoint ($desktop-small ) {
4145 position : absolute ;
42- height : 100% ;
4346 width : 100% ;
47+ max-width : 360px ;
48+ height : auto ;
49+ left : 50% ;
50+ transform : translateX (-50% );
4451 }
4552 }
4653
6067 }
6168 }
6269
70+ .generated-content {
71+ p {
72+ text-align : justify ;
73+ }
74+ }
75+
6376 .social-icons {
6477 display : flex ;
6578 align-items : center ;
You can’t perform that action at this time.
0 commit comments