@if(!empty($contents['main_content']))
@if(!empty($contents['main_content']['title']))
{{ $contents['main_content']['title'] }}
@endif
@if(!empty($contents['main_content']['subtitle']))
{!! nl2br($contents['main_content']['subtitle']) !!}
@endif
@if(!empty($contents['main_content']['icon']))
@endif
@endif
@include('design_1.web.courses.components.cards.grids.index',['courses' => $hasDiscountWebinars, 'gridCardClassName' => "col-12 col-md-6 col-lg-3 mt-24"])
@if(!empty($contents['cta_section']))
@php
$discountedCourseHasCtaContents = true;
if (
(empty($contents['cta_section']['button']) or empty($contents['cta_section']['button']['label'])) and
empty($contents['cta_section']['icon']) and
empty($contents['cta_section']['title_bold_text']) and
empty($contents['cta_section']['title_regular_text'])
) {
$discountedCourseHasCtaContents = false;
}
@endphp
@if($discountedCourseHasCtaContents)
@if(!empty($contents['cta_section']['button']) and !empty($contents['cta_section']['button']['label']))
@if(!empty($contents['cta_section']['button']['icon']))
@svg("iconsax-{$contents['cta_section']['button']['icon']}", ['width' => '24px', 'height' => '24px', 'class' => "icons"])
@endif
{{ $contents['cta_section']['button']['label'] }}
@endif
@if(!empty($contents['cta_section']['icon']))
@svg("iconsax-{$contents['cta_section']['icon']}", ['width' => '24px', 'height' => '24px', 'class' => "icons"])
@endif
@if(!empty($contents['cta_section']['title_bold_text']))
{{ $contents['cta_section']['title_bold_text'] }}
@endif
@if(!empty($contents['cta_section']['title_regular_text']))
{{ $contents['cta_section']['title_regular_text'] }}
@endif