@extends('user.layout') @section('content')
{{ __('Add Social Link') }}
@csrf
@if ($errors->has('icon'))

{{ $errors->first('icon') }}

@endif
{{ __('NB: click on the dropdown icon to select a social link icon') }}.
@php $allow_theme = ['pet', 'skinflow', 'jewellery']; @endphp @if (in_array($userBs->theme, $allow_theme))
@if ($errors->has('background_color'))

{{ $errors->first('background_color') }}

@endif
@endif
@if ($errors->has('url'))

{{ $errors->first('url') }}

@endif
@if ($errors->has('serial_number'))

{{ $errors->first('serial_number') }}

@endif

{{ __('The higher the serial number is, the later the social link will be shown.') }}

{{ __('Social Links') }}
@if (count($socials) == 0)

{{ __('NO SOCIAL LINK FOUND') }}

@else
@foreach ($socials as $key => $social) @endforeach
# {{ __('Icon') }} {{ __('URL') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ $loop->iteration }} {{ $social->url }} {{ $social->serial_number }}
@csrf
@endif
@endsection