<?php $menu = app('App\Models\Other\Other'); ?>
<nav id="navbarExample" class="navbar navbar-expand-lg fixed-top navbar-light" aria-label="Main navigation">
    <div class="container">

        <!-- Image Logo -->
        <a class="navbar-brand" href="index.html"><img src="<?php echo e(asset('icon')); ?>/logo/logo-upp4.jpg" alt="alternative"
                width="250"></a>

        <!-- Text Logo - Use this if you don't have a graphic logo -->
        <!-- <a class="navbar-brand logo-text" href="index.html">Nubis</a> -->

        <button class="navbar-toggler p-0 border-0" type="button" id="navbarSideCollapse" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="navbar-collapse offcanvas-collapse" id="navbarsExampleDefault">
            <ul class="navbar-nav ms-auto navbar-nav-scroll">
                <li class="nav-item">
                    <a class="nav-link text-dark" aria-current="page" href="<?php echo e(asset('/')); ?>"></i> หน้าหลัก</a>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle text-dark" href="<?php echo e(asset('/products')); ?>" id="dropdown01"
                        data-bs-toggle="dropdown" aria-expanded="false">ผลิตภัณฑ์</a>
                    <ul class="dropdown-menu" aria-labelledby="dropdown01">
                        <?php
                            $datamenu = $menu->productmenu();
                        ?>
                        <?php $__currentLoopData = $datamenu; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li><a class="dropdown-item text-dark"
                                    href="<?php echo e(asset('/product_categorys' . '/' . $rows->id . '')); ?>" style="font-size: 16px;"><?php echo e($rows->categorys_names); ?></a>
                            </li>
                            <li>
                                <div class="dropdown-divider"></div>
                            </li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <li><a class="dropdown-item text-dark" href="<?php echo e(asset('/products')); ?>" style="font-size: 16px;">สินค้าทั้งหมด</a></li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-dark" href="<?php echo e(asset('/service')); ?>">บริการ</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-dark" href="<?php echo e(asset('/news')); ?>">ข่าวสาร</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-dark" href="<?php echo e(asset('/about')); ?>">เกี่ยวกับเรา</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-dark" href="<?php echo e(asset('/customers')); ?>">ลูกค้าของเรา</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-dark" href="<?php echo e(asset('/contact')); ?>">ติดต่อเรา</a>
                </li>
            </ul>
        </div>
        <!-- end of navbar-collapse -->
    </div>
    <!-- end of container -->
</nav>
<?php /**PATH C:\Users\Mos\Desktop\tik\resources\views/user/layouts/navbar.blade.php ENDPATH**/ ?>