v0.9.0
This commit is contained in:
commit
860182098c
277 files changed
+18338
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<section class="mb-block mb-text-media {{ $classes }}">
|
||||
<div class="mb-inner mb-split">
|
||||
<div class="mb-text">
|
||||
@if (($data['title'] ?? '') !== '')<h2>{{ $data['title'] }}</h2>@endif
|
||||
<div class="mb-prose">{!! $data['body_html'] !!}</div>
|
||||
@if (! empty($data['points']))<ul class="mb-points">@foreach ($data['points'] as $point)<li>{{ $point }}</li>@endforeach</ul>@endif
|
||||
</div>
|
||||
@if (! empty($data['photo']))
|
||||
<figure class="mb-media"><img src="{{ \IriksIT\Manager\Support\Blocks::safeUrl($data['photo']) }}" alt="{{ $data['caption'] ?? $data['title'] ?? '' }}" loading="lazy">@if (($data['caption'] ?? '') !== '')<figcaption>{{ $data['caption'] }}</figcaption>@endif</figure>
|
||||
@endif
|
||||
</div>
|
||||
</section>
|
||||
Reference in new issue
Block a user