moved author and date to the top

This commit is contained in:
ebby 2026-07-28 10:50:11 +02:00
parent ff97bc7302
commit 1ddbd466a3

View file

@ -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>