@extends('layout.main') @section('hero-content') @if(isset($HERO_IS_AD) && $HERO_IS_AD === 1) {!! $HERO_AD_SCRIPT !!} @else @include('layout.hero') @endif @endsection @section('main-container')
@if ($categoryTools) @foreach ($categoryTools as $category) @if ($category->NavItem->isNotEmpty())

{{ __t($category->name) }}

{{ __t($category->description) }}

@foreach ($category->NavItem as $key => $item)

{{ __t($item->card_heading) ?: __t($item->name) }}

{{ Illuminate\Support\Str::limit(__t($item->card_content) ?: __t($item->meta_description), 50, '...') }}

{{ __t($item->card_heading) ?: __t($item->name) }}
@endforeach
@endif @endforeach @endif
@endsection @section('script') @endsection