add icon to search field

This commit is contained in:
isUnknown 2024-04-09 17:10:43 +02:00
parent 4a742b81ec
commit 4a310dcbbe
7 changed files with 57 additions and 12 deletions

View file

@ -1,13 +1,15 @@
<li class="text">
<li
class="text"
>
<a href="<?= $article->url() ?>" class="texts__title no-line">
<h3><?= $article->title() ?></h3>
</a>
<div class="text__infos">
<p>
<span class="opacity-light">par</span>
<span class="light">par</span>
<a class="author" href="/auteurs/<?= Str::slug($article->author()->toUser()->name()) ?>"><?= $article->author()->toUser()->name() ?></a><br>
<span class="opacity-light">publié le </span><?= $article->published()->toDate('d/m/Y') ?>
<span class="opacity-light">dans</span> <a href="/categories/<?= $article->category() ?>"><?= $article->category() ?></a>
<span class="light">publié le </span><?= $article->published()->toDate('d/m/Y') ?><br>
<span class="light">dans</span> <a href="<?= $article->parent()->url() ?>"><?= $article->parent()->title() ?></a> / <a href="/categories/<?= $article->category() ?>"><?= $article->category() ?></a>
</p>
</div>
</li>