Edit File: 99e4db05d31fde765c68ec4e1b3aeae5.php
<div class="flex flex-col gap-4 px-2"> <div class="bg-gray-700 border-l-2 border-l-red-600 px-2 md:px-6 py-2"> <div class="flex w-full justify-between"> <h2 class="lg:text-2xl md:text-lg"><?php echo e($title); ?></h2> <!--[if BLOCK]><![endif]--><?php if($link != "#"): ?> <a class="flex items-center gap-2 hover:cursor-pointer" href="<?php echo e($link); ?>"> <span class="whitespace-nowrap"> Lihat Semua </span> <span class="flex-shrink-0"> <svg viewBox="0 -4.5 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="w-4 h-4"> <g id="SVGRepo_bgCarrier" stroke-width="0"></g> <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> <g id="SVGRepo_iconCarrier"> <title>arrow_right [#346]</title> <defs></defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Dribbble-Light-Preview" transform="translate(-300.000000, -6643.000000)" fill="currentColor"> <g id="icons" transform="translate(56.000000, 160.000000)"> <polygon id="arrow_right-[#346]" points="264 6488.26683 258.343 6483 256.929 6484.21678 260.172 6487.2264 244 6487.2264 244 6489.18481 260.172 6489.18481 256.929 6492.53046 258.343 6494"></polygon> </g> </g> </g> </g> </svg> </span> </a> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> </div> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4"> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $animes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $anime): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="w-full flex flex-col gap-2 bg-gray-700 relative"> <a href="<?php echo e(route("anime.show", $anime->slug)); ?>"> <div class="absolute top-2 left-4 bg-red-600 px-4 rounded-full border-[1px] border-white "> <?php echo e($anime->score); ?> </div> <img src="<?php echo e($anime->thumbnail); ?>" alt="<?php echo e($title); ?>" class="w-full aspect-video rounded-md"> </a> <div class="w-full flex flex-col gap-2 bg-gray-700 p-2"> <div class="flex flex-wrap scroll-x-auto"> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $anime->tags; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e(route("tag.show", $tag->slug)); ?>" class="bg-red-600 text-white border-white border-2 rounded-full px-4 w-fit"> <?php echo e($tag->name); ?> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> <!--[if BLOCK]><![endif]--><?php if($anime->tags->count() == 0): ?> <div class="bg-red-600 text-white border-white border-2 rounded-full px-4 w-fit"> <?php echo e(__("No Tag")); ?> </div> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> <a href="<?php echo e(route("anime.show", $anime->slug)); ?>" class="capitalize font-bold text-lg hover:opacity-80"> <?php echo e($anime->title); ?> </a> <div> <?php echo e($anime->updated_at->diffForHumans()); ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> <!--[if BLOCK]><![endif]--><?php if(count($animes) == 0): ?> <h2 class="text-lg lg:text-3xl font-bold">Anime Tidak Ditemukan</h2> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> </div><?php /**PATH /home/okaminime0881/anime/resources/views/livewire/dashboard/item-list.blade.php ENDPATH**/ ?>
Back