@props(['project']) {{-- Portfolio card (PRD 3.19 / 6.2) — thumbnail, category badge, title, short description, technology tags, and a Live Preview button when the project has a URL. No GitHub button anywhere, per 3.19 and 1.19. Shared by the homepage Featured Work grid and the /portfolio listing so the two can't drift apart (PRD 3.31). Previously these were two copy-pasted blocks of markup. The card is one to the detail page. The Live Preview link can't be nested inside it (a link inside a link is invalid HTML and breaks keyboard navigation), so it sits as a sibling below the card body. --}}
merge(['class' => 'h-100 d-flex flex-column']) }}>
{{ $project->title }}
@if($project->category) {{ $project->category->name }} @endif

{{ $project->title }}

{{ $project->excerpt(110) }}

@if($project->relationLoaded('technologies') && $project->technologies->isNotEmpty())
@foreach($project->technologies->take(4) as $technology) {{ $technology->name }} @endforeach
@endif View details
{{-- Live Preview is hidden automatically when no URL exists (PRD 6.2). --}} @if($project->live_preview_url) Live preview @endif