@if ($subtitle = $shortcode->subtitle)
{!! BaseHelper::clean($subtitle) !!}
@endif
@if ($title = $shortcode->title)
{!! BaseHelper::clean($title) !!}
@endif
@if ($description = $shortcode->description)
{!! BaseHelper::clean($description) !!}
@endif
@foreach($packages as $package)
!$package->is_popular, 'col-lg-4 rounded-4' => $package->is_popular])>
! $loop->last && !$package->is_popular,
'border-start-lg-0' => ! $loop->first && !$package->is_popular,
'rounded-start-lg-0' => (! $loop->first || $loop->last) && !$package->is_popular,
'p-6 bg-white' => ! $package->is_popular,
'p-8 bg-linear-2' => $package->is_popular
])>
@if($package->is_popular)
@endif
$package->is_popular])>{{ $package->name }}
@if($packageDescription = $package->description)
$package->is_popular])>{!! BaseHelper::clean($packageDescription) !!}
@endif
!$package->is_popular, 'text-white' => $package->is_popular])>
@php
preg_match('/^(\D*)(\d+)$/', $package->price, $matches);
if (! $matches) {
continue;
}
[$full, $currency, $price] = $matches;
$annualCurrency = $annualPrice = null;
if ($package->annual_price) {
preg_match('/^(\D*)(\d+)$/', $package->annual_price, $matches);
if ($matches) {
[$full, $annualCurrency, $annualPrice] = $matches;
}
}
@endphp
@if($currency || $annualCurrency)
!$package->is_popular, 'text-white fs-2' => $package->is_popular]) data-annual-currency="{{ $annualCurrency }}" data-monthly-currency="{{ $currency }}">{{ $currency }}
@endif
@if (! $package->is_popular)
{{ $price == 0 ? __('Free') : $price }}
@else
{{ $price == 0 ? __('Free') : $price }}
@endif
@if($price != 0)
$package->is_popular, 'text-600 fs-5' => ! $package->is_popular]) data-annual-duration="{{ __('Year') }}" data-monthly-duration="{{ $package->duration->label() }}">
/{{ $package->duration->label() }}
@endif
@if (!$package->is_popular && ($actionLabel = $package->action_label) && ($actionUrl = $package->action_url))
{!! BaseHelper::clean($actionLabel) !!}
@endif
$package->is_popular])>
@foreach($package->feature_list as $feature)
-
@php
$checkIconImage = $package->is_popular ? 'images/icons/check-white.png' : 'images/icons/check-primary.png';
@endphp
$package->is_popular])>{{ $feature['value'] }}
@endforeach
@if ($package->is_popular && ($actionLabel = $package->action_label) && ($actionUrl = $package->action_url))
{!! BaseHelper::clean($actionLabel) !!}
@endif
@if($package->is_popular)
@endif
@endforeach