

<?php $__env->startSection('hide_nav_bar', true); ?>

<?php $__env->startSection('content'); ?>
<div class="news-detail-container">
    <a href="<?php echo e(route('news.index')); ?>" class="btn-back">
        <i class="fas fa-arrow-left"></i> Details
    </a>

    <header class="news-header-meta">
        <span class="news-tag">Berita Pamsimas</span>
        
        <h1 class="news-detail-title"><?php echo e($news->title); ?></h1>
        
        <div class="news-author-date">
            <?php echo e($news->created_at->translatedFormat('F d, Y')); ?> by <strong>Admin</strong>
        </div>
    </header>

    <?php if($news->image): ?>
        <img src="<?php echo e(rtrim(config('app.admin_url'), '/') . '/storage/' . $news->image); ?>" class="news-featured-image">
    <?php else: ?>
        <img src="https://via.placeholder.com/800x400?text=Pamsimas+News" class="news-featured-image">
    <?php endif; ?>

    <article class="news-body">
        <?php echo e($news->content); ?>

    </article>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\UsEr\Documents\0 Mata Kuliah\Tugas Akhir\Project Pamsimas\PAMSIMAS_User\resources\views/news/news_detail.blade.php ENDPATH**/ ?>