@extends('layouts.site') @section('title', $job->t('title')) @section('content') @php $en = app()->getLocale() === 'en'; $submitted = session('success'); @endphp
← {{ $en ? 'All Positions' : 'كل الوظائف' }}

{{ $job->t('title') }}

{{ $job->department }} · {{ $job->t('location') }} · {{ $job->work_type }}

{{ $job->t('summary') }}

{{ $en ? 'Responsibilities' : 'المسؤوليات' }}

    @foreach($job->responsibilities ?? [] as $r)
  • {{ is_array($r)?($r[app()->getLocale()]??$r['ar']??reset($r)):$r }}
  • @endforeach

{{ $en ? 'Qualifications' : 'المتطلبات' }}

    @foreach($job->qualifications ?? [] as $q)
  • {{ is_array($q)?($q[app()->getLocale()]??$q['ar']??reset($q)):$q }}
  • @endforeach

{{ $en ? 'Apply Now' : 'قدّم الآن' }}

@if($submitted)
{{ $en ? 'Application received.' : 'تم استلام طلبك.' }}

{{ $submitted }}

{{ $en ? 'We will contact you if your profile matches.' : 'سنتواصل معك إذا كان ملفك مناسبًا.' }}

@else @if($errors->any()) @endif
@csrf
@endif
@endsection @push('scripts') @endpush