@props(['testimonial', 'variant' => 'default']) @php use Illuminate\Support\Facades\Storage; $cardClasses = match($variant) { 'featured' => 'bg-white rounded-xl shadow-lg hover:shadow-2xl transition-all duration-300 p-8 border border-gray-100 group transform hover:-translate-y-1', 'compact' => 'bg-white rounded-lg shadow-md hover:shadow-lg transition-all duration-300 p-6 border border-gray-50 group', default => 'bg-white rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 p-8 border border-gray-100 group' }; @endphp
@for ($i = 1; $i <= 5; $i++) @endfor
{{ $testimonial->testimonial }}
@if($testimonial->client_photo)
{{ $testimonial->client_name }}
@else
@endif
{{ $testimonial->client_name }}
@if($testimonial->client_position) {{ $testimonial->client_position }} @if($testimonial->client_company) • {{ $testimonial->client_company }} @endif @elseif($testimonial->client_company) {{ $testimonial->client_company }} @endif
@if($testimonial->is_featured)
Featured
@endif
@push('styles') @endpush