ldc-groupe/resources/views/components/front/posts/documents.blade.php
2026-05-05 12:50:13 +02:00

12 lines
485 B
PHP

@if (!empty($documentsList))
@foreach ($documentsList as $document)
@if ($document->is_issuu)
<x-front.sections.accordion.document-accordion :document='$document' />
@else
<a class="posts-list__item list-item-doc" href="/{{ $document['path'] }}" title="{{ $document['name'] }}"
download="" style="opacity: 1; transition: 250ms;">
{{ $document['name'] }}
</a>
@endif
@endforeach
@endif