{{ !empty($config['title']) ? $config['title'] : __('Follow Us') }}
@php $socials = []; foreach (json_decode(theme_option('social_links'), true) as $socialLink) { if(!empty($socialLink[2]['value'])) { $socials[] = $socialLink; } } @endphp
@foreach ($socials as $socialLink) @if ($loop->index % 2 == 0)
@endif
{{ $socialLink[0]['value'] }} @if(!empty($socialLink[3]['value'])) @if($socialLink[3]['value'] > 1000) {{ (int)((int) $socialLink[3]['value']) / 1000 }} K @else {{ $socialLink[3]['value'] }} @endif @endif
@if ($loop->index % 2 == 1 || count($socials) == $loop->index + 1)
@endif @endforeach