@if(!empty($page->settings['grids'])) @foreach ($page->settings['grids'] as $grid) @php $columns = getColumnInfo($grid['grid']); @endphp @php setGridId($grid['grid_id']); $css = getCss(); if(!empty(getBgOverlay())) $css = 'position:relative;'.$css; @endphp
{!! getBgOverlay() !!}
@if(!empty($grid['data'])) @foreach ($grid['data'] as $column => $components)
@foreach ($components as $component) @php setSectionId($component['id']);@endphp @if(view()->exists('pagebuilder.' . $component['section_id'] . '.view')) {!! view('pagebuilder.' . $component['section_id']. '.view')->render() !!} @endif @endforeach
@endforeach @endif
@endforeach @endif