@if ($platforms->isNotEmpty())
@foreach ($platforms as $platform)
@if ($platform->icon_path) @else {{ \Illuminate\Support\Str::substr($platform->name, 0, 1) }} @endif

{{ $platform->name }}

@if (! $platform->is_active || $platform->trashed())

Unavailable for new links

@endif
@error('urls.'.$platform->id)

{{ $message }}

@enderror
@endforeach

Leave a field empty to remove that profile link.

@else

No social platforms are available yet

Ask an administrator to add the platforms your business uses.

@endif