@extends('layouts.web')
@section('head-js')
@endsection
@section('css')
@endsection
@section('content')
@component('web.components.default.section',
[
'class' => 'post',
])
@include(
'web.components.layout.page_title',
[
'title' => $post->publication->title,
]
)
@include('web.components.pages.news.menu')
{{ $post->publication->title }}
{!! $post->publication->content !!}
@includeWhen(
$post->gallery_count > 0,
'web.components.default.publication.publication_gallery',
[
'slide' => [
'class' => 'post-splide mt-5',
'id' => 'gallery',
'slides' => $post->gallery_count,
],
'medias' => $post->gallery,
]
)
@endcomponent
@endsection