<?php $__env->startSection('content'); ?>


    <div class="page-header mb-4 border-radius-xl">
        <span class="mask bg-gradient-dark"></span>
        <div class="container">
            <div class="row">
                <p class="col-lg-6 my-auto">

                <h5 class="text-white fadeIn2 fadeInBottom mt-4">
                    <?php echo e(__('Learn Something New')); ?>


                </h5>
                <p class=" text-white opacity-8 fadeIn3 fadeInBottom">
                    <?php echo e(__('“Learning never exhausts the mind.”')); ?>


                </p>
                <p class=" text-white opacity-8 fadeIn3 fadeInBottom"><?php echo e(__('– Leonardo da Vinci')); ?> </p>
                <p class="text-white opacity-8 fadeIn3 fadeInBottom">
                    <?php echo e(__('“Want to earn more? Learn More”')); ?>


                </p>


            </div>
            <a href="/add-tolearn" type="button" class="btn bg-gradient-light">
                <?php echo e(__('Add Things to Learn')); ?>


            </a>

        </div>


    </div>


    <div class="row">
        <div class="col-md-12 mt-4">
            <div class="card">
                <div class="card-header pb-0 px-3">
                    <h6 class="mb-0"><?php echo e(__('To Learns List')); ?></h6>
                </div>
                <div class="card-body pt-4 p-3">
                    <ul class="list-group">

                        <?php $__currentLoopData = $to_learns; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $to_learn): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li class="list-group-item border-0 d-flex p-4 mb-2 mt-3 bg-gray-100 border-radius-lg">
                                <div class="d-flex flex-column">
                                    <h6 class="mb-3 text-sm"><?php echo e($to_learn->title); ?></h6>
                                    <span class="text-xs mb-4"><?php echo e(__('Start Learning')); ?> <span class="text-dark ms-sm-2 font-weight-bold"><?php echo e($to_learn->start_date); ?></span></span>

                                    <span class="text-xs"><?php echo e(__('Date to Finish:')); ?> <span class="text-dark ms-sm-2 font-weight-bold"><?php echo e($to_learn->end_date); ?></span></span>
                                </div>
                                <div class="ms-auto text-end">

                                    <a class="btn btn-link text-danger text-gradient px-3 mb-0" href="/delete/to-learn/<?php echo e($to_learn->id); ?>"><i class="far fa-trash-alt me-2"></i><?php echo e(__('Delete')); ?></a>
                                    <a class="btn btn-link text-dark px-3 mb-0" href="/add-tolearn?id=<?php echo e($to_learn->id); ?>"><i class="fas fa-pencil-alt text-dark me-2" aria-hidden="true"></i><?php echo e(__('Edit')); ?></a>
                                </div>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                    </ul>
                </div>
            </div>
        </div>

    </div>


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





<?php echo $__env->make('layouts.primary', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/sadia/Documents/valet/focus/resources/views/actions/tolearn.blade.php ENDPATH**/ ?>