<?php $__env->startSection('content'); ?>
    <div class="breadcrumb-area shadow dark text-center bg-fixed text-light"
        style="background-image: url(/perpus/img-1.jpg);">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <h1>Buku</h1>
                </div>
            </div>
        </div>
    </div>

    <div class="faq-area left-sidebar course-details-area default-padding">
        <div class="container">
            <div class="row">
                <div class="col-md-8 faq-content">
                    <!-- Start Accordion -->
                    <div class="row">
                        <div class="popular-courses-items bottom-price">
                            <?php $__empty_1 = true; $__currentLoopData = $buku; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                <div class="col-md-6 col-sm-4 equal-height">
                                    <div class="advisor-item">
                                        <div class="info-box">
                                            <img src="/foto_buku/<?php echo e($data->foto_buku); ?>" alt="Thumb">
                                            <div class="info-title">
                                                <h4><?php echo e(Str::title($data->nama_buku)); ?></h4>
                                                <span><?php echo e(Str::upper($data->jenis_rak)); ?></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                <div class="alert alert-danger">Maaf Buku Dengan Judul Pencarian Tidak Tersedia</div>
                            <?php endif; ?>
                        </div>
                    </div>
                    <!-- End Accordion -->
                </div>
                <!-- Start Sidebar -->
                <div class="left-sidebar col-md-4">
                    <div class="sidebar">
                        <aside>
                            <!-- Sidebar Item -->
                            <div class="sidebar-item search">
                                <div class="sidebar-info">
                                    <form action="<?php echo e(route('home.cari')); ?>" method="get">
                                        <?php echo csrf_field(); ?>
                                        <input type="text" name="buku" placeholder="Cari Buku" class="form-control">
                                        <input type="submit" value="search">
                                    </form>
                                </div>
                            </div>
                            <!-- End Sidebar Item -->

                            <!-- Sidebar Item -->
                            
                            <!-- End Sidebar Item -->

                            <!-- Sidebar Item -->
                            <div class="sidebar-item recent-post">
                                <div class="title">
                                    <h4>Buku Rekomendasi Untuk Di Baca</h4>
                                </div>
                                <?php $__currentLoopData = $random; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $buku): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="item">
                                    <div class="content">
                                        <div class="thumb">
                                            <a href="#">
                                                <img src="/foto_buku/<?php echo e($buku->foto_buku); ?>" alt="Thumb">
                                            </a>
                                        </div>
                                        <div class="info">
                                            <h4>
                                                <a href="#"><?php echo e(Str::title($buku->nama_buku)); ?></a>
                                            </h4>
                                            <div class="meta">
                                                <i class="fas fa-dolly"></i><a href="#"><?php echo e(Str::upper($buku->jenis_rak)); ?></a><br>
                                                <i class="fas fa-dolly"></i>Penerbit : <a href="#"><?php echo e(Str::upper($buku->penerbit)); ?></a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                            <!-- End Sidebar Item -->

                        </aside>
                    </div>
                </div>
                <!-- End Sidebar -->
            </div>
        </div>
    </div>
    
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\perpustakaan\resources\views/buku_cari.blade.php ENDPATH**/ ?>