<?php

namespace App\Http\Controllers;

use App\Models\Agent;
use App\Models\Property;

class AboutController extends Controller
{
    public function index()
    {
        $agents = Agent::where('featured', true)->get();
        $stats = [
            'total_properties' => Property::count() + 150,
            'satisfied_buyers' => 340,
            'land_acres_sold' => '2,500+',
            'corporate_partners' => 45,
        ];

        return view('pages.about', compact('agents', 'stats'));
    }
}
