@extends('landingpage::themes.job_board.layouts.master') @php // $jobs is paginated collection from PublicPageController // $pageTitle is also from PublicPageController // $metaDescription is also from PublicPageController // $activeTheme is available // Construct a $page object for compatibility with header/menu partials if they expect it // This is a simplified version for listing pages. $page = (object) [ 'title' => $pageTitle ?? 'Job Listings', 'meta_title' => $pageTitle ?? 'Job Listings - ' . setting('site_name'), 'meta_description' => $metaDescription ?? 'Find the latest job opportunities.', 'meta_keywords' => 'jobs, careers, employment, job listings', 'slug' => 'jobs' // Or fetch from a dedicated LpPage if you have one for /jobs ]; @endphp @section('theme_content')

{{ $page->title }}

@if($page->meta_description)

{{ $page->meta_description }}

@endif
{{-- Search/Filter Bar for Jobs --}}
@if($jobs->isNotEmpty())
@foreach($jobs as $job)

{{ $job->title }}

@if($job->company)

{{ $job->company->name }}

@endif

{{ $job->location ?: 'Not specified' }}

{{ $job->job_type ? Str::title($job->job_type) : 'Not specified' }}

View Details
@endforeach
{{ $jobs->links('landingpage::themes.job_board.partials.pagination') }} {{-- Custom pagination view --}}
@else

No job listings found at the moment. Please check back later.

@endif
@endsection