2026-06-05 18:30:02 +02:00
|
|
|
@php
|
2026-10-20 15:28:06 +02:00
|
|
|
$blockType = data_get($reduction, 'block_type.value');
|
|
|
|
|
$position = data_get($reduction, 'position.value');
|
|
|
|
|
$ctaUrl = data_get($reduction, 'cta_url.value');
|
|
|
|
|
$ctaLabel = data_get($reduction, 'cta_label.value');
|
|
|
|
|
$articleId = data_get($reduction, 'article_id.value');
|
2026-06-05 18:30:02 +02:00
|
|
|
$reductionNews = $articleId ? \App\Models\News::find($articleId) : null;
|
2026-10-20 15:28:06 +02:00
|
|
|
$visibility = data_get($reduction, 'visibility.value', true);
|
2026-06-05 18:30:02 +02:00
|
|
|
@endphp
|
2026-10-20 15:28:06 +02:00
|
|
|
|
2025-01-14 14:33:38 +01:00
|
|
|
<section class="position-relative line-border-large bg-white-wood-big bg-light" id="commitments-paragraph">
|
2026-06-05 18:30:02 +02:00
|
|
|
<div
|
|
|
|
|
class="d-flex flex-column flex-md-row justify-content-center justify-content-evenly align-items-center container py-5">
|
2025-01-14 14:33:38 +01:00
|
|
|
<div class="mb-3 border-0 bg-transparent">
|
|
|
|
|
<div class="row g-0">
|
2026-06-05 18:30:02 +02:00
|
|
|
<div class="col ck-content">
|
2025-01-14 14:33:38 +01:00
|
|
|
<h3>{{ $title }}</h3>
|
2026-06-18 15:03:28 +02:00
|
|
|
{!! clean($text) !!}
|
2025-01-14 14:33:38 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-06-22 15:11:31 +02:00
|
|
|
@if ($visibility)
|
2026-06-05 18:30:02 +02:00
|
|
|
<div class="container pb-5">
|
|
|
|
|
@include('fo.partials.block.reduction-card', [
|
|
|
|
|
'news' => $reductionNews,
|
|
|
|
|
'ctaUrl' => $ctaUrl ?? null,
|
|
|
|
|
'ctaLabel' => $ctaLabel ?? null,
|
|
|
|
|
'position' => $position,
|
|
|
|
|
'blockType' => $blockType,
|
|
|
|
|
])
|
|
|
|
|
</div>
|
2026-06-22 15:11:31 +02:00
|
|
|
@endif
|
2025-01-14 14:33:38 +01:00
|
|
|
</section>
|