@extends('layouts.generic') {{-- SEO, Schema & Share --}} @section('page_description', getSetting('site.description')) @section('share_url', route('home')) @section('share_title', getSetting('site.name') . ' - ' . getSetting('site.slogan')) @section('share_description', getSetting('site.description')) @section('share_type', 'article') @section('share_img', GenericHelper::getOGMetaImage()) @section('meta') {!! SEOSchemaHelper::homepage() !!} @stop @section('styles') {!! Minify::stylesheet([ '/css/pages/home.css', ])->withFullUrl() !!} @stop @section('content') @if(getSetting('site.show_featured_clients_area') && count(GenericHelper::getAvailableFeaturedClients())) @include('elements.featured-customers',[ 'classes' => getSetting('site.newsletter_homepage_position') !== 'top' ? 'mt-5 mb-1' : 'my-5' ]) @endif
@if(getSetting('site.newsletter_homepage_position') === 'top') @include('elements.subscribe-box', ['classes' => getSetting('site.show_featured_clients_area') && count(GenericHelper::getAvailableFeaturedClients()) ? 'mt-md-0 mb-5' : 'my-5']) @endif {{-- Pinned jobs --}} @if(count($pinnedJobListings)) @include('elements.listings.featured-category-box', ['listings' => $pinnedJobListings, 'category' => (object)['name' => __('Featured Jobs'), 'id' => null], 'categoryName' => __('Featured Jobs')]) @endif {{-- Featured categories --}} @if(count($featuredCategoriesListings)) @foreach($featuredCategoriesListings as $categoryListings) @include('elements.listings.featured-category-box', [ 'listings' => $categoryListings['listings'], 'category' => isset($categoryListings['category']->category) ? $categoryListings['category']->category : $categoryListings['category'], 'categoryName' => isset($categoryListings['category']->category->name) ? $categoryListings['category']->category->name : $categoryListings['category']->name ]) @endforeach @endif @if(count($featuredCategoriesListings) === 0 && count($pinnedJobListings) === 0)
{{__("No content available")}}

{{__("Looks like there are no jobs posted or featured categories yet. Be the first one to post a job, over the job create page, at")}} {{__("this link")}}.

@endif @if(getSetting('site.newsletter_homepage_position') === 'bottom') @include('elements.subscribe-box', ['classes' => count($featuredCategoriesListings) ? 'mb-5' : 'mb-5 mt-5']) @endif @if(getSetting('site.show_popular_tags_box')) @include('elements.tags-box', ['tags' => GenericHelper::getPopularTags(23)]) @endif
@stop