@extends('layouts.app') @section('title', $verified ? 'Agent Verified' : 'Not Found') @section('header-badge') @if($verified && $agent)
Verified Agent
@endif @endsection @section('content') @if($verified && $agent)
@if(!empty($agent['profile_photo'])) {{ $agent['name'] }} @else
{{ substr($agent['name'] ?? 'A', 0, 1) }}
@endif

{{ $agent['name'] }}

{{ $matrix_id }} @if(!empty($agent['tier'])) {{ $agent['tier'] }} @endif
@if(!empty($agent['email']) || !empty($agent['phone']))
@if(!empty($agent['email']))
{{ $agent['email'] }}
@endif @if(!empty($agent['phone']))
{{ $agent['phone'] }}
@endif
@endif @if(!empty($agent['whatsapp']) || !empty($agent['facebook']) || !empty($agent['instagram']) || !empty($agent['tiktok']))

Connect

@if(!empty($agent['whatsapp'])) WhatsApp @endif @if(!empty($agent['facebook'])) Facebook @endif @if(!empty($agent['instagram'])) Instagram @endif @if(!empty($agent['tiktok'])) TikTok @endif
@endif @if(!empty($agent['joined_at']))

Member since {{ \Carbon\Carbon::parse($agent['joined_at'])->format('M Y') }}

@endif
@else

{{ $error ? 'Invalid Format' : 'Not Found' }}

@if($error) {{ $error }} @else No agent found with ID {{ $matrix_id }} @endif

@endif
Verify Another Agent
@endsection