{{-- AI Website Maker "How It Works" Section Expects $content to contain: - section_title: string (Optional, defaults to "How It Works") - section_subtitle: string (Optional) - steps: array of objects, each with: - icon: string (e.g., SVG path or class for an icon font) - title: string - description: string --}} @php $sectionTitle = $content['section_title'] ?? 'How It Works'; $sectionSubtitle = $content['section_subtitle'] ?? 'Create your dream website in three simple steps.'; $defaultSteps = [ [ 'icon' => '', 'title' => '1. Describe Your Vision', 'description' => 'Tell our AI about your business, preferred style, and key features. The more details, the better!', ], [ 'icon' => '', 'title' => '2. AI Crafts Your Site', 'description' => 'Our intelligent algorithms generate a unique, professional website tailored to your needs in seconds.', ], [ 'icon' => '', 'title' => '3. Customize & Launch', 'description' => 'Fine-tune the design, content, and then download your site or deploy it directly to your cPanel.', ], ]; $steps = $content['steps'] ?? $defaultSteps; @endphp

{{ $sectionTitle }}

@if(!empty($sectionSubtitle))

{{ $sectionSubtitle }}

@endif
@if(is_array($steps) && count($steps) > 0) @foreach($steps as $index => $step)
{!! $step['icon'] ?? '' !!}

{{ $step['title'] ?? 'Step ' . ($index + 1) }}

{{ $step['description'] ?? 'Detailed description for this step.' }}

@endforeach @else

Steps will be displayed here once configured.

@endif