@extends('layouts.master') @section('title', $agent->user->name . ' - Agent Profile - HomesInKerala') @section('meta_description', 'View verified real estate agent profile, properties, ratings, reviews and contact details on HomesInKerala.') @push('head') {!! \App\Support\SchemaMarkup::toScript(\App\Support\SchemaMarkup::agent($agent)) !!} @endpush @section('content')
@if(session('success'))
{{ session('success') }}
@endif
{{ $agent->initials }}

Verified Agent

{{ $agent->user->name }}

{{ $agent->designation ?: 'Property Consultant' }} {{ $agent->agency_name ? 'at ' . $agent->agency_name : '' }}

{{ number_format((float) $agent->rating, 1) }} Rating {{ $agent->total_reviews }} Reviews {{ $agent->experience_years }} Years Experience
@if($agent->whatsapp_url) Contact on WhatsApp @endif

Profile

{{ $agent->bio ?: 'Agent profile details will be updated soon.' }}

Contact Agent

@csrf
@include('frontend.partials.recaptcha')

Agent Reviews

@forelse($agent->approvedReviews as $review)
{{ str_repeat('★', (int) $review->rating) }}{{ str_repeat('☆', 5 - (int) $review->rating) }}

{{ $review->comment }}

{{ $review->name }}
@empty

No approved reviews yet.

@endforelse

Properties

Listings by {{ $agent->user->name }}

@forelse($properties as $property)
@include('frontend.partials.property-card')
@empty
No published properties available.
@endforelse
{{ $properties->links() }}
@endsection