@php $hero = $home['hero'] ?? []; $img = function (?string $path) { $path = trim((string) $path); if ($path === '') { return ''; } if (str_starts_with($path, 'http://') || str_starts_with($path, 'https://') || str_starts_with($path, '//')) { return $path; } return asset(ltrim($path, '/')); }; $secondaryUrl = $hero['secondary_cta_url'] ?? route('hire.index'); if ($secondaryUrl && ! str_starts_with($secondaryUrl, 'http') && ! str_starts_with($secondaryUrl, '/')) { $secondaryUrl = '/'.$secondaryUrl; } @endphp

{{ $hero['kicker'] ?? '' }}

{{ $hero['title'] ?? '' }}

{{ $hero['lead'] ?? '' }}

★★★★★ {{ $hero['rating_text'] ?? '' }}

{{ $hero['note'] ?? '' }}