moved author and date to the top
This commit is contained in:
parent
ff97bc7302
commit
1ddbd466a3
1 changed files with 6 additions and 5 deletions
|
|
@ -18,13 +18,13 @@ const img = findImageByPath(post.image.path);
|
|||
<img src={img.src} alt={post.image.alt} />
|
||||
</div>
|
||||
<div class="text-col col">
|
||||
<h2 class="headline">{post.title}</h2>
|
||||
<h7 class="subtitle">{post.subtitle}</h7>
|
||||
<p class="description">{post.description}</p>
|
||||
<div class="bottom-info">
|
||||
<div class="top-info">
|
||||
<span>Autor: {post.author}</span>
|
||||
<span>{post.date}</span>
|
||||
</div>
|
||||
<h2 class="headline">{post.title}</h2>
|
||||
<h7 class="subtitle">{post.subtitle}</h7>
|
||||
<p class="description">{post.description}</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
@ -67,8 +67,9 @@ const img = findImageByPath(post.image.path);
|
|||
object-position: center;
|
||||
}
|
||||
|
||||
.bottom-info {
|
||||
.top-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue