@props(['testimonial' => null])
@error('client_name')
{{ $message }}
@enderror
{{-- Null-safe: this component also renders on the "create" screen, where $testimonial is null. `$testimonial->photoUrl() ?? null` does not help there — ?? only catches a null *result*, not a method call on null. --}} @if($testimonial?->photoUrl())
@endif
{{-- --- Brand Logo (shown alongside the review in the testimonial carousel) --- --}}
@if($testimonial?->companyLogoUrl()) @else @endif
@if($testimonial?->companyLogoUrl())
@endif
Displayed next to this review in the testimonial carousel.
{{-- Choose Logo modal: pick from the Media Library, or upload a new image --}}
@error('review')
{{ $message }}
@enderror
is_featured ?? false))>
is_visible ?? true))>