JSFiddle - React, Tailwind, and code Playground
HTML
<a class="main-link" href="/">
<span class="img"></span>
<span class="text">
<b>Ultramarine diaries</b>
<em>by Ashish Gajera, from the Himalaya</em>
</span>
</a>
CSS
.main-link {
display: flex;
text-decoration: none
}
.main-link .img {
width: 50px;
height: 50px;
background: blue;
margin-right: 1em
}
.main-link .text {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
}
.main-link .text b {margin-bottom:0.3em}
.main-link .text em {font-size:0.8em;}