pinned investigation
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s

This commit is contained in:
Julie Blanc 2026-01-23 14:21:26 +01:00
parent 05e49af352
commit bee25e5922
11 changed files with 102 additions and 172 deletions

View file

@ -32,6 +32,9 @@
<?php foreach ($page->children()->listed() as $investigation): ?>
<article class="card--article">
<?php if ($cover = $investigation->cover()->toFile()): ?>
<figure>
<img src="<?= $cover->url() ?>" alt="<?= $investigation->title()->esc() ?>">
@ -99,6 +102,10 @@
</ul>
</div>
<?php if ($investigation->pinned()->toBool()): ?>
<div class="pin"><?= svg('assets/icons/pin.svg') ?></div>
<?php endif ?>
<a class="link-block" href="<?= $investigation->url() ?>"></a>
</article>
<?php endforeach ?>

View file

@ -92,7 +92,7 @@
<div class="btn--group">
<button class="btn--bold-inline">
<button class="btn--bold">
<a href="#">
<span class="icon"><?= svg('assets/icons/pdf.svg') ?></span>
<span class="text">Télégarcher le&nbsp;PDF</span>