@forelse ($sections as $section)
@php
$activeTheme = \App\Services\ThemeManager::getActiveTheme();
$themePath = "theme::sections." . $section->type;
$defaultPath = 'pages.storefront.sections.' . $section->type;
@endphp
@if($activeTheme && view()->exists($themePath))
@include($themePath, ['section' => $section])
@else
@includeIf($defaultPath, ['section' => $section])
@endif
@empty
{{-- Decorative Background Effect --}}
Welcome to Antigravity Hub
No active protocol modules are currently deployed to the main lattice.
@endforelse
{{-- Any scripts that should persist across all components --}}