This commit is contained in:
parent
bfa77f6cbd
commit
f893a77545
|
|
@ -156,7 +156,7 @@ class DesignService
|
|||
}
|
||||
|
||||
$type = $link['type'] ?? '';
|
||||
$value = (int)$link['value'] ?? 0;
|
||||
$value = $link['type'] == 'custom' ? $link['value'] : ((int)$link['value'] ?? 0);
|
||||
$images[$index]['link']['link'] = self::handleLink($type, $value);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
<div class="text tinymce-format-p">{!! $footer_content['content']['intro']['text'][$locale] ?? '' !!}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@for ($i = 1; $i <= 3; $i++)
|
||||
@php
|
||||
$link = $footer_content['content']['link' . $i];
|
||||
|
|
@ -41,7 +40,7 @@
|
|||
@if ($item['link'])
|
||||
<li class="lh-lg mb-2">
|
||||
<a href="{{ $item['link'] }}" @if (isset($item['new_window']) && $item['new_window']) target="_blank" @endif>
|
||||
{{ $item['type'] == 'custom' ? $item['text'][$locale] ?? '' : $item['text'] }}
|
||||
{{ $item['text'] }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue