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