@extends('layouts.web') @section('head-js') @endsection @section('css') @endsection @section('content') {{-- @component('web.components.layout.banner_pages', [ 'title' => $page->publication->title, 'subTittle' => '', 'style' => 'background-image: url(' . asset('images/placeholder/web/mulherComBocaAberta.webp') . ')', ]) @endcomponent --}} @component('web.components.default.section', [ 'class' => 'page', ]) {{-- @include('web.components.layout.page_title', [ 'title' => $page->publication->title, ]) --}} {{-- @includeWhen($items->count() > 0, 'web.components.pages.dynamic-page.menu') --}}
@if ($page->publication->slug == 'clinica')
@component('web.components.default.medias.image', [ 'media' => [ 'count' => 1, 'path' => $page->cover->path, 'alt' => 'Imagem do profissional', ], ]) @endcomponent
{!! $page->publication->content !!}
@else {!! $page->publication->content !!} @endif
@endcomponent @includeWhen($page->gallery_count > 0, 'web.components.default.publication.publication_gallery', [ 'slide' => [ 'class' => 'page-splide my-5', 'id' => 'gallery', 'slides' => $page->gallery_count, ], 'medias' => $page->gallery, 'title' => 'Fotos', ]) @endsection