@php $singleWidgetData = []; if (!empty($singleWidgetDataShow)) { $singleWidgetData = $singleWidgetDataShow->getTranslation('widget_content'); } $showItem = $singleWidgetData['show_item'] ?? 10; $categories = activeCategoryCountJob('', $showItem); $pageSetting = getThemeOption('page_setting') ?? []; $jobListUrl = $pageSetting['job_list_url'] ?? ''; @endphp
@foreach ($categories as $key => $category)
@if (fileExists($folder = 'categories', $fileName = $category->category_image) == true && $category->category_image !== '') {{ $category->getTranslation('category_name') }} @else {{ $category->getTranslation('category_name') }} @endif
{{ $category->getTranslation('category_name') }}

{{ translate('Available') }}: {{ $category?->jobs->count() ?? 0 }}

@endforeach
{{ $categories->links('front.vendor.pagination.custom') }}