@extends('web.layouts.container')

@section('content')
    <section class="inner_header">
        <img src="{{asset('assets/web/images/icons/inner.svg')}}" alt="" class="inner_shap">
        <div class="container">
            <ul class="links">
                <li>
                    <a href="{{LaravelLocalization::getLocalizedURL($lang, route('home'), [], true)}}">{{__('main.home')}}</a>
                </li>
                <li>
                    <a href="{{LaravelLocalization::getLocalizedURL($lang, route('news.index'), [], true)}}"> {{__('articles.head')}} </a>
                </li>
                <li>
                    <a href="#"> {{__('articles.article_details')}} </a>
                </li>
            </ul>
            <h4>{{__('articles.article_details')}}</h4>
        </div>
    </section>
    <section class="blog-pg section_padding">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="blog_card blog-det">
                        <div class="img-box">
                            <img src="{{asset($news->image)}}" alt="" class="sec-img"/>
                            <span class="date"><i class="bi bi-calendar3 me-2"></i>{{date('d/m/Y', strtotime($news->created_at))}}</span>

                        </div>
                        <div class="card-body">
                            <h2 class="title mb-2"><b>{{$news->title}}</b></h2>
                            <p class="text">{!! stripText($news->description) !!}</p>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection

@section('inner_js')

@endsection
