@php $contacts = App\Models\Contact::all(); @endphp
{{ __('If you have any questions or suggestions, we are always in touch') }} arrow-right
@if (count($contacts) > 0 && count( $contacts->where('type', 'phone')->pluck('translations')->flatten()->pluck('name')) > 0) phone @endif
@foreach ($contacts->where('type', 'phone') as $contact) @foreach ($contact->translations as $translation) @if (!empty($translation->name)) {{ $translation->name }}
@endif @endforeach @endforeach
@if (count($contacts) > 0 && count( $contacts->where('type', 'email')->pluck('translations')->flatten()->pluck('name')) > 0) mail @endif @foreach ($contacts->where('type', 'email') as $contact) @foreach ($contact->translations as $translation) @if (!empty($translation->name)) {{ $translation->name }}
@endif @endforeach @endforeach {{-- office@vikentreid.ua --}}
@livewire('contact-form')