
<?php $__env->startSection('title','Projects'); ?>
<?php $__env->startSection('main'); ?>

<div class="container-md shadow mt-md-3">
                <div class="row "> 
                     <div class="col-4 d-flex justify-content-left mt-3">
                <a href="<?php echo e(url('/Project/add')); ?>">
                <button type="submit" class="btn btn-success btn-sm">Add New &nbsp; <i class="fa-solid fa-plus icon-white"></i></button> 
                </a>
            </div>

             <div class="col-4  d-flex justify-content-center mt-2">               
                    <h1 style="font-family: 'Brush Script MT', cursive;">Projects</h1>
            </div>
           
           <div class="col-4 mt-3 d-flex justify-content-end">
                <form class="row g-1">
                    <div class="col-auto ">
                        <input class="form-control form-control-sm " name="search" type="search" placeholder="Search here!">
                    </div>
                    <div class="col-auto">
                    <a href="<?php echo e(url('/Project/index')); ?>">
                        
                    </a>
                    </div>
                    
                </form>
            </div>
        </div>

        <table class="table table-sm table-hover mt-3">

                <thead>
                    <tr>
                    <th scope="col">#</th>
                    <th scope="col">Project Name</th>
                    </tr>
                </thead>
                
                <tbody>
                    
                    <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $datas): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                        <td><?php echo e($datas->id); ?></td>
                        <td><?php echo e($datas->project_name); ?></td> 
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    
                </tbody>

                </table>
                
                <div class="row">
                <?php echo e($data->onEachSide(0)->appends($_GET)->links('pagination::bootstrap-5')); ?>

                </div>

    </div>


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


<?php echo $__env->make('header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/alameenb/public_html/resources/views/Project/index.blade.php ENDPATH**/ ?>