@slot('title')
{{ __('experience.title') }}
@endslot
@if($isLoading)
@include('skeletons.experiences')
@else
@if(!$experiences->isEmpty())
{{ __('experience.experience_details') }}
{{ __('experience.experience_message') }}
@php
$types = [
'' => __('general.select_type'),
'full_time' => __('experience.full_time'),
'part_time' => __('experience.part_time'),
'self_employed' => __('experience.self_employed'),
'contract' => __('experience.contract'),
]
@endphp
@foreach($experiences as $experience)
-
{{ $experience->company }}
@if (!empty($types[$experience->employment_type]))
-
{{ $types[$experience->employment_type] }}
@endif
-
{{ ucfirst($experience->location) }}
@if($experience->location == 'onsite')
-
{{ ucfirst($experience->city) }}, {{ ucfirst($experience?->country?->name) }}
@endif
-
{{ date('F Y', strtotime($experience->start_date)) }} - {{ $experience->is_current ?
__('general.current') : date('F Y', strtotime($experience->end_date)) }}
@endforeach
@else
@endif
@endif
@push('styles')
@vite([
'public/css/flatpicker.css',
'public/summernote/summernote-lite.min.css',
'public/css/flatpicker-month-year-plugin.css'
])
@endpush
@push('scripts')
@endpush