@@ -24,7 +24,7 @@ export class AppBlogFeaturedHome {
2424 < h4 > What's New in Our Blog</ h4 >
2525 </ div >
2626 < div class = "d-block d-sm-block d-md-none" >
27- < h4 > Featured Post </ h4 >
27+ < h4 > What's New in Our Blog </ h4 >
2828 </ div >
2929 </ div >
3030 </ div >
@@ -36,7 +36,7 @@ export class AppBlogFeaturedHome {
3636 < h2 id = "featured-blog-title" > { this . blogPost . title } </ h2 >
3737 </ stencil-route-link >
3838 </ div >
39- < div class = "author" >
39+ < div class = "author d-none d-md-flex " >
4040 < img class = "profile-image d-none d-md-block" src = { this . blogPost . author . profile_image } />
4141 < div >
4242 By
@@ -55,6 +55,18 @@ export class AppBlogFeaturedHome {
5555 < img src = { this . blogPost . featured_image } alt = { this . blogPost . title } />
5656 </ stencil-route-link >
5757 </ div >
58+ < div class = "author d-block d-sm-block d-md-none" >
59+ < img class = "profile-image d-none d-md-block" src = { this . blogPost . author . profile_image } />
60+ < div >
61+ By
62+ { this . blogPost . author . slug === 'jedidiah-weller' ? (
63+ < a href = "http://www.twitter.com/jedihacks" target = "_blank" rel = "noopener" > { `${ this . blogPost . author . first_name } ${ this . blogPost . author . last_name } ` } </ a >
64+ ) : (
65+ < stencil-route-link url = { `/about/${ this . blogPost . author . slug } ` } > { `${ this . blogPost . author . first_name } ${ this . blogPost . author . last_name } ` } </ stencil-route-link >
66+ ) }
67+ on { formatDate ( publishDate ) }
68+ </ div >
69+ </ div >
5870 </ div >
5971 </ div >
6072
@@ -66,7 +78,7 @@ export class AppBlogFeaturedHome {
6678 < h2 id = "featured-blog-title" > { this . blogPost1 . title } </ h2 >
6779 </ stencil-route-link >
6880 </ div >
69- < div class = "author" >
81+ < div class = "author d-none d-md-flex " >
7082 < img class = "profile-image d-none d-md-block" src = { this . blogPost1 . author . profile_image } />
7183 < div >
7284 By
@@ -85,6 +97,18 @@ export class AppBlogFeaturedHome {
8597 < img src = { this . blogPost1 . featured_image } alt = { this . blogPost1 . title } />
8698 </ stencil-route-link >
8799 </ div >
100+ < div class = "author d-block d-sm-block d-md-none" >
101+ < img class = "profile-image d-none d-md-block" src = { this . blogPost1 . author . profile_image } />
102+ < div >
103+ By
104+ { this . blogPost1 . author . slug === 'jedidiah-weller' ? (
105+ < a href = "http://www.twitter.com/jedihacks" target = "_blank" rel = "noopener" > { `${ this . blogPost1 . author . first_name } ${ this . blogPost1 . author . last_name } ` } </ a >
106+ ) : (
107+ < stencil-route-link url = { `/about/${ this . blogPost1 . author . slug } ` } > { `${ this . blogPost1 . author . first_name } ${ this . blogPost1 . author . last_name } ` } </ stencil-route-link >
108+ ) }
109+ on { formatDate ( publishDate ) }
110+ </ div >
111+ </ div >
88112 </ div >
89113 </ div >
90114 ) : (
0 commit comments