@extends('layouts.appPage') @section('content') @foreach($Page->sections()->where('active', true)->get() as $section) @if($section->type == 'background_video') @elseif($section->type == 'insert') @if($section->sectionContent->first()->padding == 1)
{!! $section->sectionContent->first()->raw !!}
@else {!! $section->sectionContent->first()->raw !!} @endif @elseif($section->type == 'swiper') toJson()}]" }}"> @elseif($section->type == 'newsletter')

Boletin informativo

Complete su dirección de correo electrónico para recibir actualizaciones mensuales

@csrf
@elseif($section->type == 'carousel') {{--

{{ $section->name }}

{{ $section->detail }}

--}} @elseif($section->type == 'title')
@if($section->header_image)
nivel
nivel
@else
@endif
{{ $section->name }}
{{ $section->name }}
{{--

{{ $section->name }}

{{ $section->detail }}

--}} @elseif($section->type == 'gridview')
@foreach($section->sectionContent()->orderBy('order')->where('active', true)->get() as $sectionContent)
@if($sectionContent->isImage()) @elseif($sectionContent->isFacebook()) {{--{!! $sectionContent->raw !!}--}} @else @endif
@endforeach
@else

{{ $section->name }}

{{ $section->detail }}

@endif {{--
nivel
--}} @endforeach @endsection