{{-- Genuine, named, source-attributed recommendation (PRD §17). Never marked up as a Review. --}} @props(['recommendation', 'excerptOnly' => false]) @php $photo = $recommendation->getFirstMedia(\App\Domain\Media\MediaCollection::Photo->value); $text = $excerptOnly && $recommendation->excerpt ? $recommendation->excerpt : $recommendation->quote; @endphp
class('flex h-full flex-col gap-5 rounded-[var(--radius-card)] border border-transparent bg-card shadow-[var(--shadow-card)] p-6 md:p-8') }}>

“{{ $text }}”

@if ($photo) @endif

{{ $recommendation->recommender_name }}

{{ collect([$recommendation->recommender_title, $recommendation->recommender_organisation])->filter()->implode(', ') }}

{{ $recommendation->relationshipLabel() }} @if ($recommendation->source_platform) · @if ($recommendation->source_url) {{ __('portfolio.ui.via', ['source' => $recommendation->source_platform->getLabel()]) }} @else {{ __('portfolio.ui.via', ['source' => $recommendation->source_platform->getLabel()]) }} @endif @endif