{{-- General Information --}}
{{ trans('update.general_information') }}
@include('design_1.panel.includes.locale.locale_select',[
'itemRow' => !empty($landingComponent) ? $landingComponent : null,
'withoutReloadLocale' => false,
'extraClass' => ''
])
{{-- Main Content --}}
{{ trans('update.main_content') }}
{{-- Information Cards --}}
@if(!empty($contents) and !empty($contents['trending_categories']) and count($contents['trending_categories']))
@foreach($contents['trending_categories'] as $sKey => $itemData)
@if($sKey != 'record')
@php
$selectedTrendingCategoryId = (!empty($itemData) and !empty($itemData['category'])) ? $itemData['category'] : null;
$selectedTrendingCategory = (!empty($selectedTrendingCategoryId) and !empty($trendingCategories) and count($trendingCategories)) ? $trendingCategories->where('id', $selectedTrendingCategoryId)->first() : null;
@endphp
@include('landingBuilder.admin.components.manage.trending_categories.trending_category', ['itemKey' => $sKey, 'selectedTrendingCategoryItem' => $selectedTrendingCategory])
@endif
@endforeach
@endif