@extends($site->themeView('layout')) @section('content') @if ($site->niche && app()->getLocale() === $site->locale){{ $site->niche }}@endif {{ $site->localized('home_heading') ?: $site->name }} @if ($site->localized('tagline')){{ $site->localized('tagline') }}@endif @if ($latestPosts->isNotEmpty()){{ __('site.read_articles') }} @endif @if ($site->hasModule('search')) {{ __('site.search_button') }}@endif @if ($latestPosts->isNotEmpty()) {{ __('site.featured') }}{{ __('site.latest_articles') }} {{ __('site.all_articles_link') }} @foreach ($latestPosts as $post) @include($site->themeView('partials.post-card'), ['featured' => $loop->first && $latestPosts->count() > 3]) @endforeach @endif @if ($tools->isNotEmpty() || $games->isNotEmpty()) {{ $tools->isNotEmpty() ? __('site.our_tools') : __('site.our_games') }} @foreach ($tools->concat($games) as $tool) @include($site->themeView('partials.tool-card')) @endforeach @endif @if ($categories->where('posts_count', '>', 0)->isNotEmpty()) {{ __('site.explore_topics') }} @foreach ($categories->where('posts_count', '>', 0) as $category) {{ $category->name }} {{ $category->posts_count }} @endforeach @endif @if ($tools->isEmpty() && $games->isEmpty() && $latestPosts->isEmpty()) {{ __('site.coming_soon') }} @endif @endsection
{{ $site->niche }}
{{ $site->localized('tagline') }}
{{ __('site.featured') }}