<?php
    $footerContent = json_decode(
        \App\Models\LandingPage::where('locale', app()->getLocale())
            ->where('status', true)
            ->where('theme', site_theme())
            ->where('code', 'footer')
            ->first()?->data,
        true,
    );
    $navigation_lists = \App\Models\Navigation::whereJsonContains('type', 'widget_one')
        ->orWhereJsonContains('type', 'widget_two')
        ->get()
        ->chunk(5);
?>


<?php if($footerContent !== null): ?>
    <footer class="td-footer-2">
        <div class="container">
            <div class="td-footer-2-intro">
                <div class="td-footer-2-intro-logo">
                    <img src="<?php echo e(asset(setting('site_logo'))); ?>" alt="">
                </div>
                <div class="td-footer-2-intro-des">
                    <p><?php echo e($footerContent['footer_text']); ?></p>
                </div>
                <div class="td-footer-2-intro-social">
                    <?php $__currentLoopData = $socials; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $social): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <a href="<?php echo e(url($social->url)); ?>">
                            <i class="fa-brands <?php echo e($social->class_name); ?>"></i>
                        </a>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </div>
            </div>
            <div class="vertical-line"></div>
            <div class="td-footer-2-links">
                <?php $__currentLoopData = $navigation_lists; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $navigations): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <ul>
                        <?php $__currentLoopData = $navigations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $navigation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li>
                                <a href="<?php echo e($navigation->url); ?>"><?php echo e(__($navigation->name)); ?></a>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </ul>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <div class="td-footer-2-copyright">
                <p><?php echo e($footerContent['copyright_text']); ?></p>
            </div>
        </div>
        <div class="td-footer-2-element">
            <img src="<?php echo e(asset('frontend/default/img/footer/footer-element.svg')); ?>" alt="">
        </div>
    </footer>
<?php endif; ?>
<?php /**PATH /www/wwwroot/mxawfis.atharvatek.com/app/Providers/../../resources/views/frontend/spaceify/include/__footer.blade.php ENDPATH**/ ?>