@extends('layouts.front.app') @section('og') @endsection @section('content') @include(config("site.domain").".front.products.product-carousel")
@php $pagina = App\Pagina::where('slug', 'empresa')->first(); $video = App\Pagina::where('category_id', 2)->get(); // Aqui somente para a página onde está o video $blog = App\Pagina::where('category_id', 1)->get(); @endphp @if($pagina) {!! $pagina->image_default !!} @endif
{{-- @include(config("site.domain").".layouts.front.category") --}} @include(config("site.domain").".layouts.front.categories") @if($video) @include(config("site.domain").".layouts.front.video", ['video' => $video]) @endif {{-- @include(config("site.domain").".front.blog.recentes", ['blog' => $blog]) --}} @endsection