@extends('user::layouts.backend-master') @section('breadcrumb_title', 'View User') @section('content')

User Details

Back to Users
{{-- Left Section --}}
Basic Information

{{ $user->name }}

{{ $user->email }}

{{ $user->username }}

{{ $user->getMeta('phone') ?? 'N/A' }}

{!! $user->getMeta('bio') ?? 'No bio available' !!}
Social Links
@php $socials = [ 'Facebook' => $user->getMeta('facebook_link'), 'X' => $user->getMeta('x_link'), 'LinkedIn' => $user->getMeta('linkedin_link'), 'Instagram' => $user->getMeta('instagram_link'), 'YouTube' => $user->getMeta('youtube_link'), 'Pinterest' => $user->getMeta('pinterest_link'), ]; @endphp @foreach ($socials as $name => $link)
@if ($link)

{{ $link }}

@else

Not provided

@endif
@endforeach
{{-- Right Section --}}

User Options

@foreach ($roles as $role) @if ($user->hasRole($role->name)) {{ ucfirst($role->name) }} @endif @endforeach
@if ($user->getFirstMediaUrl('avatar')) Profile Image @else

No image uploaded

@endif
@if ($user->getFirstMediaUrl('cover_photo')) Cover Image @else

No cover image uploaded

@endif
Approved Author Reject Author
@endsection @push('scripts') @endpush