@if(count($conferences))
    @foreach($conferences as $conference)
        <div class="col-lg-4">
            <div class="news_card wow left_to_right_apperance animated">
                <div class="content">
                    <img src="{{asset($conference->image)}}" alt="" class="sec-img"/>
                    <h4 class="title fw-bold color-dark mb-3">{{$conference->title}} </h4>
                    <p class="date mb-2">
                        <img src="{{asset('assets/web/images/icons/date.svg')}}" alt="" class="icon icon-15 me-2"/> {{date('d M Y', strtotime($conference->created_at))}}
                    </p>
                    <p class="det">{!! wordLimit(stripText($conference->description, 100)) !!}</p>

                    <a href="{{route('conference.show', $conference->id)}}" class="more_butn color-primary fw-bold">
                        {{__('main.read_more')}} <img src="{{asset('assets/web/images/icons/right_arrow2.svg')}}" alt="" class="icon icon-18 ms-2 filterPrimary"/>
                    </a>
                </div>

            </div>
        </div>
    @endforeach
    @else

    <div class="alert alert-secondary text-danger text-center show_done"><b>{{__('conferences.no_conferences_to_shown')}}</b></div>
@endif
