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

{{$page->show('top:title')}}

{{$page->show('top:text')}}

@if (session('error'))

{{session('error')}}

@endif
@foreach ($plansByIntervals as $interval => $plans) @endforeach
@foreach ($plansByIntervals as $interval => $plans)
@foreach ($plans as $plan)

{{$plan->title}}

{{$plan->price==0? 'Free' : $plan->price_readable}}
{!!$plan->description!!}
    @foreach ($plan->features??[] as $feature)
  • {{$feature}}
  • @endforeach
@csrf @if ($activeSub && $activeSub->subscription_plan_id == $plan->id) {{-- is active plan --}} @else {{$page->show('content:subscribe')}} @endif
@endforeach
@endforeach
@endsection