{{-- AI Website Maker "Features Showcase" Section Expects $content to contain: - section_title: string (Optional, defaults to "Powerful Features") - section_subtitle: string (Optional) - features: array of objects, each with: - icon: string (SVG code or icon class) - title: string - description: string - link: string (Optional URL for a "learn more" link) --}} @php $sectionTitle = $content['section_title'] ?? 'Powerful Features, Effortless Creation'; $sectionSubtitle = $content['section_subtitle'] ?? 'Discover what makes our AI Website Maker the perfect tool for your online presence.'; $defaultFeatures = [ [ 'icon' => '', 'title' => 'AI-Powered Design', 'description' => 'Intelligent algorithms create stunning, unique designs tailored to your industry and preferences.', 'link' => '#' ], [ 'icon' => '', 'title' => 'Instant Content Generation', 'description' => 'Need copy? Our AI can write engaging text for your pages, saving you time and effort.', 'link' => '#' ], [ 'icon' => '', 'title' => 'Fully Responsive', 'description' => 'Websites look perfect on any device – desktop, tablet, or mobile – automatically.', 'link' => '#' ], ]; $features = $content['features'] ?? $defaultFeatures; @endphp

{{ $sectionTitle }}

@if(!empty($sectionSubtitle))

{{ $sectionSubtitle }}

@endif
@if(is_array($features) && count($features) > 0) @foreach($features as $feature)
{!! $feature['icon'] ?? '' !!}

{{ $feature['title'] ?? 'Feature Title' }}

{{ $feature['description'] ?? 'Feature description goes here.' }}

@if(!empty($feature['link']) && $feature['link'] !== '#') @endif
@endforeach @else

Features will be displayed here once configured.

@endif