Viewing file: bf9dfa8b3f68a998e978a01f7c422330.php (23.69 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<style> .header-main { background-color: <?php echo e($setting->frontend_primary_color); ?> !important; }
.header-bottom { background-color: <?php echo e($setting->frontend_secondary_color); ?> !important;
}
footer { background-color: <?php echo e($setting->frontend_secondary_color); ?> !important;
}
.header-top { background-color: <?php echo e($setting->frontend_secondary_color); ?> !important; }
.btn-primary { background-color: <?php echo e($setting->frontend_primary_color); ?> !important;
} </style> <div class="header-main py-3 md:py-4 bg-primary-500 dark:bg-primary-800" x-data="{ openModal: false, openCity: false, location: '' }"> <div class="container"> <div class="flex gap-2 justify-between items-center"> <a href="<?php echo e(route('frontend.index')); ?>"> <img class="lg:max-w-[220px] max-w-[114px] w-full" src="<?php echo e($setting->white_logo_url); ?>" alt=""> </a> <?php if (! isset($_instance)) { $html = \Livewire\Livewire::mount('nav-search-component', ['landing' => 'home1'])->html(); } elseif ($_instance->childHasBeenRendered('IgIheeT')) { $componentId = $_instance->getRenderedChildComponentId('IgIheeT'); $componentTag = $_instance->getRenderedChildComponentTagName('IgIheeT'); $html = \Livewire\Livewire::dummyMount($componentId, $componentTag); $_instance->preserveRenderedChild('IgIheeT'); } else { $response = \Livewire\Livewire::mount('nav-search-component', ['landing' => 'home1']); $html = $response->html(); $_instance->logRenderedChild('IgIheeT', $response->id(), \Livewire\Livewire::getRootElementTagName($html)); } echo $html; ?>
<div class=" flex-none inline-flex gap-1 sm:gap-3 md:gap-4 items-center"> <?php if(auth('user')->check()): ?> <?php if (isset($component)) { $__componentOriginal776e62fede7b961ea048b52b5bd1700e = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal776e62fede7b961ea048b52b5bd1700e = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.header.message-panel','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.header.message-panel'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal776e62fede7b961ea048b52b5bd1700e)): ?> <?php $attributes = $__attributesOriginal776e62fede7b961ea048b52b5bd1700e; ?> <?php unset($__attributesOriginal776e62fede7b961ea048b52b5bd1700e); ?> <?php endif; ?> <?php if (isset($__componentOriginal776e62fede7b961ea048b52b5bd1700e)): ?> <?php $component = $__componentOriginal776e62fede7b961ea048b52b5bd1700e; ?> <?php unset($__componentOriginal776e62fede7b961ea048b52b5bd1700e); ?> <?php endif; ?> <span class="relative cursor-pointer" x-data="{ userDropdown: false }" @click.outside="userDropdown = false"> <img @click="userDropdown = !userDropdown" class="w-6 sm:w-10 h-6 sm:h-10 rounded-full object-cover" src="<?php echo e(authUser()->image_url); ?>" /> <div class="absolute z-50 ltr:right-0 rtl:left-0 top-11 mt-1 min-w-[120px]" x-cloak x-show="userDropdown" x-transition> <ul class="min-w-max bg-white flex flex-col py-2 rounded-md border border-gray-100 drop-shadow-[drop-shadow(0px_8px_8px_rgba(28,33,38,0.03))_drop-shadow(0px_20px_24px_rgba(28,33,38,0.08))] relative after:absolute after:border after:border-r-transparent after:border-b-transparent after:border-gray-200 after:rounded ltr:after:right-3 rtl:after:left-3 after:bg-white after:top-[-7.8px] after:h-4 after:w-4 after:transform after:rotate-[45deg] after:content-['']"> <li> <a href="<?php echo e(route('frontend.dashboard')); ?>" class="hover:bg-primary-50 py-2 px-6 transition-all duration-300 flex text-gray-700 body-sm-400 items-center gap-3"> <?php if (isset($component)) { $__componentOriginalecd63aa550331fa8ae5c28d7528aa7ce = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalecd63aa550331fa8ae5c28d7528aa7ce = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.overview-icon','data' => ['width' => '20','height' => '20']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.overview-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '20','height' => '20']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalecd63aa550331fa8ae5c28d7528aa7ce)): ?> <?php $attributes = $__attributesOriginalecd63aa550331fa8ae5c28d7528aa7ce; ?> <?php unset($__attributesOriginalecd63aa550331fa8ae5c28d7528aa7ce); ?> <?php endif; ?> <?php if (isset($__componentOriginalecd63aa550331fa8ae5c28d7528aa7ce)): ?> <?php $component = $__componentOriginalecd63aa550331fa8ae5c28d7528aa7ce; ?> <?php unset($__componentOriginalecd63aa550331fa8ae5c28d7528aa7ce); ?> <?php endif; ?><?php echo e(__('dashboard')); ?></a> </li>
<li> <a href="<?php echo e(!request()->routeIs('frontend.my.listing') ? route('frontend.my.listing') : 'javascript:void(0)'); ?>" class="hover:bg-primary-50 py-2 px-6 transition-all duration-300 flex text-gray-700 body-sm-400 items-center gap-3 <?php echo e(request()->routeIs('frontend.favorite.list') ? 'active' : ''); ?>"> <?php if (isset($component)) { $__componentOriginaldd7125669283e5aa74538dfdb1d654d2 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldd7125669283e5aa74538dfdb1d654d2 = $attributes; } ?> <?php $component = App\View\Components\Svg\ListIcon::resolve(['width' => '20','height' => '20','stroke' => 'currentColor'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.list-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Svg\ListIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldd7125669283e5aa74538dfdb1d654d2)): ?> <?php $attributes = $__attributesOriginaldd7125669283e5aa74538dfdb1d654d2; ?> <?php unset($__attributesOriginaldd7125669283e5aa74538dfdb1d654d2); ?> <?php endif; ?> <?php if (isset($__componentOriginaldd7125669283e5aa74538dfdb1d654d2)): ?> <?php $component = $__componentOriginaldd7125669283e5aa74538dfdb1d654d2; ?> <?php unset($__componentOriginaldd7125669283e5aa74538dfdb1d654d2); ?> <?php endif; ?> <span><?php echo e(__('my_ads')); ?></span> </a> </li> <li> <a href="<?php echo e(!request()->routeIs('frontend.favorite.list') ? route('frontend.favorite.list') : 'javascript:void(0)'); ?>" class="hover:bg-primary-50 py-2 px-6 transition-all duration-300 flex text-gray-700 body-sm-400 items-center gap-3 <?php echo e(request()->routeIs('favorite-listing') ? 'active' : ''); ?>"> <?php if (isset($component)) { $__componentOriginal04c24a6eff9444ccfffc9ea1af49a074 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal04c24a6eff9444ccfffc9ea1af49a074 = $attributes; } ?> <?php $component = App\View\Components\Svg\HeartIcon::resolve(['fill' => 'none','stroke' => 'currentColor'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.heart-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Svg\HeartIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '20','height' => '20']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal04c24a6eff9444ccfffc9ea1af49a074)): ?> <?php $attributes = $__attributesOriginal04c24a6eff9444ccfffc9ea1af49a074; ?> <?php unset($__attributesOriginal04c24a6eff9444ccfffc9ea1af49a074); ?> <?php endif; ?> <?php if (isset($__componentOriginal04c24a6eff9444ccfffc9ea1af49a074)): ?> <?php $component = $__componentOriginal04c24a6eff9444ccfffc9ea1af49a074; ?> <?php unset($__componentOriginal04c24a6eff9444ccfffc9ea1af49a074); ?> <?php endif; ?> <span><?php echo e(__('favorite_ads')); ?></span> </a> </li> <li> <a href="<?php echo e(route('frontend.plans-billing')); ?>" class="hover:bg-primary-50 py-2 px-6 transition-all duration-300 flex text-gray-700 body-sm-400 items-center gap-3 <?php echo e(request()->routeIs('frontend.plans-billing') ? 'active' : ''); ?>"> <?php if (isset($component)) { $__componentOriginalf8d9606a4d95d606e2252b166fd54fbe = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalf8d9606a4d95d606e2252b166fd54fbe = $attributes; } ?> <?php $component = App\View\Components\Svg\InvoiceIcon::resolve(['width' => '20','height' => '20','stroke' => 'currentColor'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.invoice-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Svg\InvoiceIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalf8d9606a4d95d606e2252b166fd54fbe)): ?> <?php $attributes = $__attributesOriginalf8d9606a4d95d606e2252b166fd54fbe; ?> <?php unset($__attributesOriginalf8d9606a4d95d606e2252b166fd54fbe); ?> <?php endif; ?> <?php if (isset($__componentOriginalf8d9606a4d95d606e2252b166fd54fbe)): ?> <?php $component = $__componentOriginalf8d9606a4d95d606e2252b166fd54fbe; ?> <?php unset($__componentOriginalf8d9606a4d95d606e2252b166fd54fbe); ?> <?php endif; ?> <span><?php echo e(__('plans_billing')); ?></span> </a> </li> <li> <a href="<?php echo e(route('frontend.wallet')); ?>" class="hover:bg-primary-50 py-2 px-6 transition-all duration-300 flex text-gray-700 body-sm-400 items-center gap-3 <?php echo e(request()->routeIs('frontend.wallet') ? 'active' : ''); ?>"> <?php if (isset($component)) { $__componentOriginal93770dd04190eddd1a649bd9eaf7ebdc = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal93770dd04190eddd1a649bd9eaf7ebdc = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.heroicons.share','data' => ['width' => '20','height' => '20','stroke' => 'currentColor']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.heroicons.share'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '20','height' => '20','stroke' => 'currentColor']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal93770dd04190eddd1a649bd9eaf7ebdc)): ?> <?php $attributes = $__attributesOriginal93770dd04190eddd1a649bd9eaf7ebdc; ?> <?php unset($__attributesOriginal93770dd04190eddd1a649bd9eaf7ebdc); ?> <?php endif; ?> <?php if (isset($__componentOriginal93770dd04190eddd1a649bd9eaf7ebdc)): ?> <?php $component = $__componentOriginal93770dd04190eddd1a649bd9eaf7ebdc; ?> <?php unset($__componentOriginal93770dd04190eddd1a649bd9eaf7ebdc); ?> <?php endif; ?>
<?php if(authUser()?->affiliate?->affiliate_code != null): ?> <span><?php echo e(__('affiliate_system')); ?></span> <?php else: ?> <span><?php echo e(__('become_an_affiliator')); ?></span> <?php endif; ?> </a> </li> <li> <a href="<?php echo e(route('frontend.account-setting')); ?>" class="hover:bg-primary-50 py-2 px-6 transition-all duration-300 flex text-gray-700 body-sm-400 items-center gap-3"> <?php if (isset($component)) { $__componentOriginal3fb56ae8c3115627688032236e495148 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal3fb56ae8c3115627688032236e495148 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.setting-icon','data' => ['width' => '20','height' => '20']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.setting-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['width' => '20','height' => '20']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal3fb56ae8c3115627688032236e495148)): ?> <?php $attributes = $__attributesOriginal3fb56ae8c3115627688032236e495148; ?> <?php unset($__attributesOriginal3fb56ae8c3115627688032236e495148); ?> <?php endif; ?> <?php if (isset($__componentOriginal3fb56ae8c3115627688032236e495148)): ?> <?php $component = $__componentOriginal3fb56ae8c3115627688032236e495148; ?> <?php unset($__componentOriginal3fb56ae8c3115627688032236e495148); ?> <?php endif; ?> <?php echo e(__('settings')); ?>
</a> </li> <li> <a href="javascript:void(0)" onclick="event.preventDefault();document.getElementById('logout-form').submit();" class="hover:bg-primary-50 py-2 px-6 transition-all duration-300 flex text-gray-700 body-sm-400 items-center gap-3"> <?php if (isset($component)) { $__componentOriginal1992ed69b0aece954e3e98f471d2935a = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal1992ed69b0aece954e3e98f471d2935a = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.logout-icon','data' => ['class' => 'w-5 h-5 me-2','width' => '20','height' => '20']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.logout-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'w-5 h-5 me-2','width' => '20','height' => '20']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal1992ed69b0aece954e3e98f471d2935a)): ?> <?php $attributes = $__attributesOriginal1992ed69b0aece954e3e98f471d2935a; ?> <?php unset($__attributesOriginal1992ed69b0aece954e3e98f471d2935a); ?> <?php endif; ?> <?php if (isset($__componentOriginal1992ed69b0aece954e3e98f471d2935a)): ?> <?php $component = $__componentOriginal1992ed69b0aece954e3e98f471d2935a; ?> <?php unset($__componentOriginal1992ed69b0aece954e3e98f471d2935a); ?> <?php endif; ?> <?php echo e(__('logout')); ?>
</a>
</li> <form id="logout-form" action="<?php echo e(route('frontend.logout')); ?>" method="POST" class="hidden invisible"> <?php echo csrf_field(); ?> </form> </ul> </div> </span> <?php else: ?> <a href="/login" class="inline-flex gap-1.5 items-center transition-all duration-300 text-white hover:text-primary-50 md:heading-07 heading-08"> <?php if (isset($component)) { $__componentOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd = $attributes; } ?> <?php $component = App\View\Components\Svg\UserIcon::resolve(['stroke' => '#fff'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.user-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Svg\UserIcon::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd)): ?> <?php $attributes = $__attributesOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd; ?> <?php unset($__attributesOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd); ?> <?php endif; ?> <?php if (isset($__componentOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd)): ?> <?php $component = $__componentOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd; ?> <?php unset($__componentOriginal53ba31d83ad3ef7a5c8fe13667e1fcdd); ?> <?php endif; ?> <span><?php echo e(__('login')); ?></span> </a> <?php endif; ?> <a href="<?php echo e(route('frontend.post')); ?>" class="inline-flex sm:gap-2 gap-1 items-center transition-all duration-300 bg-white hover:bg-primary-50 py-1 md:py-2 lg:py-3 px-1.5 md:px-3 lg:px-5 rounded-md heading-08 text-primary-500 hover:text-primary-700"> <?php if (isset($component)) { $__componentOriginal8d60e9734f08088023fa1e38c743407d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8d60e9734f08088023fa1e38c743407d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.plus-circle-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.plus-circle-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8d60e9734f08088023fa1e38c743407d)): ?> <?php $attributes = $__attributesOriginal8d60e9734f08088023fa1e38c743407d; ?> <?php unset($__attributesOriginal8d60e9734f08088023fa1e38c743407d); ?> <?php endif; ?> <?php if (isset($__componentOriginal8d60e9734f08088023fa1e38c743407d)): ?> <?php $component = $__componentOriginal8d60e9734f08088023fa1e38c743407d; ?> <?php unset($__componentOriginal8d60e9734f08088023fa1e38c743407d); ?> <?php endif; ?> <span><?php echo e(__('post_listing')); ?></span> </a> </div> </div> </div> </div> <?php /**PATH E:\add listing 8-9-25\addListing\resources\views/components/frontend/header/header-main.blade.php ENDPATH**/ ?>
|