@extends('frontend.layouts.app') @section('styles') @endsection @section('content')
@if($agent->image) {{ $agent->username }} @else {{ $agent->username }} @endif
{{ $agent->name }}
{{ $agent->email }}

{{ $agent->about }}

Property List of {{ $agent->name }}
{{-- AGENT PROPERTIES --}} @foreach($properties as $property)
@if(Storage::disk('public')->exists('property/'.$property->image) && $property->image) @else @endif
@if($property->featured == 1) @endif {{ str_limit($property->title,25) }}
place {{ ucfirst($property->address) . ", " . ucfirst($property->city) . ", " . ucfirst($property->state) . " " . str_limit($property->postcode, 5, '')}}
home {{ $property->bedroom . " bds | " . $property->bathroom . " ba | " . $property->area . " sqft" }}
@if($property->purpose == 'rent') ${{ number_format($property->price) }}/Month @else ${{ number_format($property->price) }} @endif {{ $property->type }} for {{ $property->purpose }}
@endforeach
{{ $properties->links() }}
  • Contact with Agent
  • @csrf
@endsection @section('scripts') @endsection