PATH:
home
/
rwabteecom
/
public_html
/
storage
/
framework
/
views
/
Editing: d75f998712f949e5d5f4454b684c15c3.php
<!-- Navigation --> <nav class="sticky top-0 z-50 bg-secondary-900 border-b border-secondary-800 shadow-md" <?php if(checkFrontLanguageSession() == 'ar'): ?> dir="rtl" <?php endif; ?>> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex justify-between h-20"> <div class="flex-shrink-0 flex items-center"> <div class="flex items-center space-x-3"> <div class="h-[70px] w-[70px] rounded-lg flex items-center justify-center text-white shadow-lg overflow-hidden"> <img src="<?php echo e(getLogoUrl()); ?>" alt="company-logo" class="h-[70px] w-[70px] object-contain" /> </div> <span class="hidden sm:block text-2xl font-extrabold bg-gradient-to-r from-primary-400 via-accent-400 to-white bg-clip-text text-transparent <?php if(checkFrontLanguageSession() == 'ar'): ?> me-2 <?php endif; ?>"> <?php echo e(getAppName()); ?></span> </div> </div> <div id="mobileMenu" class="mobile-menu hidden lg:flex flex-col lg:flex-row items-start lg:items-center absolute lg:relative"> <a href="<?php echo e(asset('') . '#features'); ?>" class="text-gray-300 hover:text-white ms-2 px-2 py-2 text-sm font-medium transition-all duration-150 lg:hover:bg-secondary-800 rounded-md"> <?php echo e(__('messages.plan.features')); ?></a> <a href="<?php echo e(asset('') . '#pricing'); ?>" class="text-gray-300 hover:text-white ms-2 px-2 xl:px-3 py-2 text-sm font-medium transition-all duration-150 lg:hover:bg-secondary-800 rounded-md"><?php echo e(__('messages.theme3.pricing')); ?></a> <a href="<?php echo e(route('fornt-blog')); ?>" class="text-gray-300 hover:text-white ms-2 px-2 xl:px-3 py-2 text-sm font-medium transition-all duration-150 lg:hover:bg-secondary-800 rounded-md"><?php echo e(__('messages.blog.blogs')); ?></a> <a href="<?php echo e(asset('') . '#faq'); ?>" class="<?php if($faqs === null): ?> d-none <?php endif; ?> text-gray-300 hover:text-white ms-2 px-2 xl:px-3 py-2 text-sm font-medium transition-all duration-150 lg:hover:bg-secondary-800 rounded-md"><?php echo e(__('messages.faqs.faqs')); ?></a> <a href="<?php echo e(asset('') . '#about'); ?>" class="text-gray-300 hover:text-white ms-2 px-2 xl:px-3 py-2 text-sm font-medium transition-all duration-150 lg:hover:bg-secondary-800 rounded-md"><?php echo e(__('messages.theme3.about')); ?></a> <a href="<?php echo e(asset('') . '#contact'); ?>" class="text-gray-300 hover:text-white ms-2 px-2 xl:px-3 py-2 text-sm font-medium transition-all duration-150 lg:hover:bg-secondary-800 rounded-md"><?php echo e(__('messages.vcard.contact')); ?></a> <a> <div class="dropdown"> <a class="btn dropdown-toggle text-gray-300 hover:text-white px-3 xl:px-4 py-2 text-sm font-medium transition-all duration-150 lg:hover:bg-secondary-800 rounded-md" href="#" role="button" id="dropdownMenuLink" data-bs-toggle="dropdown" aria-expanded="false"> <?php echo e(__('messages.language')); ?></a> <ul class="dropdown-menu " aria-labelledby="dropdownMenuLink"> <?php $__currentLoopData = getAllLanguageWithFullData(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li class="languageSelection <?php echo e(checkFrontLanguageSession() == $key ? 'active' : ''); ?>" data-prefix-value="<?php echo e($language->iso_code); ?>"> <a href="javascript:void(0)" class="text-black ms-0 ps-2 nav-link d-flex align-items-center dropdown-item <?php echo e(checkFrontLanguageSession() == $key ? 'active' : ''); ?>"> <?php if(array_key_exists($language->iso_code, \App\Models\User::FLAG)): ?> <?php $__currentLoopData = \App\Models\User::FLAG; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $imageKey => $imageValue): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($imageKey == $language->iso_code): ?> <img src="<?php echo e(asset($imageValue)); ?>" class="me-1 h-5 w-5" alt="<?php echo e($language->name); ?> Language" /> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php if(count($language->media) != 0): ?> <img src="<?php echo e($language->image_url); ?>" class="me-1" alt="<?php echo e($language->name); ?> Language" /> <?php else: ?> <i class="fa fa-flag fa-xl me-3 text-danger" aria-hidden="true"></i> <?php endif; ?> <?php endif; ?> <span> <?php echo e($language->name); ?> </span> </a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <div class="h-6 w-0.5 bg-secondary-700 mx-2 hidden lg:block"></div> <?php if(empty(getLogInUser())): ?> <a href="<?php echo e(route('login')); ?>" class="ml-2 px-6 py-2.5 rounded-[4px] text-white bg-gradient-to-r from-primary-500 to-accent-500 hover:from-primary-600 hover:to-accent-600 shadow-lg transition-all duration-300 hover:shadow-primary-900/30 hover:scale-105 font-medium"> <?php echo e(__('auth.sign_in')); ?></a> <?php else: ?> <?php if(getLogInUser()->hasrole('admin') || getLogInUser()->hasrole('user')): ?> <a href="<?php echo e(route('admin.dashboard')); ?>" class="ml-2 px-6 py-2.5 rounded-[4px] text-white bg-gradient-to-r from-primary-500 to-accent-500 hover:from-primary-600 hover:to-accent-600 shadow-lg transition-all duration-300 hover:shadow-primary-900/30 hover:scale-105 font-medium"> <?php echo e(__('messages.dashboard')); ?></a> <?php endif; ?> <?php if(getLogInUser()->hasrole('super_admin')): ?> <a href="<?php echo e(route('sadmin.dashboard')); ?>" class="ml-2 px-6 py-2.5 rounded-[4px] text-white bg-gradient-to-r from-primary-500 to-accent-500 hover:from-primary-600 hover:to-accent-600 shadow-lg transition-all duration-300 hover:shadow-primary-900/30 hover:scale-105 font-medium"> <?php echo e(__('messages.dashboard')); ?></a> <?php endif; ?> <?php endif; ?> </div> <!-- Mobile menu button --> <div class="flex lg:hidden items-center justify-center"> <button type="button" id="menuToggleButton" class="inline-flex items-center lg:hidden justify-center p-2 rounded-full text-gray-400 hover:text-white hover:bg-secondary-800 focus:outline-none" aria-controls="mobile-menu" aria-expanded="false"> <span class="sr-only"><?php echo e(__('messages.theme3.open_main_menu')); ?></span> <!-- Icon for menu --> <i class='bx bx-menu text-2xl'></i> </button> </div> </div> </div> </nav> <?php /**PATH /home/rwabteecom/public_html/resources/views/front/layouts/header3.blade.php ENDPATH**/ ?>
SAVE
CANCEL