<?php

namespace App\Components\Client\Witness;

use App\Models\Client\Client;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Livewire\Component;

/**
 * The design-exercise comparison: a structured write-up of each concept
 * (workflow, strengths, weaknesses, best use, risks) and the recommendation.
 */
class WitnessDesignCompare extends Component
{
    use AuthorizesRequests;

    public Client $client;

    public function mount(Client $client): void
    {
        $this->authorize('clients.witness.view');
        $this->client = $client;
    }

    public function render()
    {
        return view('components.client.witness.design.compare')
            ->layout('layouts.dashboard');
    }
}
