@switch($shortcode->style) @case('style-2')
{!! BaseHelper::clean($shortcode->title) !!}
{!! BaseHelper::clean($shortcode->subtitle) !!}
@if (count($categories))
@foreach($categories->loadMissing('metadata') as $category)
$loop->first, 'category-item']) id="nav-tab-job-{{ $category->id }}" href="#tab-job-{{ $category->id }}" data-url="{{ route('public.ajax.jobs-by-category', $category->id) }}?limit={{ (int)$shortcode->limit ?: 8 }}" data-style="{{ $shortcode->style }}" > @if($iconImage = $category->getMetaData('icon_image', true))
@elseif($icon = $category->getMetaData('icon', true))
@endif {{ $category->name }}
@endforeach
@endif
@if (count($categories))
@include(Theme::getThemeNamespace('views.job-board.partials.job-of-the-day-items'), [ 'jobs' => $jobs, 'style' => $shortcode->style ])
@endif
@break @case('style-3')
{!! BaseHelper::clean($shortcode->title) !!}
{!! BaseHelper::clean($shortcode->subtitle) !!}
@if (count($categories))
@foreach($categories as $category)
$loop->first, 'category-item']) id="nav-tab-job-{{ $category->id }}" href="#tab-job-{{ $category->id }}" data-style="{{ $shortcode->style }}" data-url="{{ $category->url }}" >
{{ $category->name }}
@endforeach
@endif
@if (count($categories))
@include(Theme::getThemeNamespace('views.job-board.partials.job-of-the-day-items'), [ 'jobs' => $jobs, 'style' => $shortcode->style ])
@endif
@break @default
{!! BaseHelper::clean($shortcode->title) !!}
{!! BaseHelper::clean($shortcode->subtitle) !!}
@if (count($categories))
@foreach($categories->loadMissing('metadata') as $category)
$loop->first, 'category-item']) id="nav-tab-job-{{ $category->id }}" href="#tab-job-{{ $category->id }}" data-url="{{ route('public.ajax.jobs-by-category', $category->id) }}?limit={{ (int)$shortcode->limit ?: 8 }}" data-style="{{ $shortcode->style }}" > @if($iconImage = $category->getMetaData('icon_image', true))
@elseif($icon = $category->getMetaData('icon', true))
@endif {{ $category->name }}
@endforeach
@endif
@if (count($categories))
@include(Theme::getThemeNamespace('views.job-board.partials.job-of-the-day-items'), [ 'jobs' => $jobs, 'style' => $shortcode->style, ])
@endif
@break @endswitch