migrate to gtea from bistbucket
This commit is contained in:
81
resources/views/web/components/plan.blade.php
Normal file
81
resources/views/web/components/plan.blade.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<section class="pricing-plan-section plans-list">
|
||||
<div class="container">
|
||||
<div class="section-title text-center">
|
||||
<h2>{{ $page_data['headings']['pricing_title'] ?? '' }}</h2>
|
||||
<p class="section-description">
|
||||
{{ $page_data['headings']['pricing_description'] ?? '' }}
|
||||
</p>
|
||||
<div class="d-flex align-items-center justify-content-center gap-4">
|
||||
<div class="w-100 d-flex flex-column align-items-center">
|
||||
|
||||
<div class="tab-content w-100">
|
||||
<div class="tab-pane fade show active" id="nav-monthly" role="tabpanel"
|
||||
aria-labelledby="nav-monthly-tab">
|
||||
<div class="row">
|
||||
@foreach ($plans as $plan)
|
||||
<div class="col-12 col-md-6 col-lg-4 mt-3">
|
||||
<div class="card">
|
||||
<div class="card-header py-3 border-0 font-size-update">
|
||||
<p>{{ $plan['subscriptionName'] ?? '' }}</p>
|
||||
<h4>
|
||||
@if (($plan['offerPrice'] && $plan['subscriptionPrice'] !== null) || $plan['offerPrice'] || $plan['subscriptionPrice'])
|
||||
@if ($plan['offerPrice'])
|
||||
{{ currency_format($plan['offerPrice']) }}
|
||||
@else
|
||||
{{ currency_format($plan['subscriptionPrice']) }}
|
||||
@endif
|
||||
@else
|
||||
@if ($plan['offerPrice'] || $plan['subscriptionPrice'])
|
||||
{{ currency_format($plan['offerPrice'] ?? $plan['subscriptionPrice']) }}
|
||||
@else
|
||||
{{ __('Free') }}
|
||||
@endif
|
||||
@endif
|
||||
<span class="price-span">/{{ $plan['duration'] . ' ' . __('Days') }}</span>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="card-body text-start">
|
||||
<p>{{ __('Features Of Free Plan') }} 👇</p>
|
||||
|
||||
<ul>
|
||||
@foreach ($plan['features'] ?? [] as $key => $item)
|
||||
<li>
|
||||
<i class="fas {{ isset($item[1]) ? 'fa-check-circle text-success' : 'fa-times-circle text-danger' }} me-1"></i>
|
||||
{{ $item[0] ?? '' }}
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
@if (moduleCheck('MultiBranchAddon'))
|
||||
<li><i class="fas {{ $plan->allow_multibranch == 1 ? 'fa-check-circle text-success' : 'fa-times-circle text-danger' }} me-1"></i>
|
||||
{{ __('Multi-branch Allowed') }}
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (moduleCheck('CustomDomainAddon'))
|
||||
<li><i class="fas {{ $plan->addon_domain_limit > 0 ? 'fa-check-circle text-success' : 'fa-times-circle text-danger' }} me-1"></i>
|
||||
{{ $plan->addon_domain_limit > 0 ? __('Addon Limit:') . ' ' . $plan->addon_domain_limit : __('Addon Domain Available?') }}
|
||||
</li>
|
||||
|
||||
<li><i class="fas {{ $plan->subdomain_limit > 0 ? 'fa-check-circle text-success' : 'fa-times-circle text-danger' }} me-1"></i>
|
||||
{{ $plan->subdomain_limit > 0 ? __('Subdomain Limit:') . ' ' . $plan->subdomain_limit : __('Subdomain Available?') }}
|
||||
</li>
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
|
||||
<a class="btn subscribe-plan d-block mt-4 mb-2" data-plan-id="{{ $plan->id }}" data-google-url="{{ url('login/google?plan_id=') . $plan->id }}" data-twitter-url="{{ url('login/twitter?plan_id=') . $plan->id }}">{{ __('Buy Now') }}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<input type="hidden" value="{{ route('get-business-categories') }}" id="get-business-categories">
|
||||
Reference in New Issue
Block a user