@extends('hulaki_khabar.layout.layout') @section('meta') @endsection @push('css') @push('css') @endpush @endpush @section('content')
@if ($ads->isNotEmpty()) @foreach ($ads as $ad) @if ($ad->ad_categories_id == 17) {{ $ad->title }} @endif @endforeach @endif
image
{!! $shareComponent !!}

{{ $news->short_description }}

{!! $news->content !!}

image
@if ($ads->isNotEmpty()) @foreach ($ads as $ad) @if ($ad->ad_categories_id == 16) {{ $ad->title }} @endif @endforeach @endif

२ कमेन्ट :

    @foreach ($newsWithComment as $comment) @if ($comment->comments->isNotEmpty()) @foreach ($comment->comments as $item)
  1. image {{ $item->user?->name }}

    {{ $item->content }}

    @if ($item->subcomments)
      @foreach ($item->subcomments as $subcomment)
    1. image {{ $subcomment->user?->name }}

      {{ $subcomment->content }}

      {{-- @if ($loop->last)
      @csrf
      @endif --}}
    2. @endforeach
    @else
    @csrf
    @endif
    @csrf
  2. @endforeach @else
    @csrf {{-- --}}
    @endif @endforeach
@endsection @push('js') @endpush