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




    <div class="container-fluid py-4">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header">
                        <h5 class="mb-2">My Daily Journals</h5><span>
<svg xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 48 48" width="48px" height="48px"><path fill="#FFF59D" d="M24 2A20 20 0 1 0 24 42A20 20 0 1 0 24 2Z"/><path fill="#FBC02D" d="M37,22c0-7.7-6.6-13.8-14.5-12.9c-6,0.7-10.8,5.5-11.4,11.5c-0.5,4.6,1.4,8.7,4.6,11.3c1.4,1.2,2.3,2.9,2.3,4.8V37h12v-0.1c0-1.8,0.8-3.6,2.2-4.8C35.1,29.7,37,26.1,37,22z"/><path fill="#FFF59D" d="M30.6,20.2l-3-2c-0.3-0.2-0.8-0.2-1.1,0L24,19.8l-2.4-1.6c-0.3-0.2-0.8-0.2-1.1,0l-3,2c-0.2,0.2-0.4,0.4-0.4,0.7s0,0.6,0.2,0.8l3.8,4.7V37h2V26c0-0.2-0.1-0.4-0.2-0.6l-3.3-4.1l1.5-1l2.4,1.6c0.3,0.2,0.8,0.2,1.1,0l2.4-1.6l1.5,1l-3.3,4.1C25.1,25.6,25,25.8,25,26v11h2V26.4l3.8-4.7c0.2-0.2,0.3-0.5,0.2-0.8S30.8,20.3,30.6,20.2z"/><path fill="#5C6BC0" d="M24 41A3 3 0 1 0 24 47A3 3 0 1 0 24 41Z"/><path fill="#9FA8DA" d="M26,45h-4c-2.2,0-4-1.8-4-4v-5h12v5C30,43.2,28.2,45,26,45z"/><path fill="#5C6BC0" d="M30 41l-11.6 1.6c.3.7.9 1.4 1.6 1.8l9.4-1.3C29.8 42.5 30 41.8 30 41zM18 38.7L18 40.7 30 39 30 37z"/></svg></span>
                        <p class="mb-0">Free your mind from the noise of thousands of thoughts and set your intention for the day. This practice has proven to be the most effective in terms of productivity and mental peace.</p>
                        <a  href="/add-five-min-journal" type="button" class="btn bg-gradient-dark mt-4">New Five Minute Journal</a>

                    </div>

                    <div class="card-body ">

                        <div class="row">



                            <?php $__currentLoopData = $journals; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $journal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="col-lg-4 col-md-6 col-12 mt-4 mt-lg-0">
                                    <div class="card text-center">
                                        <div class="overflow-hidden position-relative border-radius-lg bg-cover p-3" style="background-color: #CCC5B6">
                                            <span class=" bg-gradient-dark opacity-6"></span>
                                            <div class="card-body position-relative z-index-1 d-flex flex-column mt-5">
                                                <h4 class="text-white" style="color:#34302D">5 Minute Journal</h4>
                                                <h4 class="text-white"><?php echo e($journal->date); ?></h4>
                                                <a class="text-white text-sm font-weight-bold mb-0 icon-move-right mt-4" href="/view-journal?id=<?php echo e($journal->id); ?>">
                                                    Read More
                                                    <i class="fas fa-arrow-right text-sm ms-1" aria-hidden="true"></i>
                                                </a>
                                                <div class="mt-4">
                                                    <a href="/add-five-min-journal?id=<?php echo e($journal->id); ?>" type="button" class="btn btn-outline-light">Edit</a>
                                                    <a href="/delete/journal/<?php echo e($journal->id); ?>" type="button" class="btn btn-outline-dark">Delete</a>

                                                </div>




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

                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

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

        </div>

    </div>

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

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