fix: 🐛 images not displaying and error triggered when a button was missing from the config
This commit is contained in:
parent
9fb35de40c
commit
9bdab89777
1 changed files with 10 additions and 8 deletions
|
|
@ -30,7 +30,7 @@
|
|||
'bottom' => true,
|
||||
],
|
||||
]" />
|
||||
<img src="{{ $block['image_block'] }}" alt="{{ $block['string_alt'] }}">
|
||||
<img src="{{ asset($block['image_block']) }}" alt="{{ $block['string_alt'] }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="textblock__info textblock__block">
|
||||
|
|
@ -44,13 +44,15 @@
|
|||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<x-front.sections.accordeon.accordeon :accordion='$job["list_accordion"]' />
|
||||
<div class="videos__btn-wrap">
|
||||
<x-front.cta title="{{ $job['list_cta'][0]['string_text'] }}" class="videos__btn"
|
||||
target="_blank"
|
||||
url="{{ $job['list_cta'][0]['url_link'] }}"
|
||||
buttonIcon="btn__icon_arrow-right" />
|
||||
</div>
|
||||
<x-front.sections.accordion.accordion :accordion='$job["list_accordion"]' />
|
||||
@if (!empty($job['list_cta']))
|
||||
<div class="videos__btn-wrap">
|
||||
<x-front.cta title="{{ $job['list_cta'][0]['string_text'] }}" class="videos__btn"
|
||||
target="_blank"
|
||||
url="{{ $job['list_cta'][0]['url_link'] }}"
|
||||
buttonIcon="btn__icon_arrow-right" />
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue