@endsection
@push('styles')
@section('title', $data->title)
@if(file_exists(public_path('/').$data->image) && $data->image)
@endif
@if($data->tags)
@php
$strings = '';
foreach(explode(',',$data->tags) as $index=>$item)
{
if($index == 0)
{
$strings = trim(str_replace('#','',trim($item)));
}
else
{
$strings .= trim(str_replace('#',',',trim($item)));
}
}
@endphp
@endif
@if($data->title)
@endif
@endpush
@section("content")
@if($data->video)
@elseif($data->image && file_exists(public_path('/').$data->image))
@else
@endif
@foreach($relatedData as $value)
@if((file_exists(public_path('/').$value->image) && $value->image) || ($value->video))
@if($value->video)
@elseif(file_exists(public_path('/').$value->image) && $value->image)
}}/public/{{$value->image}})
@endif
@else
@endif
@endforeach
@if(Auth::check())
@endif
@endsection
@section('page-div-end')
@endsection
@push('scripts')
@endpush