<nav class="navbar navbar-wrapper navbar-fade navbar-faded">
    <div class="container">
        <!-- Brand -->
        <div class="navbar-brand">
            <a class="navbar-item" href="/">
                <img class="light-logo" src="<?php echo e(asset('storage/'.config('settings.logo'))); ?>" alt="">
                <img class="dark-logo" src="<?php echo e(asset('storage/'.config('settings.logo'))); ?>" alt="">
            </a>

            <!-- Responsive toggle -->
            <div class="custom-burger" data-target="">
                <a id="" class="responsive-btn" href="javascript:void(0);">
                    <span class="menu-toggle">
                        <span class="icon-box-toggle">
                            <span class="rotate">
                                <i class="icon-line-top"></i>
                                <i class="icon-line-center"></i>
                                <i class="icon-line-bottom"></i>
                            </span>
                        </span>
                    </span>
                </a>
            </div>
            <!-- /Responsive toggle -->
        </div>

        <!-- Navbar menu -->
        <div class="navbar-menu">
                <a class="navbar-item is-slide" href="<?php echo e(route('home')); ?>">
                    home
                </a>

                <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if(count($types) > 0 && $page->name == 'species'): ?>
                        <div class="navbar-item has-dropdown is-hoverable is-hidden-mobile">
                            <a class="navbar-link" href="<?php echo e(route('page', ['page' => $page->link])); ?>">
                                <?php echo e($page->name); ?>

                            </a>
                            <div class="navbar-dropdown is-boxed is-medium">
                                <?php $__currentLoopData = $types; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $type): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <a class="navbar-item is-menu" href="<?php echo e(route('species_details', ['species' => $type->id])); ?>">
                                        <span><?php echo e($type->name); ?></span>
                                    </a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </div>
						<div class="mobile-drop is-hidden-desktop">
                            <div class="mobile-drop-trigger">
                                <span style="text-transform:capitalize"><?php echo e($page->name); ?></span>
								<i class="material-icons">keyboard_arrow_right</i>
                            </div>
                            <div class="child-menu" style="display: none;">
                                <ul>
									<?php $__currentLoopData = $types; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $type): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
										<li>
											<a href="<?php echo e(route('species_details', ['species' => $type->id])); ?>">
												<?php echo e($type->name); ?>

											</a>
										</li>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        </div>
                    <?php else: ?>
                        <a class="navbar-item is-slide" href="<?php echo e(route('page', ['page' => $page->link])); ?>">
                            <?php echo e($page->name); ?>

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

                <a class="navbar-item is-slide" href="<?php echo e(route('contact')); ?>">
                    contact us
                </a>
        </div>
    </div>
</nav><?php /**PATH /home/smart/public_html/resources/views/website/layouts/navbar.blade.php ENDPATH**/ ?>