<?php $__env->startSection('title','Yazarlar - '.config('settings.site_title', 'Varsayılan Başlık')); ?>
<?php $__env->startSection('description','Sitemiz\'de yer alan köşe yazarları, yazarların son köşe yazıları,haber sitemizde.'); ?>



<?php $__env->startSection('content'); ?>
<div class="container-page-custom"  id="site-content">
     
        <div class="col-md-12">
    
     <div class="container Category">
          <div class="container mt-5">
        <div class="section-header authors-title">
            <h2 style="margin: 0 auto;font-size: 33px;">Yazarlar</h2>
        </div>
        <div class="col-12 article-footer"> </div>
    </div>

        <div class="row" style="padding: 20px 50px;">
            <?php $__currentLoopData = $authors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $author): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
             <?php if(isset($author->lastNews)): ?>
             <div class="col-md-6">
                  <div class="custom-card ">
                    <a href="yazar/<?php echo e($author->slug); ?>" title="<?php echo e($author->name); ?>"><img src="<?php if(isset($author->image)): ?> /uploads/images/<?php echo e($author->image); ?> <?php else: ?> https://via.placeholder.com/100 <?php endif; ?>" alt="<?php echo e($author->name); ?>" width="100" height="100"></a>
                    <div class="details">
                         <a href="yazar/<?php echo e($author->slug); ?>" title="<?php echo e($author->name); ?>"><h5><?php echo e($author->name); ?></h5>
                        <p class="authorNews"><?php echo e($author->lastNews->name ?? ''); ?></p>
                        <p class="email"><?php echo e($author->mail); ?></p></a>
                    </div>
                 
                </div>
            </div>
                    <?php endif; ?>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            
        
        </div>
 
  
    </div>
 

    <div class="container categoriesthree">
        <div class="row">
        <div class="col-md-4 categorione">
             <div class="section-header">
            <h2 style="font-size: 15px;">GÜNCEL</h2>
            <div class="line" style="background-color:#b60707;height: 4px;"></div>
        </div>
            <div class="container mt-3">
                <!-- Main news card -->
                  <?php $__currentLoopData = $guncelhaberlerSlider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $guncelhaberSlider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                 <div class="news-card">
                    <a href="/haber/<?php echo e($guncelhaberSlider->slug); ?>" title="<?php echo e($guncelhaberSlider->name); ?>"><img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($guncelhaberSlider->date))); ?>/<?php echo e($guncelhaberSlider->news_image); ?>" alt="<?php echo e($guncelhaberSlider->name); ?>"></a>
                    <div class="news-badge"style="background-color:#<?php echo e($guncelhaberSlider->category->color); ?> !important;"><?php echo e($guncelhaberSlider->category->name); ?></div>
                    <div class="card-body">
                        <h5 class="card-title">  <a href="/<?php echo e($guncelhaberSlider->slug); ?>.html"  title="<?php echo e($guncelhaberSlider->name); ?>"><div class="news-title"><?php echo e($guncelhaberSlider->name); ?></div></a></h5></div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    
                 <?php $__currentLoopData = $guncelhaberlerNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $guncelhaberlerNew): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="news-card-mini">
                    <a href="/<?php echo e($guncelhaberlerNew->slug); ?>.html" class="news-link-mini" title="<?php echo e($guncelhaberlerNew->name); ?>">
                        <span class="news-icon-mini">&#8250;</span>
                        <span class="news-description-mini"><?php echo e($guncelhaberlerNew->name); ?></span>
                    </a>
                </div>
                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                
            </div>
        </div>

         <div class="col-md-4 categorione">
             <div class="section-header">
            <h2 style="font-size: 15px;">BURSA</h2>
            <div class="line" style="background-color:#0400ff;height: 4px;"></div>
        </div>
         <div class="container mt-3">
                <!-- Main news card -->
                  <?php $__currentLoopData = $bursahaberlerSlider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bursahaberSlider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                 <div class="news-card">
                    <a href="/haber/<?php echo e($bursahaberSlider->slug); ?>" title="<?php echo e($bursahaberSlider->name); ?>"><img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($bursahaberSlider->date))); ?>/<?php echo e($bursahaberSlider->news_image); ?>" alt="<?php echo e($bursahaberSlider->name); ?>"></a>
                    <div class="news-badge"style="background-color:#<?php echo e($bursahaberSlider->category->color); ?> !important;"><?php echo e($bursahaberSlider->category->name); ?></div>
                    <div class="card-body">
                        <h5 class="card-title">  <a href="/haber/<?php echo e($bursahaberSlider->slug); ?>"  title="<?php echo e($bursahaberSlider->name); ?>"><div class="news-title"><?php echo e($bursahaberSlider->name); ?></div></a></h5></div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    
                 <?php $__currentLoopData = $bursahaberlerNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bursahaberlerNew): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="news-card-mini">
                    <a href="/haber/<?php echo e($bursahaberlerNew->slug); ?>" class="news-link-mini" title="<?php echo e($bursahaberlerNew->name); ?>">
                        <span class="news-icon-mini">&#8250;</span>
                        <span class="news-description-mini"><?php echo e($bursahaberlerNew->name); ?></span>
                    </a>
                </div>
                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                
            </div>
        </div>

         <div class="col-md-4 categorione">
             <div class="section-header">
            <h2 style="font-size: 15px;">EKONOMİ</h2>
            <div class="line" style="background-color:#FF8C04;height: 4px;"></div>
        </div>
      <div class="container mt-3">
                <!-- Main news card -->
                  <?php $__currentLoopData = $ekonomikhaberlerSlider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ekonomikhaberSlider): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                 <div class="news-card">
                    <a href="/haber/<?php echo e($ekonomikhaberSlider->slug); ?>" title="<?php echo e($ekonomikhaberSlider->name); ?>"><img src="/uploads/images/news/<?php echo e(date("Y/m/d", strtotime($ekonomikhaberSlider->date))); ?>/<?php echo e($ekonomikhaberSlider->news_image); ?>" alt="<?php echo e($ekonomikhaberSlider->name); ?>"></a>
                    <div class="news-badge"style="background-color:#<?php echo e($ekonomikhaberSlider->category->color); ?> !important;"><?php echo e($ekonomikhaberSlider->category->name); ?></div>
                    <div class="card-body">
                        <h5 class="card-title">  <a href="/haber/<?php echo e($ekonomikhaberSlider->slug); ?>"  title="<?php echo e($ekonomikhaberSlider->name); ?>"><div class="news-title"><?php echo e($ekonomikhaberSlider->name); ?></div></a></h5></div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    
                 <?php $__currentLoopData = $ekonomikhaberlerNews; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ekonomikhaberNews): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="news-card-mini">
                    <a href="/haber/<?php echo e($ekonomikhaberNews->slug); ?>" class="news-link-mini" title="<?php echo e($ekonomikhaberNews->name); ?>">
                        <span class="news-icon-mini">&#8250;</span>
                        <span class="news-description-mini"><?php echo e($ekonomikhaberNews->name); ?></span>
                    </a>
                </div>
                 <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                
            </div>
        </div>
    </div>
    </div>


 </div>
              
    </div>
</div>


 <style>
        .custom-card {
            background-color: #e0e0e0;
            padding: 20px 20px 20px 8px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            margin-top:10px;
            position: relative;
        }
        .custom-card img {
            border-radius: 50%;
            margin-right: 20px;
        }
        .custom-card .details {
            flex-grow: 1;
        }
        .custom-card .details h5 {
            color: red;
            font-size: 20px;
                        font-weight: 600;

        }
        .custom-card .details p {
            margin: 0;
            font-size: 15px;
            color: #333;
         
        }
        .custom-card .details .authorNews{
               font-weight: 600;
        }
        .custom-card .date p{
            font-size:16px;
        }
        .custom-card .details .email {
            color: gray;
        }
        .custom-card .date {
              text-align: right;
    color: gray;
    position: absolute;
    bottom: -14px;
    right: 4px;
        }
        .categoriesthree{
            background-color: #fff;
            border-radius: 10px;
        }
           .news-card-mini {
            border-bottom: 1px solid #e0e0e0;
            margin-bottom: 10px;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
        }
        .news-card-mini a{
                display: flex;
        }
        .news-card-mini img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }
        .news-title-mini {
            font-weight: bold;
            font-size: 1.2rem;
            color: #333;
        }
        .news-link-mini {
            text-decoration: none;
            color: #333;

        }
        .news-link:hover-mini {
            text-decoration: none;
        }
        .news-description-mini {
                font-size: 15px;
    color: #363F50;
    font-weight: 500;
       word-wrap: break-word;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
    margin-left: 10px;
    margin-top: 5px;
        }
        .news-icon-mini {
               color: #CBCBCB;
    font-size: 20px;
    font-weight: 600;
        }
        .categorione{
            padding: 20px;
        }
        .CategoryImage{
                height: 225px;
                width: 100%;
                object-fit: cover;
                    }

                    .news-card{
                      padding-bottom: 0px;
    border: 0;
}  
.news-card img{
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.card-body{
    background: #EAECF3;
    height: 60px;
}

.news-title{
  -webkit-line-clamp: 1;
}

.custom-card a{
    text-decoration: none;
}


    </style>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/kocaelid/domains/kocaeliduysun.net/public_html/resources/views/authors.blade.php ENDPATH**/ ?>