
<footer id="page-footer" class="bg-body-light">
    <div class="content py-0">
        <div class="row font-size-sm">

                <div class="col-12 col-md">
                    <?php echo e(dcmConfig('site_name')); ?>  <br/> by <a class="font-w600" href="<?php echo e(dcmConfig('site_author_link')); ?>" target="_blank"><?php echo e(dcmConfig('site_author')); ?> </a>
                    <small class="d-block mb-3 text-muted">© <?php echo e(now()->format('Y')); ?></small>
                </div>

                <?php if(isset($footerMenuArr) && $footerMenuArr): ?>
                    <?php $__currentLoopData = $footerMenuArr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-4 col-md">
                            <h5><?php echo e($item['text'] ?? "Footer #" . ++$index); ?></h5>
                            <ul class="list-unstyled text-small">
                                <?php if( isset($item['children']) && count($item['children']) > 0 ): ?>
                                    <?php echo $__env->renderEach('common.partials.footer-item', $item['children'], 'item'); ?>
                                <?php else: ?>
                                    <li>
                                        <a title="<?php echo e($item['title'] ?? $item['text'] ?? ''); ?>" class="text-muted" href="<?php echo e($item['href']  ?? '#'); ?>">
                                            <i class="<?php echo e($item['icon'] ?? ''); ?> mr-1"></i> <?php echo e($item['title'] ?? $item['text'] ?? ''); ?>

                                        </a>
                                    </li>
                                <?php endif; ?>

                            </ul>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
        </div>
    </div>
</footer>
