优化页尾

This commit is contained in:
pushuo 2022-08-11 18:28:31 +08:00
parent 1c68777112
commit d910da229b
1 changed files with 3 additions and 2 deletions

View File

@ -38,9 +38,10 @@
<h6 class="text-uppercase text-dark mb-3">{{ $link['title'][$locale] }}</h6>
<ul class="list-unstyled">
@foreach ($link['links'] as $item)
@dump($item)
<li>
<a href="{{ $item['value'] }}" @if (isset($item['new_window']) && $item['new_window']) target="_blank" @endif>{{ $item['text'][$locale] ?? '' }}</a>
<a href="{{ $item['link'] }}" @if (isset($item['new_window']) && $item['new_window']) target="_blank" @endif>
{{ $item['type'] == 'custom' ? $item['text'][$locale] ?? '' : $item['text'] }}
</a>
</li>
@endforeach
</ul>