<div class="max-w-7xl mx-auto text-zinc-200 py-6 lg:px-4">
    <h1 class="text-2xl font-bold mb-4 flex items-center gap-2 justify-center">
        <span>🆕</span> <?php echo e(__('Latest Dramas')); ?>

    </h1>
    <?php
        $prevUrl = $page > 1 ? route('latest', ['lang' => $lang, 'page' => $page - 1]) : null;
        $nextUrl = $hasNext ? route('latest', ['lang' => $lang, 'page' => $page + 1]) : null;
        $isFirst = $page <= 1;
    ?>
    <?php if (isset($component)) { $__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.simple-pagination','data' => ['prevUrl' => $prevUrl,'nextUrl' => $nextUrl,'isFirst' => $isFirst,'hasNext' => $hasNext,'page' => $page]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('simple-pagination'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['prev-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($prevUrl),'next-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($nextUrl),'is-first' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isFirst),'has-next' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hasNext),'page' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($page)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a)): ?>
<?php $attributes = $__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a; ?>
<?php unset($__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a)): ?>
<?php $component = $__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a; ?>
<?php unset($__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a); ?>
<?php endif; ?>
    <?php if (isset($component)) { $__componentOriginal5b3d13f94d9e177e66a5bb33b5953772 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal5b3d13f94d9e177e66a5bb33b5953772 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.drama-gallery','data' => ['dramas' => $dramas]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('drama-gallery'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['dramas' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($dramas)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal5b3d13f94d9e177e66a5bb33b5953772)): ?>
<?php $attributes = $__attributesOriginal5b3d13f94d9e177e66a5bb33b5953772; ?>
<?php unset($__attributesOriginal5b3d13f94d9e177e66a5bb33b5953772); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal5b3d13f94d9e177e66a5bb33b5953772)): ?>
<?php $component = $__componentOriginal5b3d13f94d9e177e66a5bb33b5953772; ?>
<?php unset($__componentOriginal5b3d13f94d9e177e66a5bb33b5953772); ?>
<?php endif; ?>
    <?php if (isset($component)) { $__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.simple-pagination','data' => ['prevUrl' => $prevUrl,'nextUrl' => $nextUrl,'isFirst' => $isFirst,'hasNext' => $hasNext,'page' => $page]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('simple-pagination'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['prev-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($prevUrl),'next-url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($nextUrl),'is-first' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isFirst),'has-next' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hasNext),'page' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($page)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a)): ?>
<?php $attributes = $__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a; ?>
<?php unset($__attributesOriginal7f00ff5afe24fdd96b080a2fca3c536a); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a)): ?>
<?php $component = $__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a; ?>
<?php unset($__componentOriginal7f00ff5afe24fdd96b080a2fca3c536a); ?>
<?php endif; ?>
</div>
<?php /**PATH /Users/buchin/Repos/dracin-git/resources/views/livewire/latest-page.blade.php ENDPATH**/ ?>