@extends('layouts.portal')
@section('title'){{$page->name}} - @endsection
@section('meta_description'){{strip_tags($page->description)}}@endsection
@section('metas')
@endsection
@section('css')
@endsection
@section('slider')
@if($page->is_main)
@foreach ($slides as $i => $slide)
@endforeach
@foreach ($slides as $i => $slide)
{!!$slide->description!!}
@endforeach
@if(count($slides) > 1)
Anterior
Siguiente
@endif
@else
@endif
@endsection
@section('body_props')
style="background: url('../../img/page_bg1.svg') top center; background-size: cover;"
@endsection
@section('content')
@foreach($sections as $section)
@php $sect = \App\Models\Section::where('id',$section->id)->first() @endphp
@switch($section->model)
@case('content') @include('sections.texto_imagen', ['section' => $section]) @break
@case('search') @include('sections.busqueda', ['section' => $section]) @break
@case('products') @include('sections.productos', ['section' => $section,'sect'=>$sect]) @break
@case('projects') @include('sections.proyectos', ['section' => $section,'sect'=>$sect]) @break
@case('nodes') @include('sections.nodos', ['section' => $section,'sect'=>$sect]) @break
@endswitch
@endforeach
@endsection
@section('modal')
@if($page->is_main)
@foreach ($slides as $i => $slide)
@endforeach
@foreach ($slides as $i => $slide)
{!!$slide->description!!}
@endforeach
@if(count($slides) > 1)
Anterior
Siguiente
@endif
@endif
@endsection
@section('js')
@if($page->is_main)
@endif
@endsection