<?php
    $pages = App\Models\Page::get();
    $query = App\Models\Category::where('status', 1)->latest();
?>

<?php $__env->startSection('content'); ?>
    <?php if($general->theme == 2): ?>
        <div class="header" id="header">
            <div class="container ">
                <nav class="navbar navbar-expand-lg">
                    <div class="header-menu-wrapper align-items-center d-flex">
                        <div class="logo-wrapper">
                            <a href="<?php echo e(route('home')); ?>" class="normal-logo" id="normal-logo">
                                <img src="<?php echo e(getImage('assets/images/general/logo1.png')); ?>" alt="...">
                            </a>
                        </div>
                    </div>
                    <form id="myForm" class="form-area d-flex" action="<?php echo e(route('search.by.type')); ?>" method="GET">
                        <div class="d-flex align-items-center">
                            <i class="fas fa-image ps-2"></i>
                            <p class="mx-2"><?php echo app('translator')->get('Image'); ?></p>
                        </div>
                        <div class="search">
                            <input id="searchInput" type="text" name="search" class="form--control"
                                value="<?php echo e(old('search')); ?>" placeholder="Search for photo">
                            <i class="fas fa-search"></i>
                        </div>
                    </form>
                    <button class="navbar-toggler header-button" type="button" data-bs-toggle="collapse"
                        data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
                        aria-expanded="false" aria-label="Toggle navigation">
                        <span id="hiddenNav"><i class="las la-bars"></i></span>
                    </button>

                    <div class="collapse navbar-collapse" id="navbarSupportedContent">
                        <ul class="navbar-nav nav-menu me-auto ps-lg-4 ps-0">
                            <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($page->slug == 'explore'): ?>
                                    <li class="nav-item">
                                        <a class="nav-link <?php echo e(Request::url() == url('/') . '/' . $page->slug ? 'active' : ''); ?>"
                                            href="<?php echo e(route('pages', $page->slug)); ?>"><?php echo e(__($page->name)); ?></a>
                                    </li>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php if(auth()->guard()->guest()): ?>
                                <?php
                                    $categories = $query->take(3)->get();
                                ?>
                                <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li class="nav-item">
                                        <a class="nav-link  <?php echo e(Request::url() == route('files.category', $item->id)); ?> ? 'active' : '' }}"
                                            href="<?php echo e(route('files.category', $item->id)); ?>"><?php echo e(__($item->name)); ?></a>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
                            <?php if(auth()->guard()->check()): ?>
                                <?php
                                    $categories = $query->take(2)->get();
                                ?>
                                <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <li class="nav-item">
                                        <a class="nav-link  <?php echo e(Request::url() == route('files.category', $item->id)); ?> ? 'active' : '' }}"
                                            href="<?php echo e(route('files.category', $item->id)); ?>"><?php echo e(__($item->name)); ?></a>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
                            <?php if(auth()->guard()->check()): ?>
                                <li class="nav-item">
                                    <a class="nav-link" href="<?php echo e(route('user.home')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a>
                                </li>
                            <?php endif; ?>
                        </ul>
                        <div class="d-flex lan">
                            <i class="fas fa-globe"></i>
                            <select class="form-select langSel">
                                <?php $__currentLoopData = $language; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($item->code); ?>" <?php if(session('lang') == $item->code): ?> selected <?php endif; ?>>
                                        <?php echo e(__($item->name)); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        </div>
                        <div class="login ps-lg-3 ps-0">
                            <?php if(auth()->guard()->guest()): ?>
                                <a class="my-auto" href="<?php echo e(route('user.login')); ?>"><i
                                        class="fa-solid fa-user-large"></i><?php echo app('translator')->get('Sign In'); ?></a>
                            <?php endif; ?>

                            <?php if(auth()->guard()->check()): ?>
                                <a href="<?php echo e(route('user.logout')); ?>" class=""><?php echo app('translator')->get('Sign Out'); ?></a>
                            <?php endif; ?>
                        </div>
                    </div>
                </nav>
            </div>
        </div>
    <?php endif; ?>
    <!--=======-** Terms Of Service start **-=======-->
    <section class="py-100">
        <div class="policy-shape">
            <img src="<?php echo e(getImage(getFilePath('others') . '/' . 'bg-shape.png')); ?>" alt="image">
        </div>
        <div class="container">
            <div class="terms">
                <div class="row">
                    <div class="privacy-wrapper">
                        <h3 class="title-two text-center"><?php echo e(__($pageTitle)); ?></h3>
                        <div class="wyg">
                            <?php
                                echo $policy->data_values->details;
                            ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!--=======-** Terms Of Service End **-=======-->
<?php $__env->stopSection(); ?>

<?php $__env->startPush('style'); ?>
    <style>
        .wyg h1,
        h2,
        h3,
        h4 {
            color: #383838;
            font-size: 22px;
        }

        .wyg strong {
            color: #383838
        }

        .wyg p {
            color: #666666
        }

        .wyg ul {
            margin-left: 40px
        }

        .wyg ul li {
            list-style-type: disc;
            color: #666666
        }
    </style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make($activeTemplate . 'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\photostack\application\resources\views/presets/default/policy.blade.php ENDPATH**/ ?>