@props([ 'job', ]) @php $category = filled($job->category) ? \Illuminate\Support\Str::headline(str_replace(['-', '_'], ' ', (string) $job->category)) : 'Remote role'; $source = $job->source?->name ?: $job->attribution(); $skills = collect($job->skills ?? [])->filter()->take(5); $tags = collect($job->tags ?? [])->filter()->take(4); $visibleTags = $tags->isNotEmpty() ? $tags : $skills->take(4); $location = collect([ filled($job->location_type) ? \Illuminate\Support\Str::headline(str_replace(['-', '_'], ' ', (string) $job->location_type)) : 'Remote', filled($job->country_code) ? \Illuminate\Support\Str::upper((string) $job->country_code) : null, filled($job->timezone) ? (string) $job->timezone : null, ])->filter()->implode(' / '); $posted = $job->posted_at?->diffForHumans() ?? 'Recently posted'; $salary = $job->salaryLabel() ?: 'Salary not listed'; @endphp
merge(['class' => 'group relative flex h-full cursor-default overflow-hidden rounded-[1.65rem] border border-slate-200/80 bg-white p-1 shadow-sm shadow-slate-900/[0.04] transition duration-300 hover:-translate-y-1 hover:border-teal-200 hover:shadow-2xl hover:shadow-teal-950/[0.08]']) }} aria-label="Locked public job preview">
{{ $category }} Preview only

{{ $job->title }}

@if (filled($job->company))

{{ $job->company }}

@endif
{{ $location ?: 'Remote' }}
{{ $salary }}
@if ($visibleTags->isNotEmpty())
@foreach ($visibleTags as $tag) {{ $tag }} @endforeach
@endif
@if (filled($source)) {{ $source }} @endif {{ $posted }}
Apply link locked. Unlock matched jobs after questionnaire.