feat: ✨ add button to download a file on commitments > ethics section
This commit is contained in:
parent
76bb92dbcc
commit
e5670b1660
1 changed files with 7 additions and 1 deletions
|
|
@ -24,10 +24,16 @@
|
|||
'image' => [
|
||||
['url' => $item['image_visual']]
|
||||
],
|
||||
'button' => !empty($item['list_button']) ? [
|
||||
'url' => \App\Models\Document::getAccessModel($item['list_button'][0]['model_document']),
|
||||
'target' => '_blank',
|
||||
'title' => $item['list_button'][0]['string_label'],
|
||||
] : null,
|
||||
'button_icon' => !empty($item['list_button']) ? 'btn__icon_dl' : null
|
||||
];
|
||||
})->toArray();
|
||||
@endphp
|
||||
<x-front.text-block
|
||||
<x-front.text-block
|
||||
:textBlock="[
|
||||
'bg' => '0',
|
||||
'title' => $business['string_title'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue