@push('css') @endpush
@foreach ($platforms as $platform)
@php $image = 'vendor/social-media/icons/' . $platform->value . '.svg'; $image_dark_version = 'vendor/social-media/icons/' . $platform->value . '-light.svg'; @endphp file_exists($image_dark_version), ]) src="{{ asset($image) }}" alt="{{ $platform->name }}" /> @if (file_exists($image_dark_version)) @endif
@endforeach
!filled($image) && !filled($video), ]) :class="{ 'hidden': !image && !video }" > !filled($postImage), ]) src="{{ $postImage }}" alt="{{ __('Social Media') }}" :class="{ 'hidden': !image }" :src="image" >
!filled($content), ]) :class="{ 'hidden': !content || !content?.trim()?.length }" >
{{ $content }}
{{ $link }}