@extends('layout.master')


@section('title',$yazar->name.' '.' Yazıları - '.config('settings.site_title_devam', 'Varsayılan Başlık'))
@section('description',$yazar->name.' '.' Yazıları - '.config('settings.site_title_devam', 'Varsayılan Başlık'))



@section('content')

<div class="news-page-custom custom-page-news"  id="site-content" style="background: #fff;padding-left:0px; padding-right: 0px;">
    <div class="newsPage container">
        <div class="row">
            <div class="col-md-12">
                    <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="/" title="Köşe Yazıları">Köşe Yazıları</a></li>
                <li class="breadcrumb-item"><a href="#" title="{{$yazar->name}}">{{$yazar->name}}</a></li>
            </ol>
        </nav>

            </div>
                <div class="col-md-6"><div class="ads-1">
                        <div class="author-card">
                        <img src="/uploads/images/{{$yazar->image}} " alt="{{$yazar->name}}">
            <div class="author-info">
                <h3 class="mb-0">{{$yazar->name}}</h3>
                <p class="mb-2">{{$yazar->mail}}</p>
               
            </div>
        </div>
                </div>
            </div>
             <div class="col-md-6"><div class="ads-1">
                    <div class="container">
                        <div class="d-flex align-items-center">
                            {!! $yazar->ads_side !!}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    
            
        </div>
    </div>
 <div class="container newseight" style="margin-top:10px">
        <div class="row">
           @foreach($ekonomikhaberlerNews as $ekonomikhaberNews)
            <div class="col-md-3">
                 <div class="news-card">
             {!! getNewsLink($ekonomikhaberNews)!!}<img src="{{ $ekonomikhaberNews->news_image }}" alt="Yıkım"  style="height:165px"></a>
            <div class="news-badge"style="background-color:#{{$ekonomikhaberNews->category->color}} !important;">{{$ekonomikhaberNews->category->name}}</div>
             <div class="card-body">
                <h5 class="card-title">  {!! getNewsLink($ekonomikhaberNews)!!}<div class="news-title">{{$ekonomikhaberNews->name}}</div></a></h5></div>
        </div>
            </div>
                        @endforeach
            
           
        </div>
        <div id="loading" style="display:none;" class="text-center mt-5">
    <img src="/output-onlinegiftools.gif" alt="Loading..." style="width: 150px;">

</div>
</div>

@endsection

