@extends('layouts.app') @section('content')

{{ __('Membership') }}

@if(auth()->user()->subscription->identifier === 'free')
{{ __('You have a free account. Choose one of the plan and enjoy the website experiences.') }}
@endif
@foreach($packages as $package)
{{ $package->name }}
@if ($hasDiscount) {{ $price }} .{{ $priceDecimals }} {{ $discountPrice }}.{{ $discountPriceDecimals }} @else {{ $price }}.{{ $priceDecimals }} @endif / {{ $package->month_duration === 1 ? __('month') : $package->month_duration . ' ' . __('months')}}
{{ __('Chat') }}
{{ __('Audio chat') }}
{{ __('Video chat') }}
{{ __('Send messages to users') }}
{{ __('Show visitors') }}
{{ __('Send and view likes') }}
{!! $package->profile_picture_limit === null ? '' : $package->profile_picture_limit !!}{{ __('Maximum no. of photos') }}
@if ($package->free_months) {{ $package->free_months }}{{ __('Free') }} {{ $package->free_months === 1 ? __('month') : __('months') }} @else   @endif
@if ($package->free_months) {{ __('Nude photos allowed!') }} @else   @endif

{{ $hasDiscount ? $discountMonthlyPrice : $monthlyPrice }} / {{ __('month') }}

@endforeach
@endsection