{{-- AI Website Maker "Pricing Plans" Section Expects $content to contain: - section_title: string (Optional, defaults to "Flexible Pricing for Every Need") - section_subtitle: string (Optional) - plans: array of objects, each with: - name: string - price: string (e.g., "$29", "Free") - frequency: string (e.g., "/month", "/year", "one-time") - features: array of strings - cta_text: string (e.g., "Get Started", "Choose Plan") - cta_link: string (URL) - highlighted: boolean (Optional, to make a plan stand out) - highlight_text: string (Optional, e.g., "Most Popular", defaults to "Popular") --}} @php $sectionTitle = $content['section_title'] ?? 'Flexible Pricing for Every Need'; $sectionSubtitle = $content['section_subtitle'] ?? 'Choose the perfect plan to launch and grow your online presence with AI.'; $plans = $content['plans'] ?? [ // Default placeholder plans if none are configured [ 'name' => 'Starter', 'price' => '$19', 'frequency' => '/month', 'features' => ['1 AI Website', 'Basic AI Features', 'Community Support', '10GB Storage'], 'cta_text' => 'Choose Starter', 'cta_link' => '#', 'highlighted' => false, ], [ 'name' => 'Pro', 'price' => '$49', 'frequency' => '/month', 'features' => ['5 AI Websites', 'Advanced AI Features', 'Priority Support', '50GB Storage', 'Custom Domain'], 'cta_text' => 'Choose Pro', 'cta_link' => '#', 'highlighted' => true, 'highlight_text' => 'Most Popular' ], [ 'name' => 'Business', 'price' => '$99', 'frequency' => '/month', 'features' => ['Unlimited AI Websites', 'All AI Features', 'Dedicated Support', '200GB Storage', 'E-commerce Ready'], 'cta_text' => 'Choose Business', 'cta_link' => '#', 'highlighted' => false, ], ]; @endphp

{{ $sectionTitle }}

@if(!empty($sectionSubtitle))

{{ $sectionSubtitle }}

@endif
@if(is_array($plans) && count($plans) > 0) @foreach($plans as $plan)
@if($plan['highlighted'] ?? false)
{{ $plan['highlight_text'] ?? 'Popular' }}
@endif

{{ $plan['name'] ?? 'Plan Name' }}

{{ $plan['price'] ?? '$0' }} {{ $plan['frequency'] ?? '/month' }}
    @foreach($plan['features'] ?? [] as $featureText)
  • {{ $featureText }}
  • @endforeach
{{ $plan['cta_text'] ?? 'Choose Plan' }}
@endforeach @else

Pricing plans will be displayed here once configured.

@endif