@extends('layouts.modern') {{-- Custom JS --}} @section('custom-css') {{-- AdSense status --}} @if ($setting->adsense_code != "DISABLE") {{-- AdSense code --}} @endif @endsection @php use App\Models\Page; $page = Page::where('slug', 'home')->where('status', 1)->get(); $planPage = Page::where('slug', 'pricing')->where('status', 1)->get(); // Byte conversion function formatBytes($size, $precision = 2) { $base = log($size, 1024); $suffixes = array('', 'kB', 'MB', 'GB', 'TB'); return round(pow(1024, $base - floor($base)), $precision) .''. $suffixes[floor($base)]; } @endphp @section('content') {{-- Topbar --}} @include('website.modern.includes.topbar') {{-- Features --}}
{{ __('Features')}}

{{ __($page[20]->body) }}

{{ __($page[19]->body) }}

{{ __($page[21]->body) }}

{{ __($page[22]->body) }}

{{ __($page[23]->body) }}

{{ __($page[24]->body) }}

{{ __($page[25]->body) }}

{{ __($page[26]->body) }}

{{ __($page[27]->body) }}

{{ __($page[28]->body) }}

{{ __($page[29]->body) }}

{{ __($page[30]->body) }}

{{ __($page[31]->body) }}

{{ __($page[32]->body) }}

{{-- Plans --}}
{{ __('Pricing')}}

{{ __($planPage[1]->body) }}

{{ __($planPage[2]->body) }}

{{-- all plans --}} @foreach ($plans as $plan)
@if ($plan->recommended == 1) {{ __('Popular') }} @endif
{{ __($plan->name) }}
{{-- Price --}} @if ($plan->price == 0) {{ __('Free') }} @else {{ currency($plan->price) }} @endif / @if ($plan->price != 0 && $plan->validity == 9999) {{ __('Forever') }} @endif @if ($plan->validity == 31) {{ __('Per Month') }} @endif @if ($plan->validity == 366) {{ __('Per Year') }} @endif @if ($plan->validity > 1 && $plan->validity != 31 && $plan->validity != 366 && $plan->validity != 9999) {{ 'Per'.' '.$plan->validity.' '.__('Days') }} @endif
{{ __($plan->description) }}
{{-- Formats --}}
{{ $plan->formats == 9999 ? __('Unlimited') : $plan->formats }} {{ __('Formats') }}
{{-- Optimize Images --}}
{{ $plan->maximum == 9999 ? __('Unlimited') : $plan->maximum }} {{ __('Optimize Images') }}
{{-- Upload Limit --}}
{{ formatBytes($plan->size) }} {{ __('Upload Limit') }}
{{-- Storage --}}
{{ formatBytes($plan->storage) }} {{ __('Storage') }}
{{-- APIs Request --}}
{{ $plan->limit != 0 ? $plan->limit : 0 }} {{ __('APIs Request') }}
{{-- Cloud Storage (S3) --}}
@if ($plan->s3 == 1) @else @endif

{{ __('Cloud Storage (S3)') }}

{{-- Daily Usage Statistics --}}
@if ($plan->statistics == 1) @else @endif

{{ __('Daily Usage Statistics') }}

{{-- Media Library --}}
@if ($plan->media_library == 1) @else @endif

{{ __('Media Library') }}

{{-- Conversation APIs --}}
@if ($plan->api == 1) @else @endif

{{ __('Conversation APIs') }}

{{-- Additional Tools --}}
@if ($plan->additional_tools == 1) @else @endif

{{ __('Additional Tools') }}

{{-- Support --}}
@if ($plan->support == 1) @else @endif

{{ __('Support') }}

{{-- Register --}} @if ($plan->recommended == 1)
{{ __('Get Started') }}
@else
{{ __('Get Started') }}
@endif
@endforeach
{{-- Footer --}} @include('website.modern.includes.footer') {{-- Custom JS --}} @section('custom-js') @endsection @endsection