{{-- SEO Meta Tags (if not handled by layout) --}} @pushOnce('meta') {{ $page->getSeoTitle() }} @if($page->meta_keywords) @endif {{-- Open Graph --}} {{-- Twitter Card --}} @endPushOnce {{-- Page Content --}}
@forelse($components as $component) @if($component->is_active)
settings['css_classes'] ?? false) class="{{ $component->settings['css_classes'] }}" @endif> {{-- Render the actual Livewire component --}} @livewire($component->component_type, [ 'content' => $component->content, 'settings' => $component->settings, 'componentId' => $component->id ], key('component-'.$component->id))
@endif @empty {{-- Empty state for pages with no components --}}

{{ $page->title }}

@if($page->content)
{!! $page->content !!}
@else

This page doesn't have any content components yet.

@endif
@endforelse
{{-- JSON-LD Structured Data --}} @pushOnce('structured-data') @endPushOnce