@foreach($plans as $plan)
{{ $plan->name }}
@if(!$plan->isDefault())
{{ formatMoney($plan->amount_month, $plan->currency) }} {{ $plan->currency }}
{{ __('Month') }}
{{ formatMoney($plan->amount_year, $plan->currency) }} {{ $plan->currency }}
{{ __('Year') }} @if(($plan->amount_month * 12) > $plan->amount_year) {{ __(':value% off', ['value' => number_format(((($plan->amount_month*12) - $plan->amount_year)/($plan->amount_month * 12) * 100), 0)]) }} @endif
@else
{{ __('Free') }}
{{ __('Free') }}
{{ __('Month') }}
{{ __('Year') }}
@endif
@if($plan->features->links != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->spaces != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->spaces < 0) {{ __('Unlimited spaces') }} @else($plan->features->spaces) {{ __(($plan->features->spaces == 1 ? ':number space' : ':number spaces'), ['number' => number_format($plan->features->spaces, 0, __('.'), __(','))]) }} @endif
@if($plan->features->domains != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->domains < 0) {{ __('Unlimited domains') }} @else($plan->features->domains) {{ __(($plan->features->domains == 1 ? ':number domain' : ':number domains'), ['number' => number_format($plan->features->domains, 0, __('.'), __(','))]) }} @endif
@if($plan->features->pixels != 0) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->pixels < 0) {{ __('Unlimited pixels') }} @else($plan->features->pixels) {{ __(($plan->features->pixels == 1 ? ':number pixel' : ':number pixels'), ['number' => number_format($plan->features->pixels, 0, __('.'), __(','))]) }} @endif
@if(count($domains))
@if($plan->features->global_domains) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
{{ __('Additional domains') }}
@include('icons.info', ['class' => 'text-muted width-4 height-4 fill-current'])
@endif
@if($plan->features->link_stats) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->link_targeting) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->link_password) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->link_expiration) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->link_disabling) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->link_deep) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->link_utm) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
@if($plan->features->data_export) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
{{ __('Data export') }}
@if($plan->features->api) @include('icons.checkmark', ['class' => 'flex-shrink-0 text-success fill-current width-4 height-4']) @else @include('icons.close', ['class' => 'flex-shrink-0 text-muted fill-current width-4 height-4']) @endif
{{ __('API') }}
@endforeach