2024-04-23 23:55:48 +02:00
|
|
|
<a class="article-card-link" href="{{ $bundle->getPath() }}">
|
2024-04-25 10:25:00 +02:00
|
|
|
<article class="article-card">
|
|
|
|
@if (!empty($cover))
|
|
|
|
{!! $cover !!}
|
|
|
|
@endif
|
2024-04-24 13:55:08 +02:00
|
|
|
|
2024-04-25 10:25:00 +02:00
|
|
|
@if(!empty($mainLink) && $mainLink['isDead'])
|
|
|
|
<div class="ribbon dead" title="{{ $mainLink['reason'] }}">
|
|
|
|
Lien mort depuis le {{ Carbon\Carbon::parse($mainLink['checked'])->format('d/m/Y') }}
|
|
|
|
</div>
|
|
|
|
@endif
|
2024-04-24 13:55:08 +02:00
|
|
|
|
2024-04-25 10:25:00 +02:00
|
|
|
<h2>{!! $bundle->getArticleTitle() !!}</h2>
|
|
|
|
<section class="article-card-body">
|
|
|
|
@if (!empty($date))
|
|
|
|
<p><time datetime="{{ $date->toIso8601String() }}">{{ $date->isoFormat('LL') }}</time></p>
|
|
|
|
@endif
|
|
|
|
@if (!empty($section))
|
|
|
|
<p>{!! $section->getArticleTitle() !!}</p>
|
|
|
|
@endif
|
|
|
|
</section>
|
|
|
|
</article>
|
2024-04-23 23:55:48 +02:00
|
|
|
</a>
|