{{-- Hero Icons Helper Function --}} @php function renderHeroIcon($iconName, $style = 'outline') { $iconPath = public_path("heroicons/optimized/24/{$style}/{$iconName}.svg"); $fallbackPath = public_path("heroicons/optimized/24/outline/sparkles.svg"); if (file_exists($iconPath)) { $svg = file_get_contents($iconPath); // Add classes for styling return str_replace(' '; } @endphp {!! $content['title'] !!} {!! $content['subtitle'] !!} @foreach($content['values'] as $index => $value) @if(isset($value['icon'])) @svg('heroicon-o-'.$value['icon'], 'w-10 h-10 text-secondary-foreground') @endif @if (isset($value['logo'])) @endif @if(isset($value['title'])) {{ $value['title'] }} @endif @if(isset($value['description'])) {{ $value['description'] }} @endif @endforeach
{!! $content['subtitle'] !!}
{{ $value['description'] }}