Nuevos cambios hechos de diseño
This commit is contained in:
BIN
desarrollo2/resources/views/frontend/inc/desktop.ini
Normal file
BIN
desarrollo2/resources/views/frontend/inc/desktop.ini
Normal file
Binary file not shown.
647
desarrollo2/resources/views/frontend/inc/footer.blade.php
Normal file
647
desarrollo2/resources/views/frontend/inc/footer.blade.php
Normal file
@@ -0,0 +1,647 @@
|
||||
<!-- footer top Bar -->
|
||||
<section class="bg-light border-top mt-auto">
|
||||
<div class="container px-xs-0">
|
||||
<div class="row no-gutters border-left border-soft-light">
|
||||
<!-- Terms & conditions -->
|
||||
<div class="col-lg-3 col-6 policy-file">
|
||||
<a class="text-reset h-100 border-right border-bottom border-soft-light text-center p-2 p-md-4 d-block hov-ls-1" href="{{ route('terms') }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="26.004" height="32" viewBox="0 0 26.004 32">
|
||||
<path id="Union_8" data-name="Union 8" d="M-14508,18932v-.01a6.01,6.01,0,0,1-5.975-5.492h-.021v-14h1v13.5h0a4.961,4.961,0,0,0,4.908,4.994h.091v0h14v1Zm17-4v-1a2,2,0,0,0,2-2h1a3,3,0,0,1-2.927,3Zm-16,0a3,3,0,0,1-3-3h1a2,2,0,0,0,2,2h16v1Zm18-3v-16.994h-4v-1h3.6l-5.6-5.6v3.6h-.01a2.01,2.01,0,0,0,2,2v1a3.009,3.009,0,0,1-3-3h.01v-4h.6l0,0H-14507a2,2,0,0,0-2,2v22h-1v-22a3,3,0,0,1,3-3v0h12l0,0,7,7-.01.01V18925Zm-16-4.992v-1h12v1Zm0-4.006v-1h12v1Zm0-4v-1h12v1Z" transform="translate(14513.998 -18900.002)" fill="#919199"/>
|
||||
</svg>
|
||||
<h4 class="text-dark fs-14 fw-700 mt-3">{{ translate('Terms & conditions') }}</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Return Policy -->
|
||||
<div class="col-lg-3 col-6 policy-file">
|
||||
<a class="text-reset h-100 border-right border-bottom border-soft-light text-center p-2 p-md-4 d-block hov-ls-1" href="{{ route('returnpolicy') }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32.001" height="23.971" viewBox="0 0 32.001 23.971">
|
||||
<path id="Union_7" data-name="Union 7" d="M-14490,18922.967a6.972,6.972,0,0,0,4.949-2.051,6.944,6.944,0,0,0,2.052-4.943,7.008,7.008,0,0,0-7-7v0h-22.1l7.295,7.295-.707.707-7.779-7.779-.708-.707.708-.7,7.774-7.779.712.707-7.261,7.258H-14490v0a8.01,8.01,0,0,1,8,8,8.008,8.008,0,0,1-8,8Z" transform="translate(14514.001 -18900)" fill="#919199"/>
|
||||
</svg>
|
||||
<h4 class="text-dark fs-14 fw-700 mt-3">{{ translate('Return Policy') }}</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Support Policy -->
|
||||
<div class="col-lg-3 col-6 policy-file">
|
||||
<a class="text-reset h-100 border-right border-bottom border-soft-light text-center p-2 p-md-4 d-block hov-ls-1" href="{{ route('supportpolicy') }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32.002" height="32.002" viewBox="0 0 32.002 32.002">
|
||||
<g id="Group_24198" data-name="Group 24198" transform="translate(-1113.999 -2398)">
|
||||
<path id="Subtraction_14" data-name="Subtraction 14" d="M-14508,18916h0l-1,0a12.911,12.911,0,0,1,3.806-9.187A12.916,12.916,0,0,1-14496,18903a12.912,12.912,0,0,1,9.193,3.811A12.9,12.9,0,0,1-14483,18916l-1,0a11.918,11.918,0,0,0-3.516-8.484A11.919,11.919,0,0,0-14496,18904a11.921,11.921,0,0,0-8.486,3.516A11.913,11.913,0,0,0-14508,18916Z" transform="translate(15626 -16505)" fill="#919199"/>
|
||||
<path id="Subtraction_15" data-name="Subtraction 15" d="M-14510,18912h-1a3,3,0,0,1-3-3v-6a3,3,0,0,1,3-3h1a2,2,0,0,1,2,2v8A2,2,0,0,1-14510,18912Zm-1-11a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h1a1,1,0,0,0,1-1v-8a1,1,0,0,0-1-1Z" transform="translate(15628 -16489)" fill="#919199"/>
|
||||
<path id="Subtraction_19" data-name="Subtraction 19" d="M4,12H3A3,3,0,0,1,0,9V3A3,3,0,0,1,3,0H4A2,2,0,0,1,6,2v8A2,2,0,0,1,4,12ZM3,1A2,2,0,0,0,1,3V9a2,2,0,0,0,2,2H4a1,1,0,0,0,1-1V2A1,1,0,0,0,4,1Z" transform="translate(1146.002 2423) rotate(180)" fill="#919199"/>
|
||||
<path id="Subtraction_17" data-name="Subtraction 17" d="M-14512,18908a2,2,0,0,1-2-2v-4a2,2,0,0,1,2-2,2,2,0,0,1,2,2v4A2,2,0,0,1-14512,18908Zm0-7a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1,1,1,0,0,0,1-1v-4A1,1,0,0,0-14512,18901Z" transform="translate(20034 16940.002) rotate(90)" fill="#919199"/>
|
||||
<rect id="Rectangle_18418" data-name="Rectangle 18418" width="1" height="4.001" transform="translate(1137.502 2427.502) rotate(90)" fill="#919199"/>
|
||||
<path id="Intersection_1" data-name="Intersection 1" d="M-14508.5,18910a4.508,4.508,0,0,0,4.5-4.5h1a5.508,5.508,0,0,1-5.5,5.5Z" transform="translate(15646.004 -16482.5)" fill="#919199"/>
|
||||
</g>
|
||||
</svg>
|
||||
<h4 class="text-dark fs-14 fw-700 mt-3">{{ translate('Support Policy') }}</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Privacy Policy -->
|
||||
<div class="col-lg-3 col-6 policy-file">
|
||||
<a class="text-reset h-100 border-right border-bottom border-soft-light text-center p-2 p-md-4 d-block hov-ls-1" href="{{ route('privacypolicy') }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
||||
<g id="Group_24236" data-name="Group 24236" transform="translate(-1454.002 -2430.002)">
|
||||
<path id="Subtraction_11" data-name="Subtraction 11" d="M-14498,18932a15.894,15.894,0,0,1-11.312-4.687A15.909,15.909,0,0,1-14514,18916a15.884,15.884,0,0,1,4.685-11.309A15.9,15.9,0,0,1-14498,18900a15.909,15.909,0,0,1,11.316,4.688A15.885,15.885,0,0,1-14482,18916a15.9,15.9,0,0,1-4.687,11.316A15.909,15.909,0,0,1-14498,18932Zm0-31a14.9,14.9,0,0,0-10.605,4.393A14.9,14.9,0,0,0-14513,18916a14.9,14.9,0,0,0,4.395,10.607A14.9,14.9,0,0,0-14498,18931a14.9,14.9,0,0,0,10.607-4.393A14.9,14.9,0,0,0-14483,18916a14.9,14.9,0,0,0-4.393-10.607A14.9,14.9,0,0,0-14498,18901Z" transform="translate(15968 -16470)" fill="#919199"/>
|
||||
<g id="Group_24196" data-name="Group 24196" transform="translate(0 -1)">
|
||||
<rect id="Rectangle_18406" data-name="Rectangle 18406" width="2" height="10" transform="translate(1469 2440)" fill="#919199"/>
|
||||
<rect id="Rectangle_18407" data-name="Rectangle 18407" width="2" height="2" transform="translate(1469 2452)" fill="#919199"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<h4 class="text-dark fs-14 fw-700 mt-3">{{ translate('Privacy Policy') }}</h4>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- footer subscription & icons -->
|
||||
<section class="py-3 text-light footer-widget border-bottom" style="border-color: #fff !important; background-color: #E62E04 !important;">
|
||||
<div class="container">
|
||||
<!-- footer logo -->
|
||||
<div class="mt-3 mb-4">
|
||||
<a href="{{ route('home') }}" class="d-block">
|
||||
@if(get_setting('footer_logo') != null)
|
||||
<img class="lazyload" src="{{ static_asset('assets/img/placeholder-rect.jpg') }}" data-src="{{ uploaded_asset(get_setting('footer_logo')) }}" alt="{{ env('APP_NAME') }}" height="100">
|
||||
@else
|
||||
<img class="lazyload" src="{{ static_asset('assets/img/placeholder-rect.jpg') }}" data-src="{{ static_asset('assets/img/logo.png') }}" alt="{{ env('APP_NAME') }}" height="100">
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- about & subscription -->
|
||||
<div class="col-xl-6 col-lg-7">
|
||||
<div class="mb-4 text-secondary text-justify">
|
||||
{!! get_setting('about_us_description',null,App::getLocale()) !!}
|
||||
</div>
|
||||
<h5 class="fs-14 fw-700 text-white mt-1 mb-3">{{ translate('Subscribe to our newsletter for regular updates about Offers, Coupons & more') }}</h5>
|
||||
<div class="mb-3">
|
||||
<form method="POST" action="{{ route('subscribers.store') }}">
|
||||
@csrf
|
||||
<div class="row gutters-10">
|
||||
<div class="col-8">
|
||||
<input type="email" class="form-control border-white rounded-lapieza text-white w-100 bg-white" style="color=white; " placeholder="{{ translate('Your Email Address') }}" name="email" required>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<button type="submit" class="btn-lapieza rounded-lapieza w-100">{{ translate('Subscribe') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col d-none d-lg-block"></div>
|
||||
|
||||
<!-- Follow & Apps -->
|
||||
<div class="col-xxl-3 col-xl-4 col-lg-4">
|
||||
<!-- Social -->
|
||||
@if ( get_setting('show_social_links') )
|
||||
<h5 class="fs-14 fw-700 text-white text-uppercase mt-3 mt-lg-0">{{ translate('Follow Us') }}</h5>
|
||||
<ul class="list-inline social colored mb-4">
|
||||
@if (!empty(get_setting('facebook_link')))
|
||||
<li class="list-inline-item ml-2 mr-2">
|
||||
<a href="{{ get_setting('facebook_link') }}" target="_blank"
|
||||
class="facebook"><i class="lab la-facebook-f"></i></a>
|
||||
</li>
|
||||
@endif
|
||||
@if (!empty(get_setting('twitter_link')))
|
||||
<li class="list-inline-item ml-2 mr-2">
|
||||
<a href="{{ get_setting('twitter_link') }}" target="_blank"
|
||||
class="twitter"><i class="lab la-twitter"></i></a>
|
||||
</li>
|
||||
@endif
|
||||
@if (!empty(get_setting('instagram_link')))
|
||||
<li class="list-inline-item ml-2 mr-2">
|
||||
<a href="{{ get_setting('instagram_link') }}" target="_blank"
|
||||
class="instagram"><i class="lab la-instagram"></i></a>
|
||||
</li>
|
||||
@endif
|
||||
@if (!empty(get_setting('youtube_link')))
|
||||
<li class="list-inline-item ml-2 mr-2">
|
||||
<a href="{{ get_setting('youtube_link') }}" target="_blank"
|
||||
class="youtube"><i class="lab la-youtube"></i></a>
|
||||
</li>
|
||||
@endif
|
||||
@if (!empty(get_setting('linkedin_link')))
|
||||
<li class="list-inline-item ml-2 mr-2">
|
||||
<a href="{{ get_setting('linkedin_link') }}" target="_blank"
|
||||
class="linkedin"><i class="lab la-linkedin-in"></i></a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
|
||||
<!-- Apps link -->
|
||||
@if((get_setting('play_store_link') != null) || (get_setting('app_store_link') != null))
|
||||
<h5 class="fs-14 fw-700 text-secondary text-uppercase mt-3">{{ translate('Mobile Apps') }}</h5>
|
||||
<div class="d-flex mt-3">
|
||||
<div class="">
|
||||
<a href="{{ get_setting('play_store_link') }}" target="_blank" class="mr-2 mb-2 overflow-hidden hov-scale-img">
|
||||
<img class="lazyload has-transition" src="{{ static_asset('assets/img/placeholder-rect.jpg') }}" data-src="{{ static_asset('assets/img/play.png') }}" alt="{{ env('APP_NAME') }}" height="44">
|
||||
</a>
|
||||
</div>
|
||||
<div class="">
|
||||
<a href="{{ get_setting('app_store_link') }}" target="_blank" class="overflow-hidden hov-scale-img">
|
||||
<img class="lazyload has-transition" src="{{ static_asset('assets/img/placeholder-rect.jpg') }}" data-src="{{ static_asset('assets/img/app.png') }}" alt="{{ env('APP_NAME') }}" height="44">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@php
|
||||
$col_values = ((get_setting('vendor_system_activation') == 1) || addon_is_activated('delivery_boy')) ? "col-lg-3 col-md-6 col-sm-6" : "col-md-4 col-sm-6";
|
||||
@endphp
|
||||
<section class="py-lg-3 text-light footer-widget" style="background-color: #003b73 !important;">
|
||||
<!-- footer widgets ========== [Accordion Fotter widgets are bellow from this]-->
|
||||
<div class="container d-none d-lg-block">
|
||||
<div class="row">
|
||||
<!-- Contacts -->
|
||||
<div class="{{ $col_values }}">
|
||||
<div class="text-center text-sm-left mt-4">
|
||||
<h4 class="fs-14 text-white text-uppercase fw-700 mb-3">{{ translate('Contacts') }}</h4>
|
||||
<ul class="list-unstyled">
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-white mb-1">{{ translate('Address') }}</p>
|
||||
<p class="fs-13 text-soft-light">{{ get_setting('contact_address',null,App::getLocale()) }}</p>
|
||||
</li>
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-white mb-1">{{ translate('Phone') }}</p>
|
||||
<p class="fs-13 text-soft-light">{{ get_setting('contact_phone') }}</p>
|
||||
</li>
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-white mb-1">{{ translate('Email') }}</p>
|
||||
<p class="">
|
||||
<a href="mailto:{{ get_setting('contact_email') }}" class="fs-13 text-soft-light hov-text-primary">{{ get_setting('contact_email') }}</a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- My Account -->
|
||||
<div class="{{ $col_values }}">
|
||||
<div class="text-center text-sm-left mt-4">
|
||||
<h4 class="fs-14 text-white text-uppercase fw-700 mb-3">{{ translate('My Account') }}</h4>
|
||||
<ul class="list-unstyled">
|
||||
@if (Auth::check())
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 text-soft-light animate-underline-white" href="{{ route('logout') }}">
|
||||
{{ translate('Logout') }}
|
||||
</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 text-soft-light animate-underline-white" href="{{ route('user.login') }}">
|
||||
{{ translate('Login') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 text-soft-light animate-underline-white" href="{{ route('purchase_history.index') }}">
|
||||
{{ translate('Order History') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 text-soft-light animate-underline-white" href="{{ route('wishlists.index') }}">
|
||||
{{ translate('My Wishlist') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 text-soft-light animate-underline-white" href="{{ route('orders.track') }}">
|
||||
{{ translate('Track Order') }}
|
||||
</a>
|
||||
</li>
|
||||
@if (addon_is_activated('affiliate_system'))
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 text-soft-light animate-underline-white" href="{{ route('affiliate.apply') }}">
|
||||
{{ translate('Be an affiliate partner')}}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{-- by joan cambio de url en el boton de registro de tienda --}}
|
||||
<!-- Delivery Boy -->
|
||||
@if ((get_setting('vendor_system_activation') == 1) || addon_is_activated('delivery_boy'))
|
||||
<div class="col-lg-3 col-md-4 col-sm-6">
|
||||
<div class="text-center text-sm-left mt-4">
|
||||
<!-- Seller -->
|
||||
@if (get_setting('vendor_system_activation') == 1)
|
||||
<h4 class="fs-14 text-white text-uppercase fw-700 mb-3">{{ translate('Zona de Delivery') }}</h4>
|
||||
<ul class="list-unstyled">
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-soft-light mb-0">
|
||||
{{ translate('Conviertete en Delivery') }}
|
||||
<a target="_blank" href="{{ route('register') }}{{-- {{ route('shops.create') }} --}}" class="fs-13 fw-700 animate-underline-white text-white ml-2 btn btn-primary-lapieza">{{ translate('Apply Now') }}</a>
|
||||
</p>
|
||||
</li>
|
||||
@guest
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 fw-700 text-white animate-underline-white ml-2 btn btn-primary-lapieza" href="{{ route('deliveryboy.login') }}">
|
||||
{{ translate('Login to Delivery Boy Panel') }}
|
||||
</a>
|
||||
</li>
|
||||
@endguest
|
||||
@if(get_setting('delivery_boy_app_link'))
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 text-soft-light animate-underline-white" target="_blank" href="{{ get_setting('delivery_boy_app_link')}}">
|
||||
{{ translate('Download Delivery Boy App') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- by joan cambio de url en el boton de registro de tienda --}}
|
||||
<!-- Seller & Delivery Boy -->
|
||||
@if ((get_setting('vendor_system_activation') == 1) || addon_is_activated('delivery_boy'))
|
||||
<div class="col-lg-3 col-md-4 col-sm-6">
|
||||
<div class="text-center text-sm-left mt-4">
|
||||
<!-- Seller -->
|
||||
@if (get_setting('vendor_system_activation') == 1)
|
||||
<h4 class="fs-14 text-white text-uppercase fw-700 mb-3">{{ translate('Seller Zone') }}</h4>
|
||||
<ul class="list-unstyled">
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-soft-light mb-0">
|
||||
{{ translate('Become A Seller') }}
|
||||
<a target="_blank" href="{{ route('register') }}{{-- {{ route('shops.create') }} --}}" class="fs-13 fw-700 text-white animate-underline-white ml-2 btn btn-primary-lapieza">{{ translate('Apply Now') }}</a>
|
||||
</p>
|
||||
</li>
|
||||
@guest
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 fw-700 text-white animate-underline-white ml-2 btn btn-primary-lapieza" href="{{ route('seller.login') }}">
|
||||
{{ translate('Acceso Negocios') }}
|
||||
</a>
|
||||
</li>
|
||||
@endguest
|
||||
@if(get_setting('seller_app_link'))
|
||||
<li class="mb-2">
|
||||
<a class="fs-13 fw-700 text-white animate-underline-white ml-2 btn btn-primary-lapieza" target="_blank" href="{{ get_setting('seller_app_link')}}">
|
||||
{{ translate('Download Seller App') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Accordion Fotter widgets -->
|
||||
<div class="d-lg-none bg-transparent">
|
||||
<!-- Quick links -->
|
||||
<div class="aiz-accordion-wrap bg-black">
|
||||
<div class="aiz-accordion-heading container bg-black">
|
||||
<button class="aiz-accordion fs-14 text-white bg-transparent">{{ get_setting('widget_one',null,App::getLocale()) }}</button>
|
||||
</div>
|
||||
<div class="aiz-accordion-panel bg-transparent" style="background-color: #212129 !important;">
|
||||
<div class="container">
|
||||
<ul class="list-unstyled mt-3">
|
||||
@if ( get_setting('widget_one_labels',null,App::getLocale()) != null )
|
||||
@foreach (json_decode( get_setting('widget_one_labels',null,App::getLocale()), true) as $key => $value)
|
||||
<li class="mb-2 pb-2 @if (url()->current() == json_decode( get_setting('widget_one_links'), true)[$key]) active @endif">
|
||||
<a href="{{ json_decode( get_setting('widget_one_links'), true)[$key] }}" class="fs-13 text-soft-light text-sm-secondary animate-underline-white">
|
||||
{{ $value }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Contacts -->
|
||||
<div class="aiz-accordion-wrap bg-black">
|
||||
<div class="aiz-accordion-heading container bg-black">
|
||||
<button class="aiz-accordion fs-14 text-white bg-transparent">{{ translate('Contacts') }}</button>
|
||||
</div>
|
||||
<div class="aiz-accordion-panel bg-transparent" style="background-color: #212129 !important;">
|
||||
<div class="container">
|
||||
<ul class="list-unstyled mt-3">
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-secondary mb-1">{{ translate('Address') }}</p>
|
||||
<p class="fs-13 text-soft-light">{{ get_setting('contact_address',null,App::getLocale()) }}</p>
|
||||
</li>
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-secondary mb-1">{{ translate('Phone') }}</p>
|
||||
<p class="fs-13 text-soft-light">{{ get_setting('contact_phone') }}</p>
|
||||
</li>
|
||||
<li class="mb-2">
|
||||
<p class="fs-13 text-secondary mb-1">{{ translate('Email') }}</p>
|
||||
<p class="">
|
||||
<a href="mailto:{{ get_setting('contact_email') }}" class="fs-13 text-soft-light hov-text-primary">{{ get_setting('contact_email') }}</a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- My Account -->
|
||||
<div class="aiz-accordion-wrap bg-black">
|
||||
<div class="aiz-accordion-heading container bg-black">
|
||||
<button class="aiz-accordion fs-14 text-white bg-transparent">{{ translate('My Account') }}</button>
|
||||
</div>
|
||||
<div class="aiz-accordion-panel bg-transparent" style="background-color: #212129 !important;">
|
||||
<div class="container">
|
||||
<ul class="list-unstyled mt-3">
|
||||
@auth
|
||||
<li class="mb-2 pb-2">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('logout') }}">
|
||||
{{ translate('Logout') }}
|
||||
</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['user.login'],' active')}}">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('user.login') }}">
|
||||
{{ translate('Login') }}
|
||||
</a>
|
||||
</li>
|
||||
@endauth
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['purchase_history.index'],' active')}}">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('purchase_history.index') }}">
|
||||
{{ translate('Order History') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['wishlists.index'],' active')}}">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('wishlists.index') }}">
|
||||
{{ translate('My Wishlist') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['orders.track'],' active')}}">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('orders.track') }}">
|
||||
{{ translate('Track Order') }}
|
||||
</a>
|
||||
</li>
|
||||
@if (addon_is_activated('affiliate_system'))
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['affiliate.apply'],' active')}}">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('affiliate.apply') }}">
|
||||
{{ translate('Be an affiliate partner')}}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Seller -->
|
||||
@if (get_setting('vendor_system_activation') == 1)
|
||||
<div class="aiz-accordion-wrap bg-black">
|
||||
<div class="aiz-accordion-heading container bg-black">
|
||||
<button class="aiz-accordion fs-14 text-white bg-transparent">{{ translate('Seller Zone') }}</button>
|
||||
</div>
|
||||
<div class="aiz-accordion-panel bg-transparent" style="background-color: #212129 !important;">
|
||||
<div class="container">
|
||||
|
||||
<ul class="list-unstyled mt-3">
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['shops.create'],' active')}}">
|
||||
<p class="fs-13 text-soft-light text-sm-secondary mb-0">
|
||||
{{ translate('Become A Seller') }}
|
||||
<a href="http://registro.lapieza.net" class="fs-13 fw-700 text-warning ml-2 btn btn-primary-lapieza">{{ translate('Apply Now') }}</a>
|
||||
</p>
|
||||
</li>
|
||||
@guest
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['deliveryboy.login'],' active')}}">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('seller.login') }}">
|
||||
{{ translate('Login to Seller Panel') }}
|
||||
</a>
|
||||
</li>
|
||||
@endguest
|
||||
@if(get_setting('seller_app_link'))
|
||||
<li class="mb-2 pb-2">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" target="_blank" href="{{ get_setting('seller_app_link')}}">
|
||||
{{ translate('Download Seller App') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Delivery Boy -->
|
||||
@if (addon_is_activated('delivery_boy'))
|
||||
<div class="aiz-accordion-wrap bg-black">
|
||||
<div class="aiz-accordion-heading container bg-black">
|
||||
<button class="aiz-accordion fs-14 text-white bg-transparent">{{ translate('Delivery Boy') }}</button>
|
||||
</div>
|
||||
<div class="aiz-accordion-panel bg-transparent" style="background-color: #212129 !important;">
|
||||
<div class="container">
|
||||
<ul class="list-unstyled mt-3">
|
||||
@guest
|
||||
<li class="mb-2 pb-2 {{ areActiveRoutes(['deliveryboy.login'],' active')}}">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" href="{{ route('deliveryboy.login') }}">
|
||||
{{ translate('Login to Delivery Boy Panel') }}
|
||||
</a>
|
||||
</li>
|
||||
@endguest
|
||||
@if(get_setting('delivery_boy_app_link'))
|
||||
<li class="mb-2 pb-2">
|
||||
<a class="fs-13 text-soft-light text-sm-secondary animate-underline-white" target="_blank" href="{{ get_setting('delivery_boy_app_link')}}">
|
||||
{{ translate('Download Delivery Boy App') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- FOOTER -->
|
||||
<footer class="pt-3 pb-7 pb-xl-3 text-soft-light" style="background-color:#003567;">
|
||||
<div class="container">
|
||||
<div class="row align-items-center py-3">
|
||||
<!-- Copyright -->
|
||||
<div class="col-lg-6 order-1 order-lg-0">
|
||||
<div class="text-center text-lg-left fs-14" current-verison="{{get_setting("current_version")}}">
|
||||
{!! get_setting('frontend_copyright_text', null, App::getLocale()) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Payment Method Images -->
|
||||
<div class="col-lg-6 mb-4 mb-lg-0">
|
||||
<div class="text-center text-lg-right">
|
||||
<ul class="list-inline mb-0">
|
||||
@if ( get_setting('payment_method_images') != null )
|
||||
@foreach (explode(',', get_setting('payment_method_images')) as $key => $value)
|
||||
<li class="list-inline-item mr-3">
|
||||
<img src="{{ uploaded_asset($value) }}" height="20" class="mw-100 h-auto" style="max-height: 20px">
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Mobile bottom nav -->
|
||||
<div class="aiz-mobile-bottom-nav d-xl-none fixed-bottom border-top border-sm-bottom border-sm-left border-sm-right mx-auto mb-sm-2" style="background-color: rgb(255 255 255 / 90%)!important;">
|
||||
<div class="row align-items-center gutters-5">
|
||||
<!-- Home -->
|
||||
<div class="col">
|
||||
<a href="{{ route('home') }}" class="text-secondary d-block text-center pb-2 pt-3 {{ areActiveRoutes(['home'],'svg-active')}}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_24768" data-name="Group 24768" transform="translate(3495.144 -602)">
|
||||
<path id="Path_2916" data-name="Path 2916" d="M15.3,5.4,9.561.481A2,2,0,0,0,8.26,0H7.74a2,2,0,0,0-1.3.481L.7,5.4A2,2,0,0,0,0,6.92V14a2,2,0,0,0,2,2H14a2,2,0,0,0,2-2V6.92A2,2,0,0,0,15.3,5.4M10,15H6V9A1,1,0,0,1,7,8H9a1,1,0,0,1,1,1Zm5-1a1,1,0,0,1-1,1H11V9A2,2,0,0,0,9,7H7A2,2,0,0,0,5,9v6H2a1,1,0,0,1-1-1V6.92a1,1,0,0,1,.349-.76l5.74-4.92A1,1,0,0,1,7.74,1h.52a1,1,0,0,1,.651.24l5.74,4.92A1,1,0,0,1,15,6.92Z" transform="translate(-3495.144 602)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset {{ areActiveRoutes(['home'],'text-primary')}}">{{ translate('Home') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Categories -->
|
||||
<div class="col">
|
||||
<a href="{{ route('categories.all') }}" class="text-secondary d-block text-center pb-2 pt-3 {{ areActiveRoutes(['categories.all'],'svg-active')}}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_25497" data-name="Group 25497" transform="translate(3373.432 -602)">
|
||||
<path id="Path_2917" data-name="Path 2917" d="M126.713,0h-5V5a2,2,0,0,0,2,2h3a2,2,0,0,0,2-2V2a2,2,0,0,0-2-2m1,5a1,1,0,0,1-1,1h-3a1,1,0,0,1-1-1V1h4a1,1,0,0,1,1,1Z" transform="translate(-3495.144 602)" fill="#91919c"/>
|
||||
<path id="Path_2918" data-name="Path 2918" d="M144.713,18h-3a2,2,0,0,0-2,2v3a2,2,0,0,0,2,2h5V20a2,2,0,0,0-2-2m1,6h-4a1,1,0,0,1-1-1V20a1,1,0,0,1,1-1h3a1,1,0,0,1,1,1Z" transform="translate(-3504.144 593)" fill="#91919c"/>
|
||||
<path id="Path_2919" data-name="Path 2919" d="M143.213,0a3.5,3.5,0,1,0,3.5,3.5,3.5,3.5,0,0,0-3.5-3.5m0,6a2.5,2.5,0,1,1,2.5-2.5,2.5,2.5,0,0,1-2.5,2.5" transform="translate(-3504.144 602)" fill="#91919c"/>
|
||||
<path id="Path_2920" data-name="Path 2920" d="M125.213,18a3.5,3.5,0,1,0,3.5,3.5,3.5,3.5,0,0,0-3.5-3.5m0,6a2.5,2.5,0,1,1,2.5-2.5,2.5,2.5,0,0,1-2.5,2.5" transform="translate(-3495.144 593)" fill="#91919c"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset {{ areActiveRoutes(['categories.all'],'text-primary')}}">{{ translate('Categories') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
@php
|
||||
if(auth()->user() != null) {
|
||||
$user_id = Auth::user()->id;
|
||||
$cart = \App\Models\Cart::where('user_id', $user_id)->get();
|
||||
} else {
|
||||
$temp_user_id = Session()->get('temp_user_id');
|
||||
if($temp_user_id) {
|
||||
$cart = \App\Models\Cart::where('temp_user_id', $temp_user_id)->get();
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
|
||||
<!-- Cart -->
|
||||
@php
|
||||
$count = (isset($cart) && count($cart)) ? count($cart) : 0;
|
||||
@endphp
|
||||
<div class="col-auto">
|
||||
<a href="{{ route('cart') }}" class="text-secondary d-block text-center pb-2 pt-3 px-3 {{ areActiveRoutes(['cart'],'svg-active')}}">
|
||||
<span class="d-inline-block position-relative px-2">
|
||||
<svg id="Group_25499" data-name="Group 25499" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16.001" height="16" viewBox="0 0 16.001 16">
|
||||
<defs>
|
||||
<clipPath id="clip-pathw">
|
||||
<rect id="Rectangle_1383" data-name="Rectangle 1383" width="16" height="16" fill="#91919c"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g id="Group_8095" data-name="Group 8095" transform="translate(0 0)" clip-path="url(#clip-pathw)">
|
||||
<path id="Path_2926" data-name="Path 2926" d="M8,24a2,2,0,1,0,2,2,2,2,0,0,0-2-2m0,3a1,1,0,1,1,1-1,1,1,0,0,1-1,1" transform="translate(-3 -11.999)" fill="#91919c"/>
|
||||
<path id="Path_2927" data-name="Path 2927" d="M24,24a2,2,0,1,0,2,2,2,2,0,0,0-2-2m0,3a1,1,0,1,1,1-1,1,1,0,0,1-1,1" transform="translate(-10.999 -11.999)" fill="#91919c"/>
|
||||
<path id="Path_2928" data-name="Path 2928" d="M15.923,3.975A1.5,1.5,0,0,0,14.5,2h-9a.5.5,0,1,0,0,1h9a.507.507,0,0,1,.129.017.5.5,0,0,1,.355.612l-1.581,6a.5.5,0,0,1-.483.372H5.456a.5.5,0,0,1-.489-.392L3.1,1.176A1.5,1.5,0,0,0,1.632,0H.5a.5.5,0,1,0,0,1H1.544a.5.5,0,0,1,.489.392L3.9,9.826A1.5,1.5,0,0,0,5.368,11h7.551a1.5,1.5,0,0,0,1.423-1.026Z" transform="translate(0 -0.001)" fill="#91919c"/>
|
||||
</g>
|
||||
</svg>
|
||||
@if($count > 0)
|
||||
<span class="badge badge-sm badge-dot badge-circle badge-primary position-absolute absolute-top-right" style="right: 5px;top: -2px;"></span>
|
||||
@endif
|
||||
</span>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset {{ areActiveRoutes(['cart'],'text-primary')}}">
|
||||
{{ translate('Cart') }}
|
||||
(<span class="cart-count">{{$count}}</span>)
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Notifications -->
|
||||
<div class="col">
|
||||
<a href="{{ route('all-notifications') }}" class="text-secondary d-block text-center pb-2 pt-3 {{ areActiveRoutes(['all-notifications'],'svg-active')}}">
|
||||
<span class="d-inline-block position-relative px-2">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="13.6" height="16" viewBox="0 0 13.6 16">
|
||||
<path id="ecf3cc267cd87627e58c1954dc6fbcc2" d="M5.488,14.056a.617.617,0,0,0-.8-.016.6.6,0,0,0-.082.855A2.847,2.847,0,0,0,6.835,16h0l.174-.007a2.846,2.846,0,0,0,2.048-1.1h0l.053-.073a.6.6,0,0,0-.134-.782.616.616,0,0,0-.862.081,1.647,1.647,0,0,1-.334.331,1.591,1.591,0,0,1-2.222-.331H5.55ZM6.828,0C4.372,0,1.618,1.732,1.306,4.512h0v1.45A3,3,0,0,1,.6,7.37a.535.535,0,0,0-.057.077A3.248,3.248,0,0,0,0,9.088H0l.021.148a3.312,3.312,0,0,0,.752,2.2,3.909,3.909,0,0,0,2.5,1.232,32.525,32.525,0,0,0,7.1,0,3.865,3.865,0,0,0,2.456-1.232A3.264,3.264,0,0,0,13.6,9.249h0v-.1a3.361,3.361,0,0,0-.582-1.682h0L12.96,7.4a3.067,3.067,0,0,1-.71-1.408h0V4.54l-.039-.081a.612.612,0,0,0-1.132.208h0v1.45a.363.363,0,0,0,0,.077,4.21,4.21,0,0,0,.979,1.957,2.022,2.022,0,0,1,.312,1h0v.155a2.059,2.059,0,0,1-.468,1.373,2.656,2.656,0,0,1-1.661.788,32.024,32.024,0,0,1-6.87,0,2.663,2.663,0,0,1-1.7-.824,2.037,2.037,0,0,1-.447-1.33h0V9.151a2.1,2.1,0,0,1,.305-1.007A4.212,4.212,0,0,0,2.569,6.187a.363.363,0,0,0,0-.077h0V4.653a4.157,4.157,0,0,1,4.2-3.442,4.608,4.608,0,0,1,2.257.584h0l.084.042A.615.615,0,0,0,9.649,1.8.6.6,0,0,0,9.624.739,5.8,5.8,0,0,0,6.828,0Z" fill="#91919b"/>
|
||||
</svg>
|
||||
@if(Auth::check() && count(Auth::user()->unreadNotifications) > 0)
|
||||
<span class="badge badge-sm badge-dot badge-circle badge-primary position-absolute absolute-top-right" style="right: 5px;top: -2px;"></span>
|
||||
@endif
|
||||
</span>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset {{ areActiveRoutes(['all-notifications'],'text-primary')}}">{{ translate('Notifications') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Account -->
|
||||
<div class="col">
|
||||
@if (Auth::check())
|
||||
@if(isAdmin())
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-secondary d-block text-center pb-2 pt-3">
|
||||
<span class="d-block mx-auto">
|
||||
@if(Auth::user()->photo != null)
|
||||
<img src="{{ custom_asset(Auth::user()->avatar_original)}}" class="rounded-circle size-20px">
|
||||
@else
|
||||
<img src="{{ static_asset('assets/img/avatar-place.png') }}" class="rounded-circle size-20px">
|
||||
@endif
|
||||
</span>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset">{{ translate('My Account') }}</span>
|
||||
</a>
|
||||
@elseif(isSeller())
|
||||
<a href="{{ route('dashboard') }}" class="text-secondary d-block text-center pb-2 pt-3">
|
||||
<span class="d-block mx-auto">
|
||||
@if(Auth::user()->photo != null)
|
||||
<img src="{{ custom_asset(Auth::user()->avatar_original)}}" class="rounded-circle size-20px">
|
||||
@else
|
||||
<img src="{{ static_asset('assets/img/avatar-place.png') }}" class="rounded-circle size-20px">
|
||||
@endif
|
||||
</span>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset">{{ translate('My Account') }}</span>
|
||||
</a>
|
||||
@else
|
||||
<a href="javascript:void(0)" class="text-secondary d-block text-center pb-2 pt-3 mobile-side-nav-thumb" data-toggle="class-toggle" data-backdrop="static" data-target=".aiz-mobile-side-nav">
|
||||
<span class="d-block mx-auto">
|
||||
@if(Auth::user()->photo != null)
|
||||
<img src="{{ custom_asset(Auth::user()->avatar_original)}}" class="rounded-circle size-20px">
|
||||
@else
|
||||
<img src="{{ static_asset('assets/img/avatar-place.png') }}" class="rounded-circle size-20px">
|
||||
@endif
|
||||
</span>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset">{{ translate('My Account') }}</span>
|
||||
</a>
|
||||
@endif
|
||||
@else
|
||||
<a href="{{ route('user.login') }}" class="text-secondary d-block text-center pb-2 pt-3">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_8094" data-name="Group 8094" transform="translate(3176 -602)">
|
||||
<path id="Path_2924" data-name="Path 2924" d="M331.144,0a4,4,0,1,0,4,4,4,4,0,0,0-4-4m0,7a3,3,0,1,1,3-3,3,3,0,0,1-3,3" transform="translate(-3499.144 602)" fill="#b5b5bf"/>
|
||||
<path id="Path_2925" data-name="Path 2925" d="M332.144,20h-10a3,3,0,0,0,0,6h10a3,3,0,0,0,0-6m0,5h-10a2,2,0,0,1,0-4h10a2,2,0,0,1,0,4" transform="translate(-3495.144 592)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="d-block mt-1 fs-10 fw-600 text-reset">{{ translate('My Account') }}</span>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- User Side nav -->
|
||||
@if (Auth::check() && !isAdmin())
|
||||
<div class="aiz-mobile-side-nav collapse-sidebar-wrap sidebar-xl d-xl-none z-1035">
|
||||
<div class="overlay dark c-pointer overlay-fixed" data-toggle="class-toggle" data-backdrop="static" data-target=".aiz-mobile-side-nav" data-same=".mobile-side-nav-thumb"></div>
|
||||
<div class="collapse-sidebar bg-white">
|
||||
@include('frontend.inc.user_side_nav')
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
679
desarrollo2/resources/views/frontend/inc/nav.blade.php
Normal file
679
desarrollo2/resources/views/frontend/inc/nav.blade.php
Normal file
@@ -0,0 +1,679 @@
|
||||
<!-- Top Bar Banner -->
|
||||
@if(get_setting('topbar_banner') != null)
|
||||
<div class="position-relative top-banner removable-session z-1035 d-none" data-key="top-banner" data-value="removed">
|
||||
<a href="{{ get_setting('topbar_banner_link') }}" class="d-block text-reset">
|
||||
<img src="{{ uploaded_asset(get_setting('topbar_banner')) }}" class="d-none d-xl-block img-fit"> <!-- For Large device -->
|
||||
<img src="{{ get_setting('topbar_banner_medium') != null ? uploaded_asset(get_setting('topbar_banner_medium')) : uploaded_asset(get_setting('topbar_banner')) }}" class="d-none d-md-block d-xl-none img-fit"> <!-- For Medium device -->
|
||||
<img src="{{ get_setting('topbar_banner_small') != null ? uploaded_asset(get_setting('topbar_banner_small')) : uploaded_asset(get_setting('topbar_banner')) }}" class="d-md-none img-fit"> <!-- For Small device -->
|
||||
</a>
|
||||
<button class="btn text-white h-100 absolute-top-right set-session" data-key="top-banner" data-value="removed" data-toggle="remove-parent" data-parent=".top-banner">
|
||||
<i class="la la-close la-2x"></i>
|
||||
</button>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- Top Bar -->
|
||||
<div class="top-navbar bg-lapieza z-1035 h-35px h-sm-auto">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col">
|
||||
<ul class="list-inline d-flex justify-content-between justify-content-lg-start mb-0">
|
||||
<!-- Language switcher -->
|
||||
@if(get_setting('show_language_switcher') == 'off')
|
||||
<li class="list-inline-item dropdown mr-4" id="lang-change">
|
||||
@php
|
||||
if(Session::has('locale')){
|
||||
$locale = Session::get('locale', Config::get('app.locale'));
|
||||
}
|
||||
else{
|
||||
$locale = 'en';
|
||||
}
|
||||
@endphp
|
||||
<a href="javascript:void(0)" class="dropdown-toggle text-white fs-12 py-2" data-toggle="dropdown" data-display="static">
|
||||
<span class="">{{ \App\Models\Language::where('code', $locale)->first()->name }}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-left">
|
||||
@foreach (\App\Models\Language::where('status', 1)->get() as $key => $language)
|
||||
<li>
|
||||
<a href="javascript:void(0)" data-flag="{{ $language->code }}" class="dropdown-item @if($locale == $language) active @endif">
|
||||
<img src="{{ static_asset('assets/img/placeholder.jpg') }}" data-src="{{ static_asset('assets/img/flags/'.$language->code.'.png') }}" class="mr-1 lazyload" alt="{{ $language->name }}" height="11">
|
||||
<span class="language">{{ $language->name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- Currency Switcher -->
|
||||
@if(get_setting('show_currency_switcher') == 'off')
|
||||
<li class="list-inline-item dropdown ml-auto ml-lg-0 mr-0" id="currency-change">
|
||||
@php
|
||||
if(Session::has('currency_code')){
|
||||
$currency_code = Session::get('currency_code');
|
||||
}
|
||||
else{
|
||||
$currency_code = \App\Models\Currency::findOrFail(get_setting('system_default_currency'))->code;
|
||||
}
|
||||
@endphp
|
||||
<a href="javascript:void(0)" class="dropdown-toggle text-secondary fs-12 py-2" data-toggle="dropdown" data-display="static">
|
||||
{{ \App\Models\Currency::where('code', $currency_code)->first()->name }}
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-right dropdown-menu-lg-left">
|
||||
@foreach (\App\Models\Currency::where('status', 1)->get() as $key => $currency)
|
||||
<li>
|
||||
<a class="dropdown-item @if($currency_code == $currency->code) active @endif" href="javascript:void(0)" data-currency="{{ $currency->code }}">{{ $currency->name }} ({{ $currency->symbol }})</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-6 text-right d-none d-lg-block">
|
||||
<ul class="list-inline mb-0 h-100 d-flex justify-content-end align-items-center">
|
||||
@if (get_setting('vendor_system_activation') == 0)
|
||||
<!-- Become a Seller -->
|
||||
<li class="list-inline-item mr-0 pl-0 py-2">
|
||||
<a href="{{ route('shops.create') }}" class="text-white fs-12 pr-3 d-inline-block border-width-2 border-right">{{ translate('Become a Seller !')}}</a>
|
||||
</li>
|
||||
<!-- Seller Login -->
|
||||
<li class="list-inline-item mr-0 pl-0 py-2">
|
||||
<a href="{{ route('seller.login') }}" class="text-white fs-12 pl-3 d-inline-block">{{ translate('Login to Seller')}}</a>
|
||||
</li>
|
||||
@endif
|
||||
@if (get_setting('helpline_number'))
|
||||
<!-- Helpline -->
|
||||
<li class="list-inline-item ml-3 pl-3 mr-0 pr-0">
|
||||
<a href="tel:{{ get_setting('helpline_number') }}" class="text-secondary fs-12 d-inline-block py-2">
|
||||
<span>{{ translate('Helpline')}}</span>
|
||||
<span>{{ get_setting('helpline_number') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<header class="@if(get_setting('header_stikcy') == 'on') sticky-top @endif z-1020 bg-lapieza">
|
||||
<!-- Search Bar -->
|
||||
<div class="position-relative logo-bar-area border-bottom border-md-none border-lapieza z-1025">
|
||||
<div class="container">
|
||||
<div class="d-flex align-items-center">
|
||||
<!-- top menu sidebar button -->
|
||||
<button type="button" class="btn d-lg-none mr-3 mr-sm-4 p-0 active" data-toggle="class-toggle" data-target=".aiz-top-menu-sidebar">
|
||||
<svg id="Component_43_1" data-name="Component 43 – 1" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<rect id="Rectangle_19062" data-name="Rectangle 19062" width="16" height="2" transform="translate(0 7)" fill="#919199"/>
|
||||
<rect id="Rectangle_19063" data-name="Rectangle 19063" width="16" height="2" fill="#919199"/>
|
||||
<rect id="Rectangle_19064" data-name="Rectangle 19064" width="16" height="2" transform="translate(0 14)" fill="#919199"/>
|
||||
</svg>
|
||||
|
||||
</button>
|
||||
<!-- Header Logo -->
|
||||
<div class="col-auto pl-0 pr-3 d-flex align-items-center">
|
||||
<a class="d-block py-20px mr-3 ml-0" href="{{ route('home') }}">
|
||||
@php
|
||||
$header_logo = get_setting('header_logo');
|
||||
@endphp
|
||||
@if($header_logo != null)
|
||||
<img src="{{ uploaded_asset($header_logo) }}" alt="{{ env('APP_NAME') }}" class="mw-100 h-80px h-md-100px" height="100">
|
||||
@else
|
||||
<img src="{{ static_asset('assets/img/logo.png') }}" alt="{{ env('APP_NAME') }}" class="mw-100 h-80px h-md-100px" height="100">
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
<!-- Search Icon for small device -->
|
||||
<div class="d-lg-none ml-auto mr-5">
|
||||
<a class="p-2 d-block text-reset" href="javascript:void(0);" data-toggle="class-toggle" data-target=".front-header-search">
|
||||
<svg id="Group_723" data-name="Group 723" xmlns="http://www.w3.org/2000/svg" width="20.001" height="20" viewBox="0 0 20.001 20">
|
||||
<path id="Path_3090" data-name="Path 3090" d="M9.847,17.839a7.993,7.993,0,1,1,7.993-7.993A8,8,0,0,1,9.847,17.839Zm0-14.387a6.394,6.394,0,1,0,6.394,6.394A6.4,6.4,0,0,0,9.847,3.453Z" transform="translate(-1.854 -1.854)" fill="#b5b5bf"/>
|
||||
<path id="Path_3091" data-name="Path 3091" d="M24.4,25.2a.8.8,0,0,1-.565-.234l-6.15-6.15a.8.8,0,0,1,1.13-1.13l6.15,6.15A.8.8,0,0,1,24.4,25.2Z" transform="translate(-5.2 -5.2)" fill="#b5b5bf"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
<!-- Search field -->
|
||||
<div class="flex-grow-1 front-header-search d-flex align-items-center bg-lapieza mx-xl-5">
|
||||
<div class="position-relative flex-grow-1 px-3 px-lg-0">
|
||||
<form action="{{ route('search') }}" method="GET" class="stop-propagation">
|
||||
<div class="d-flex position-relative align-items-center">
|
||||
<div class="d-lg-none" data-toggle="class-toggle" data-target=".front-header-search">
|
||||
<button class="btn px-2" type="button"><i class="la la-2x la-long-arrow-left" style="color:white;"></i></button>
|
||||
</div>
|
||||
<div class="search-input-box">
|
||||
<input type="text" class="border border-white form-control fs-14 hov-animate-outline" id="search" name="keyword" @isset($query)
|
||||
value="{{ $query }}"
|
||||
@endisset placeholder="{{translate('I am shopping for...')}}" autocomplete="off">
|
||||
|
||||
<svg id="Group_723" data-name="Group 723" xmlns="http://www.w3.org/2000/svg" width="20.001" height="20" viewBox="0 0 20.001 20">
|
||||
<path id="Path_3090" data-name="Path 3090" d="M9.847,17.839a7.993,7.993,0,1,1,7.993-7.993A8,8,0,0,1,9.847,17.839Zm0-14.387a6.394,6.394,0,1,0,6.394,6.394A6.4,6.4,0,0,0,9.847,3.453Z" transform="translate(-1.854 -1.854)" fill="#b5b5bf"/>
|
||||
<path id="Path_3091" data-name="Path 3091" d="M24.4,25.2a.8.8,0,0,1-.565-.234l-6.15-6.15a.8.8,0,0,1,1.13-1.13l6.15,6.15A.8.8,0,0,1,24.4,25.2Z" transform="translate(-5.2 -5.2)" fill="#b5b5bf"/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="typed-search-box stop-propagation document-click-d-none d-none bg-white rounded shadow-lg position-absolute left-0 top-100 w-100" style="min-height: 200px">
|
||||
<div class="search-preloader absolute-top-center">
|
||||
<div class="dot-loader"><div></div><div></div><div></div></div>
|
||||
</div>
|
||||
<div class="search-nothing d-none p-3 text-center fs-16">
|
||||
|
||||
</div>
|
||||
<div id="search-content" class="text-left">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Search box -->
|
||||
<div class="d-none d-lg-none ml-3 mr-0">
|
||||
<div class="nav-search-box">
|
||||
<a href="#" class="nav-box-link">
|
||||
<i class="la la-search la-flip-horizontal d-inline-block nav-box-icon"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- CAMBIO BARRA IDIOMA -->
|
||||
|
||||
|
||||
<ul class="list-inline d-flex justify-content-between justify-content-lg-start mb-0 hideIdioma">
|
||||
<!-- Language switcher -->
|
||||
@if(get_setting('show_language_switcher') == 'on')
|
||||
<li class="list-inline-item dropdown mr-4" id="lang-change">
|
||||
@php
|
||||
if(Session::has('locale')){
|
||||
$locale = Session::get('locale', Config::get('app.locale'));
|
||||
}
|
||||
else{
|
||||
$locale = 'en';
|
||||
}
|
||||
@endphp
|
||||
<a href="javascript:void(0)" class="dropdown-toggle text-white fs-12 py-2" data-toggle="dropdown" data-display="static">
|
||||
<span class="">{{ \App\Models\Language::where('code', $locale)->first()->name }}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-left">
|
||||
@foreach (\App\Models\Language::where('status', 1)->get() as $key => $language)
|
||||
<li>
|
||||
<a href="javascript:void(0)" data-flag="{{ $language->code }}" class="dropdown-item @if($locale == $language) active @endif">
|
||||
<img src="{{ static_asset('assets/img/placeholder.jpg') }}" data-src="{{ static_asset('assets/img/flags/'.$language->code.'.png') }}" class="mr-1 lazyload" alt="{{ $language->name }}" height="11">
|
||||
<span class="language">{{ $language->name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- Currency Switcher -->
|
||||
@if(get_setting('show_currency_switcher') == 'off')
|
||||
<li class="list-inline-item dropdown ml-auto ml-lg-0 mr-0" id="currency-change">
|
||||
@php
|
||||
if(Session::has('currency_code')){
|
||||
$currency_code = Session::get('currency_code');
|
||||
}
|
||||
else{
|
||||
$currency_code = \App\Models\Currency::findOrFail(get_setting('system_default_currency'))->code;
|
||||
}
|
||||
@endphp
|
||||
<a href="javascript:void(0)" class="dropdown-toggle text-secondary fs-12 py-2" data-toggle="dropdown" data-display="static">
|
||||
{{ \App\Models\Currency::where('code', $currency_code)->first()->name }}
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-right dropdown-menu-lg-left">
|
||||
@foreach (\App\Models\Currency::where('status', 1)->get() as $key => $currency)
|
||||
<li>
|
||||
<a class="dropdown-item @if($currency_code == $currency->code) active @endif" href="javascript:void(0)" data-currency="{{ $currency->code }}">{{ $currency->name }} ({{ $currency->symbol }})</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- CAMBIO BARRA DE IDIOMA -->
|
||||
<!-- Compare -->
|
||||
<div class="d-none d-lg-block ml-3 mr-0">
|
||||
<div class="" id="compare">
|
||||
@include('frontend.partials.compare')
|
||||
</div>
|
||||
</div>
|
||||
<!-- Wishlist -->
|
||||
<div class="d-none d-lg-block mr-3" style="margin-left: 36px;">
|
||||
<div class="" id="wishlist">
|
||||
@include('frontend.partials.wishlist')
|
||||
</div>
|
||||
</div>
|
||||
<!-- Notifications -->
|
||||
<ul class="list-inline mb-0 h-100 d-none d-xl-flex justify-content-end align-items-center">
|
||||
<li class="list-inline-item ml-3 mr-3 pr-3 pl-0 dropdown">
|
||||
<a class="dropdown-toggle no-arrow text-secondary fs-12" data-toggle="dropdown" href="javascript:void(0);" role="button" aria-haspopup="false" aria-expanded="false">
|
||||
<span class="">
|
||||
<span class="position-relative d-inline-block">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="14.668" height="16" viewBox="0 0 14.668 16">
|
||||
<path id="_26._Notification" data-name="26. Notification" d="M8.333,16A3.34,3.34,0,0,0,11,14.667H5.666A3.34,3.34,0,0,0,8.333,16ZM15.06,9.78a2.457,2.457,0,0,1-.727-1.747V6a6,6,0,1,0-12,0V8.033A2.457,2.457,0,0,1,1.606,9.78,2.083,2.083,0,0,0,3.08,13.333H13.586A2.083,2.083,0,0,0,15.06,9.78Z" transform="translate(-0.999)" fill="#fff"/>
|
||||
</svg>
|
||||
@if(Auth::check() && count(Auth::user()->unreadNotifications) > 0)
|
||||
<span class="badge badge-primary badge-inline badge-pill absolute-top-right--10px">{{ count(Auth::user()->unreadNotifications) }}</span>
|
||||
@endif
|
||||
</span>
|
||||
</a>
|
||||
|
||||
@auth
|
||||
<div class="dropdown-menu dropdown-menu-right dropdown-menu-lg py-0 rounded-0">
|
||||
<div class="p-3 bg-light border-bottom">
|
||||
<h6 class="mb-0">{{ translate('Notifications') }}</h6>
|
||||
</div>
|
||||
<div class="px-3 c-scrollbar-light overflow-auto " style="max-height:300px;">
|
||||
<ul class="list-group list-group-flush" >
|
||||
@forelse(Auth::user()->unreadNotifications as $notification)
|
||||
<li class="list-group-item">
|
||||
@if($notification->type == 'App\Notifications\OrderNotification')
|
||||
@if(Auth::user()->user_type == 'customer')
|
||||
<a href="{{route('purchase_history.details', encrypt($notification->data['order_id']))}}" class="text-secondary fs-12">
|
||||
<span class="ml-2">
|
||||
{{translate('Order code: ')}} {{$notification->data['order_code']}} {{ translate('has been '. ucfirst(str_replace('_', ' ', $notification->data['status'])))}}
|
||||
</span>
|
||||
</a>
|
||||
@elseif (Auth::user()->user_type == 'seller')
|
||||
<a href="{{ route('seller.orders.show', encrypt($notification->data['order_id'])) }}" class="text-secondary fs-12">
|
||||
<span class="ml-2">
|
||||
{{translate('Order code: ')}} {{$notification->data['order_code']}} {{ translate('has been '. ucfirst(str_replace('_', ' ', $notification->data['status'])))}}
|
||||
</span>
|
||||
</a>
|
||||
@endif
|
||||
@endif
|
||||
</li>
|
||||
@empty
|
||||
<li class="list-group-item">
|
||||
<div class="py-4 text-center fs-16">
|
||||
{{ translate('No notification found') }}
|
||||
</div>
|
||||
</li>
|
||||
@endforelse
|
||||
</ul>
|
||||
</div>
|
||||
<div class="text-center border-top">
|
||||
<a href="{{ route('all-notifications') }}" class="text-secondary fs-12 d-block py-2">
|
||||
{{translate('View All Notifications')}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endauth
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="ml-auto mr-0">
|
||||
@auth
|
||||
<span class="d-none d-xl-flex align-items-center nav-user-info py-20px @if(isAdmin()) ml-5 @endif" id="nav-user-info">
|
||||
<!-- Image -->
|
||||
<span class="size-40px rounded-circle overflow-hidden border border-transparent nav-user-img">
|
||||
@if (Auth::user()->avatar_original != null)
|
||||
<img src="{{ uploaded_asset(Auth::user()->avatar_original) }}" class="img-fit h-100"
|
||||
onerror="this.onerror=null;this.src='{{ static_asset('assets/img/avatar-place.png') }}';">
|
||||
@else
|
||||
<img src="{{ static_asset('assets/img/avatar-place.png') }}" class="image"
|
||||
onerror="this.onerror=null;this.src='{{ static_asset('assets/img/avatar-place.png') }}';">
|
||||
@endif
|
||||
</span>
|
||||
<!-- Name -->
|
||||
<h4 class="h5 fs-14 fw-700 text-white ml-2 mb-0">{{ Auth::user()->name }}</h4>
|
||||
</span>
|
||||
@else
|
||||
<!--Login & Registration -->
|
||||
<span class="d-none d-xl-flex align-items-center nav-user-info ml-3 btn-login-lapieza">
|
||||
<!-- Image -->
|
||||
<span class="size-40px rounded-circle overflow-hidden border d-flex align-items-center justify-content-center nav-user-img">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="19.902" height="20.012" viewBox="0 0 19.902 20.012">
|
||||
<path id="fe2df171891038b33e9624c27e96e367" d="M15.71,12.71a6,6,0,1,0-7.42,0,10,10,0,0,0-6.22,8.18,1.006,1.006,0,1,0,2,.22,8,8,0,0,1,15.9,0,1,1,0,0,0,1,.89h.11a1,1,0,0,0,.88-1.1,10,10,0,0,0-6.25-8.19ZM12,12a4,4,0,1,1,4-4A4,4,0,0,1,12,12Z" transform="translate(-2.064 -1.995)" fill="#fff"/>
|
||||
</svg>
|
||||
</span>
|
||||
<a href="{{ route('user.login') }}" class="text-white hov-opacity-100 hov-text-primary fs-12 d-inline-block border-right border-soft-light border-width-2 pr-2 ml-3">{{ translate('Login')}}</a>
|
||||
<a href="{{ route('register') }}" class="text-white hov-opacity-100 hov-text-primary fs-12 d-inline-block py-2 pl-2">{{ translate('Registration')}}</a>
|
||||
</span>
|
||||
@endauth
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Loged in user Menus -->
|
||||
<div class="hover-user-top-menu position-absolute top-100 left-0 right-0 z-3">
|
||||
<div class="container">
|
||||
<div class="position-static float-right">
|
||||
<div class="aiz-user-top-menu bg-white rounded-0 border-top shadow-sm" style="width:220px;">
|
||||
<ul class="list-unstyled no-scrollbar mb-0 text-left">
|
||||
@if(isAdmin())
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('admin.dashboard') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path id="Path_2916" data-name="Path 2916" d="M15.3,5.4,9.561.481A2,2,0,0,0,8.26,0H7.74a2,2,0,0,0-1.3.481L.7,5.4A2,2,0,0,0,0,6.92V14a2,2,0,0,0,2,2H14a2,2,0,0,0,2-2V6.92A2,2,0,0,0,15.3,5.4M10,15H6V9A1,1,0,0,1,7,8H9a1,1,0,0,1,1,1Zm5-1a1,1,0,0,1-1,1H11V9A2,2,0,0,0,9,7H7A2,2,0,0,0,5,9v6H2a1,1,0,0,1-1-1V6.92a1,1,0,0,1,.349-.76l5.74-4.92A1,1,0,0,1,7.74,1h.52a1,1,0,0,1,.651.24l5.74,4.92A1,1,0,0,1,15,6.92Z" fill="#b5b5c0"/>
|
||||
</svg>
|
||||
<span class="user-top-menu-name has-transition ml-3">{{ translate('Dashboard') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('dashboard') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path id="Path_2916" data-name="Path 2916" d="M15.3,5.4,9.561.481A2,2,0,0,0,8.26,0H7.74a2,2,0,0,0-1.3.481L.7,5.4A2,2,0,0,0,0,6.92V14a2,2,0,0,0,2,2H14a2,2,0,0,0,2-2V6.92A2,2,0,0,0,15.3,5.4M10,15H6V9A1,1,0,0,1,7,8H9a1,1,0,0,1,1,1Zm5-1a1,1,0,0,1-1,1H11V9A2,2,0,0,0,9,7H7A2,2,0,0,0,5,9v6H2a1,1,0,0,1-1-1V6.92a1,1,0,0,1,.349-.76l5.74-4.92A1,1,0,0,1,7.74,1h.52a1,1,0,0,1,.651.24l5.74,4.92A1,1,0,0,1,15,6.92Z" fill="#b5b5c0"/>
|
||||
</svg>
|
||||
<span class="user-top-menu-name has-transition ml-3">{{ translate('Dashboard') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if(isCustomer())
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('purchase_history.index') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_25261" data-name="Group 25261" transform="translate(-27.466 -542.963)">
|
||||
<path id="Path_2953" data-name="Path 2953" d="M14.5,5.963h-4a1.5,1.5,0,0,0,0,3h4a1.5,1.5,0,0,0,0-3m0,2h-4a.5.5,0,0,1,0-1h4a.5.5,0,0,1,0,1" transform="translate(22.966 537)" fill="#b5b5bf"/>
|
||||
<path id="Path_2954" data-name="Path 2954" d="M12.991,8.963a.5.5,0,0,1,0-1H13.5a2.5,2.5,0,0,1,2.5,2.5v10a2.5,2.5,0,0,1-2.5,2.5H2.5a2.5,2.5,0,0,1-2.5-2.5v-10a2.5,2.5,0,0,1,2.5-2.5h.509a.5.5,0,0,1,0,1H2.5a1.5,1.5,0,0,0-1.5,1.5v10a1.5,1.5,0,0,0,1.5,1.5h11a1.5,1.5,0,0,0,1.5-1.5v-10a1.5,1.5,0,0,0-1.5-1.5Z" transform="translate(27.466 536)" fill="#b5b5bf"/>
|
||||
<path id="Path_2955" data-name="Path 2955" d="M7.5,15.963h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,1-.5.5h-1a.5.5,0,0,1-.5-.5v-1a.5.5,0,0,1,.5-.5" transform="translate(23.966 532)" fill="#b5b5bf"/>
|
||||
<path id="Path_2956" data-name="Path 2956" d="M7.5,21.963h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,1-.5.5h-1a.5.5,0,0,1-.5-.5v-1a.5.5,0,0,1,.5-.5" transform="translate(23.966 529)" fill="#b5b5bf"/>
|
||||
<path id="Path_2957" data-name="Path 2957" d="M7.5,27.963h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,1-.5.5h-1a.5.5,0,0,1-.5-.5v-1a.5.5,0,0,1,.5-.5" transform="translate(23.966 526)" fill="#b5b5bf"/>
|
||||
<path id="Path_2958" data-name="Path 2958" d="M13.5,16.963h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(20.966 531.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_2959" data-name="Path 2959" d="M13.5,22.963h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(20.966 528.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_2960" data-name="Path 2960" d="M13.5,28.963h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(20.966 525.5)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="user-top-menu-name has-transition ml-3">{{ translate('Purchase History') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('digital_purchase_history.index') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16.001" height="16" viewBox="0 0 16.001 16">
|
||||
<g id="Group_25262" data-name="Group 25262" transform="translate(-1388.154 -562.604)">
|
||||
<path id="Path_2963" data-name="Path 2963" d="M77.864,98.69V92.1a.5.5,0,1,0-1,0V98.69l-1.437-1.437a.5.5,0,0,0-.707.707l1.851,1.852a1,1,0,0,0,.707.293h.172a1,1,0,0,0,.707-.293l1.851-1.852a.5.5,0,0,0-.7-.713Z" transform="translate(1318.79 478.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_2964" data-name="Path 2964" d="M67.155,88.6a3,3,0,0,1-.474-5.963q-.009-.089-.015-.179a5.5,5.5,0,0,1,10.977-.718,3.5,3.5,0,0,1-.989,6.859h-1.5a.5.5,0,0,1,0-1l1.5,0a2.5,2.5,0,0,0,.417-4.967.5.5,0,0,1-.417-.5,4.5,4.5,0,1,0-8.908.866.512.512,0,0,1,.009.121.5.5,0,0,1-.52.479,2,2,0,1,0-.162,4l.081,0h2a.5.5,0,0,1,0,1Z" transform="translate(1324 486)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="user-top-menu-name has-transition ml-3">{{ translate('Downloads') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@if (get_setting('conversation_system') == 1)
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('conversations.index') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_25263" data-name="Group 25263" transform="translate(1053.151 256.688)">
|
||||
<path id="Path_3012" data-name="Path 3012" d="M134.849,88.312h-8a2,2,0,0,0-2,2v5a2,2,0,0,0,2,2v3l2.4-3h5.6a2,2,0,0,0,2-2v-5a2,2,0,0,0-2-2m1,7a1,1,0,0,1-1,1h-8a1,1,0,0,1-1-1v-5a1,1,0,0,1,1-1h8a1,1,0,0,1,1,1Z" transform="translate(-1178 -341)" fill="#b5b5bf"/>
|
||||
<path id="Path_3013" data-name="Path 3013" d="M134.849,81.312h8a1,1,0,0,1,1,1v5a1,1,0,0,1-1,1h-.5a.5.5,0,0,0,0,1h.5a2,2,0,0,0,2-2v-5a2,2,0,0,0-2-2h-8a2,2,0,0,0-2,2v.5a.5.5,0,0,0,1,0v-.5a1,1,0,0,1,1-1" transform="translate(-1182 -337)" fill="#b5b5bf"/>
|
||||
<path id="Path_3014" data-name="Path 3014" d="M131.349,93.312h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(-1181 -343.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_3015" data-name="Path 3015" d="M131.349,99.312h5a.5.5,0,1,1,0,1h-5a.5.5,0,1,1,0-1" transform="translate(-1181 -346.5)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="user-top-menu-name has-transition ml-3">{{ translate('Conversations') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@if (get_setting('wallet_system') == 1)
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('wallet.index') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
||||
<defs>
|
||||
<clipPath id="clip-path1">
|
||||
<rect id="Rectangle_1386" data-name="Rectangle 1386" width="16" height="16" fill="#b5b5bf"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g id="Group_8102" data-name="Group 8102" clip-path="url(#clip-path1)">
|
||||
<path id="Path_2936" data-name="Path 2936" d="M13.5,4H13V2.5A2.5,2.5,0,0,0,10.5,0h-8A2.5,2.5,0,0,0,0,2.5v11A2.5,2.5,0,0,0,2.5,16h11A2.5,2.5,0,0,0,16,13.5v-7A2.5,2.5,0,0,0,13.5,4M2.5,1h8A1.5,1.5,0,0,1,12,2.5V4H2.5a1.5,1.5,0,0,1,0-3M15,11H10a1,1,0,0,1,0-2h5Zm0-3H10a2,2,0,0,0,0,4h5v1.5A1.5,1.5,0,0,1,13.5,15H2.5A1.5,1.5,0,0,1,1,13.5v-9A2.5,2.5,0,0,0,2.5,5h11A1.5,1.5,0,0,1,15,6.5Z" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="user-top-menu-name has-transition ml-3">{{ translate('My Wallet') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('support_ticket.index') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16.001" viewBox="0 0 16 16.001">
|
||||
<g id="Group_25259" data-name="Group 25259" transform="translate(-316 -1066)">
|
||||
<path id="Subtraction_184" data-name="Subtraction 184" d="M16427.109,902H16420a8.015,8.015,0,1,1,8-8,8.278,8.278,0,0,1-1.422,4.535l1.244,2.132a.81.81,0,0,1,0,.891A.791.791,0,0,1,16427.109,902ZM16420,887a7,7,0,1,0,0,14h6.283c.275,0,.414,0,.549-.111s-.209-.574-.34-.748l0,0-.018-.022-1.064-1.6A6.829,6.829,0,0,0,16427,894a6.964,6.964,0,0,0-7-7Z" transform="translate(-16096 180)" fill="#b5b5bf"/>
|
||||
<path id="Union_12" data-name="Union 12" d="M16414,895a1,1,0,1,1,1,1A1,1,0,0,1,16414,895Zm.5-2.5V891h.5a2,2,0,1,0-2-2h-1a3,3,0,1,1,3.5,2.958v.54a.5.5,0,1,1-1,0Zm-2.5-3.5h1a.5.5,0,1,1-1,0Z" transform="translate(-16090.998 183.001)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="user-top-menu-name has-transition ml-3">{{ translate('Support Ticket') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
<li class="user-top-nav-element border border-top-0" data-id="1">
|
||||
<a href="{{ route('logout') }}" class="text-truncate text-dark px-4 fs-14 d-flex align-items-center hov-column-gap-1">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15.999" viewBox="0 0 16 15.999">
|
||||
<g id="Group_25503" data-name="Group 25503" transform="translate(-24.002 -377)">
|
||||
<g id="Group_25265" data-name="Group 25265" transform="translate(-216.534 -160)">
|
||||
<path id="Subtraction_192" data-name="Subtraction 192" d="M12052.535,2920a8,8,0,0,1-4.569-14.567l.721.72a7,7,0,1,0,7.7,0l.721-.72a8,8,0,0,1-4.567,14.567Z" transform="translate(-11803.999 -2367)" fill="#d43533"/>
|
||||
</g>
|
||||
<rect id="Rectangle_19022" data-name="Rectangle 19022" width="1" height="8" rx="0.5" transform="translate(31.5 377)" fill="#d43533"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="user-top-menu-name text-primary has-transition ml-3">{{ translate('Logout') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Menu Bar -->
|
||||
<div class="d-none d-lg-block position-relative bg-lapieza h-50px">
|
||||
<div class="container h-100">
|
||||
<div class="d-flex h-100">
|
||||
<!-- Categoty Menu Button -->
|
||||
<div class="d-none d-xl-block all-category has-transition bg-black-10" id="category-menu-bar">
|
||||
<div class="px-3 h-100" style="padding-top: 12px;padding-bottom: 12px; width:270px; cursor: pointer; background-color: #E63108; border-radius: 10px 10px 0px 0px;">
|
||||
<div class="d-flex align-items-center justify-content-between">
|
||||
<div>
|
||||
<span class="fw-700 fs-16 text-white mr-3">Busca tu Repuesto:</span>
|
||||
<!-- <a href="{{ route('categories.all') }}" class="text-reset">
|
||||
<span class="d-none d-lg-inline-block text-white hov-opacity-80">({{ translate('See All') }})</span>
|
||||
</a> -->
|
||||
</div>
|
||||
<i class="las la-angle-down text-white has-transition" id="category-menu-bar-icon" style="font-size: 1.2rem !important"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Header Menus -->
|
||||
<div class="ml-xl-4 w-100 overflow-hidden">
|
||||
<div class="d-flex align-items-right justify-content-right justify-content-right-start h-100">
|
||||
<ul class="list-inline mb-0 pl-0 hor-swipe c-scrollbar-light"">
|
||||
@if (get_setting('header_menu_labels') != null)
|
||||
@foreach (json_decode( get_setting('header_menu_labels'), true) as $key => $value)
|
||||
<li class="list-inline-item mr-0 animate-underline-white">
|
||||
<a href="{{ json_decode( get_setting('header_menu_links'), true)[$key] }}"
|
||||
class="fs-13 px-3 py-3 d-inline-block fw-700 text-white header_menu_links hov-bg-black-10
|
||||
@if (url()->current() == json_decode( get_setting('header_menu_links'), true)[$key]) active @endif" style="border-radius: 10px 10px 0px 0px;">
|
||||
{{ translate($value) }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Cart -->
|
||||
<div class="d-none d-xl-block align-self-stretch ml-5 mr-0 has-transition bg-black-10" data-hover="dropdown" style="border-radius: 10px 10px 0px 0px;">
|
||||
<div class="nav-cart-box dropdown h-100" id="cart_items" style="width: max-content;">
|
||||
@include('frontend.partials.cart')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Categoty Menus -->
|
||||
<div class="hover-category-menu position-absolute w-100 top-100 left-0 right-0 z-3 d-none" id="click-category-menu">
|
||||
<div class="container">
|
||||
<div class="d-flex position-relative">
|
||||
<div class="position-static">
|
||||
@include('frontend.partials.category_menu')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Top Menu Sidebar -->
|
||||
<div class="aiz-top-menu-sidebar collapse-sidebar-wrap sidebar-xl sidebar-left d-lg-none z-1035">
|
||||
<div class="overlay overlay-fixed dark c-pointer" data-toggle="class-toggle" data-target=".aiz-top-menu-sidebar" data-same=".hide-top-menu-bar"></div>
|
||||
<div class="collapse-sidebar c-scrollbar-light text-left">
|
||||
<button type="button" class="btn btn-sm p-4 hide-top-menu-bar" data-toggle="class-toggle" data-target=".aiz-top-menu-sidebar" >
|
||||
<i class="las la-times la-2x text-primary"></i>
|
||||
</button>
|
||||
@auth
|
||||
<span class="d-flex align-items-center nav-user-info pl-4">
|
||||
<!-- Image -->
|
||||
<span class="size-40px rounded-circle overflow-hidden border border-transparent nav-user-img">
|
||||
@if (Auth::user()->avatar_original != null)
|
||||
<img src="{{ uploaded_asset(Auth::user()->avatar_original) }}" class="img-fit h-100"
|
||||
onerror="this.onerror=null;this.src='{{ static_asset('assets/img/avatar-place.png') }}';">
|
||||
@else
|
||||
<img src="{{ static_asset('assets/img/avatar-place.png') }}" class="image"
|
||||
onerror="this.onerror=null;this.src='{{ static_asset('assets/img/avatar-place.png') }}';">
|
||||
@endif
|
||||
</span>
|
||||
<!-- Name -->
|
||||
<h4 class="h5 fs-14 fw-700 text-white ml-2 mb-0">{{ Auth::user()->name }}</h4>
|
||||
</span>
|
||||
@else
|
||||
<!--Login & Registration -->
|
||||
<span class="d-flex align-items-center nav-user-info pl-4">
|
||||
<!-- Image -->
|
||||
<span class="size-40px rounded-circle overflow-hidden border d-flex align-items-center justify-content-center nav-user-img">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="19.902" height="20.012" viewBox="0 0 19.902 20.012">
|
||||
<path id="fe2df171891038b33e9624c27e96e367" d="M15.71,12.71a6,6,0,1,0-7.42,0,10,10,0,0,0-6.22,8.18,1.006,1.006,0,1,0,2,.22,8,8,0,0,1,15.9,0,1,1,0,0,0,1,.89h.11a1,1,0,0,0,.88-1.1,10,10,0,0,0-6.25-8.19ZM12,12a4,4,0,1,1,4-4A4,4,0,0,1,12,12Z" transform="translate(-2.064 -1.995)" fill="#91919b"/>
|
||||
</svg>
|
||||
</span>
|
||||
<a href="{{ route('user.login') }}" class="text-reset opacity-60 hov-opacity-100 hov-text-primary fs-12 d-inline-block border-right border-soft-light border-width-2 pr-2 ml-3">{{ translate('Login')}}</a>
|
||||
<a href="{{ route('register') }}" class="text-reset opacity-60 hov-opacity-100 hov-text-primary fs-12 d-inline-block py-2 pl-2">{{ translate('Registration')}}</a>
|
||||
</span>
|
||||
@endauth
|
||||
<hr>
|
||||
<ul class="list-inline d-flex justify-content-between justify-content-lg-start mb-0 m-menu-mobile">
|
||||
<!-- Language switcher -->
|
||||
@if(get_setting('show_language_switcher') == 'on')
|
||||
<li class="list-inline-item dropdown mr-4" id="lang-change">
|
||||
@php
|
||||
if(Session::has('locale')){
|
||||
$locale = Session::get('locale', Config::get('app.locale'));
|
||||
}
|
||||
else{
|
||||
$locale = 'en';
|
||||
}
|
||||
@endphp
|
||||
<a href="javascript:void(0)" class="dropdown-toggle text-black fs-12 py-2" data-toggle="dropdown" data-display="static">
|
||||
<span class="">{{ \App\Models\Language::where('code', $locale)->first()->name }}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-left">
|
||||
@foreach (\App\Models\Language::where('status', 1)->get() as $key => $language)
|
||||
<li>
|
||||
<a href="javascript:void(0)" data-flag="{{ $language->code }}" class="dropdown-item @if($locale == $language) active @endif">
|
||||
<img src="{{ static_asset('assets/img/placeholder.jpg') }}" data-src="{{ static_asset('assets/img/flags/'.$language->code.'.png') }}" class="mr-1 lazyload" alt="{{ $language->name }}" height="11">
|
||||
<span class="language">{{ $language->name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
<hr>
|
||||
<ul class="mb-0 pl-3 pb-3 h-100">
|
||||
@if (get_setting('header_menu_labels') != null)
|
||||
@foreach (json_decode( get_setting('header_menu_labels'), true) as $key => $value)
|
||||
<li class="mr-0">
|
||||
<a href="{{ json_decode( get_setting('header_menu_links'), true)[$key] }}"
|
||||
class="fs-13 px-3 py-3 w-100 d-inline-block fw-700 text-dark header_menu_links
|
||||
@if (url()->current() == json_decode( get_setting('header_menu_links'), true)[$key]) active @endif">
|
||||
{{ translate($value) }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
@endif
|
||||
@auth
|
||||
@if(isAdmin())
|
||||
<hr>
|
||||
<li class="mr-0">
|
||||
<a href="{{ route('admin.dashboard') }}"
|
||||
class="fs-13 px-3 py-3 w-100 d-inline-block fw-700 text-dark header_menu_links">
|
||||
{{ translate('My Account') }}
|
||||
</a>
|
||||
</li>
|
||||
@else
|
||||
<hr>
|
||||
<li class="mr-0">
|
||||
<a href="{{ route('dashboard') }}"
|
||||
class="fs-13 px-3 py-3 w-100 d-inline-block fw-700 text-dark header_menu_links
|
||||
{{ areActiveRoutes(['dashboard'],' active')}}">
|
||||
{{ translate('My Account') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@if(isCustomer())
|
||||
<li class="mr-0">
|
||||
<a href="{{ route('all-notifications') }}"
|
||||
class="fs-13 px-3 py-3 w-100 d-inline-block fw-700 text-dark header_menu_links
|
||||
{{ areActiveRoutes(['all-notifications'],' active')}}">
|
||||
{{ translate('Notifications') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="mr-0">
|
||||
<a href="{{ route('wishlists.index') }}"
|
||||
class="fs-13 px-3 py-3 w-100 d-inline-block fw-700 text-dark header_menu_links
|
||||
{{ areActiveRoutes(['wishlists.index'],' active')}}">
|
||||
{{ translate('Wishlist') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="mr-0">
|
||||
<a href="{{ route('compare') }}"
|
||||
class="fs-13 px-3 py-3 w-100 d-inline-block fw-700 text-dark header_menu_links
|
||||
{{ areActiveRoutes(['compare'],' active')}}">
|
||||
{{ translate('Compare') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
<hr>
|
||||
<li class="mr-0">
|
||||
<a href="{{ route('logout') }}"
|
||||
class="fs-13 px-3 py-3 w-100 d-inline-block fw-700 text-primary header_menu_links">
|
||||
{{ translate('Logout') }}
|
||||
</a>
|
||||
</li>
|
||||
@endauth
|
||||
</ul>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="order_details" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered modal-xl" role="document">
|
||||
<div class="modal-content">
|
||||
<div id="order-details-modal-body">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section('script')
|
||||
<script type="text/javascript">
|
||||
function show_order_details(order_id)
|
||||
{
|
||||
$('#order-details-modal-body').html(null);
|
||||
|
||||
if(!$('#modal-size').hasClass('modal-lg')){
|
||||
$('#modal-size').addClass('modal-lg');
|
||||
}
|
||||
|
||||
$.post('{{ route('orders.details') }}', { _token : AIZ.data.csrf, order_id : order_id}, function(data){
|
||||
$('#order-details-modal-body').html(data);
|
||||
$('#order_details').modal();
|
||||
$('.c-preloader').hide();
|
||||
AIZ.plugins.bootstrapSelect('refresh');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
380
desarrollo2/resources/views/frontend/inc/user_side_nav.blade.php
Normal file
380
desarrollo2/resources/views/frontend/inc/user_side_nav.blade.php
Normal file
@@ -0,0 +1,380 @@
|
||||
<div class="aiz-user-sidenav-wrap position-relative z-1 rounded-0">
|
||||
<div class="aiz-user-sidenav overflow-auto c-scrollbar-light px-4 pb-4">
|
||||
<!-- Close button -->
|
||||
<div class="d-xl-none">
|
||||
<button class="btn btn-sm p-2 " data-toggle="class-toggle" data-backdrop="static"
|
||||
data-target=".aiz-mobile-side-nav" data-same=".mobile-side-nav-thumb">
|
||||
<i class="las la-times la-2x"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Customer info -->
|
||||
<div class="p-4 text-center mb-4 border-bottom position-relative">
|
||||
<!-- Image -->
|
||||
<span class="avatar avatar-md mb-3">
|
||||
@if (Auth::user()->avatar_original != null)
|
||||
<img src="{{ uploaded_asset(Auth::user()->avatar_original) }}"
|
||||
onerror="this.onerror=null;this.src='{{ static_asset('assets/img/avatar-place.png') }}';">
|
||||
@else
|
||||
<img src="{{ static_asset('assets/img/avatar-place.png') }}" class="image rounded-circle"
|
||||
onerror="this.onerror=null;this.src='{{ static_asset('assets/img/avatar-place.png') }}';">
|
||||
@endif
|
||||
</span>
|
||||
<!-- Name -->
|
||||
<h4 class="h5 fs-14 mb-1 fw-700 text-dark">{{ Auth::user()->name }}</h4>
|
||||
<!-- Phone -->
|
||||
@if (Auth::user()->phone != null)
|
||||
<div class="text-truncate opacity-60 fs-12">{{ Auth::user()->phone }}</div>
|
||||
<!-- Email -->
|
||||
@else
|
||||
<div class="text-truncate opacity-60 fs-12">{{ Auth::user()->email }}</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<!-- Menus -->
|
||||
<div class="sidemnenu">
|
||||
<ul class="aiz-side-nav-list mb-3 pb-3 border-bottom" data-toggle="aiz-side-menu">
|
||||
|
||||
<!-- Dashboard -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('dashboard') }}" class="aiz-side-nav-link {{ areActiveRoutes(['dashboard']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_24768" data-name="Group 24768" transform="translate(3495.144 -602)">
|
||||
<path id="Path_2916" data-name="Path 2916" d="M15.3,5.4,9.561.481A2,2,0,0,0,8.26,0H7.74a2,2,0,0,0-1.3.481L.7,5.4A2,2,0,0,0,0,6.92V14a2,2,0,0,0,2,2H14a2,2,0,0,0,2-2V6.92A2,2,0,0,0,15.3,5.4M10,15H6V9A1,1,0,0,1,7,8H9a1,1,0,0,1,1,1Zm5-1a1,1,0,0,1-1,1H11V9A2,2,0,0,0,9,7H7A2,2,0,0,0,5,9v6H2a1,1,0,0,1-1-1V6.92a1,1,0,0,1,.349-.76l5.74-4.92A1,1,0,0,1,7.74,1h.52a1,1,0,0,1,.651.24l5.74,4.92A1,1,0,0,1,15,6.92Z" transform="translate(-3495.144 602)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Dashboard') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@php
|
||||
$delivery_viewed = App\Models\Order::where('user_id', Auth::user()->id)
|
||||
->where('delivery_viewed', 0)
|
||||
->get()
|
||||
->count();
|
||||
$payment_status_viewed = App\Models\Order::where('user_id', Auth::user()->id)
|
||||
->where('payment_status_viewed', 0)
|
||||
->get()
|
||||
->count();
|
||||
@endphp
|
||||
|
||||
<!-- Purchase History -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('purchase_history.index') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['purchase_history.index', 'purchase_history.details']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_8109" data-name="Group 8109" transform="translate(-27.466 -542.963)">
|
||||
<path id="Path_2953" data-name="Path 2953" d="M14.5,5.963h-4a1.5,1.5,0,0,0,0,3h4a1.5,1.5,0,0,0,0-3m0,2h-4a.5.5,0,0,1,0-1h4a.5.5,0,0,1,0,1" transform="translate(22.966 537)" fill="#b5b5bf"/>
|
||||
<path id="Path_2954" data-name="Path 2954" d="M12.991,8.963a.5.5,0,0,1,0-1H13.5a2.5,2.5,0,0,1,2.5,2.5v10a2.5,2.5,0,0,1-2.5,2.5H2.5a2.5,2.5,0,0,1-2.5-2.5v-10a2.5,2.5,0,0,1,2.5-2.5h.509a.5.5,0,0,1,0,1H2.5a1.5,1.5,0,0,0-1.5,1.5v10a1.5,1.5,0,0,0,1.5,1.5h11a1.5,1.5,0,0,0,1.5-1.5v-10a1.5,1.5,0,0,0-1.5-1.5Z" transform="translate(27.466 536)" fill="#b5b5bf"/>
|
||||
<path id="Path_2955" data-name="Path 2955" d="M7.5,15.963h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,1-.5.5h-1a.5.5,0,0,1-.5-.5v-1a.5.5,0,0,1,.5-.5" transform="translate(23.966 532)" fill="#b5b5bf"/>
|
||||
<path id="Path_2956" data-name="Path 2956" d="M7.5,21.963h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,1-.5.5h-1a.5.5,0,0,1-.5-.5v-1a.5.5,0,0,1,.5-.5" transform="translate(23.966 529)" fill="#b5b5bf"/>
|
||||
<path id="Path_2957" data-name="Path 2957" d="M7.5,27.963h1a.5.5,0,0,1,.5.5v1a.5.5,0,0,1-.5.5h-1a.5.5,0,0,1-.5-.5v-1a.5.5,0,0,1,.5-.5" transform="translate(23.966 526)" fill="#b5b5bf"/>
|
||||
<path id="Path_2958" data-name="Path 2958" d="M13.5,16.963h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(20.966 531.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_2959" data-name="Path 2959" d="M13.5,22.963h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(20.966 528.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_2960" data-name="Path 2960" d="M13.5,28.963h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(20.966 525.5)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Purchase History') }}</span>
|
||||
@if ($delivery_viewed > 0 || $payment_status_viewed > 0)
|
||||
<span class="badge badge-inline badge-success">{{ translate('New') }}</span>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Downloads -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('digital_purchase_history.index') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['digital_purchase_history.index']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16.001" height="16" viewBox="0 0 16.001 16">
|
||||
<g id="Group_8110" data-name="Group 8110" transform="translate(-1388.154 -562.604)">
|
||||
<path id="Path_2963" data-name="Path 2963" d="M77.864,98.69V92.1a.5.5,0,1,0-1,0V98.69l-1.437-1.437a.5.5,0,0,0-.707.707l1.851,1.852a1,1,0,0,0,.707.293h.172a1,1,0,0,0,.707-.293l1.851-1.852a.5.5,0,0,0-.7-.713Z" transform="translate(1318.79 478.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_2964" data-name="Path 2964" d="M67.155,88.6a3,3,0,0,1-.474-5.963q-.009-.089-.015-.179a5.5,5.5,0,0,1,10.977-.718,3.5,3.5,0,0,1-.989,6.859h-1.5a.5.5,0,0,1,0-1l1.5,0a2.5,2.5,0,0,0,.417-4.967.5.5,0,0,1-.417-.5,4.5,4.5,0,1,0-8.908.866.512.512,0,0,1,.009.121.5.5,0,0,1-.52.479,2,2,0,1,0-.162,4l.081,0h2a.5.5,0,0,1,0,1Z" transform="translate(1324 486)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Downloads') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Refund Requests -->
|
||||
@if (addon_is_activated('refund_request'))
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('customer_refund_request') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['customer_refund_request']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_8107" data-name="Group 8107" transform="translate(-134.153 -539.823)">
|
||||
<path id="Path_2951" data-name="Path 2951" d="M119.549,4.47h2.033a.5.5,0,0,0,0-1h-3.24a.5.5,0,0,0-.5.5v3.24a.5.5,0,0,0,1,0V5.189a7,7,0,1,1-4.155-1.366.5.5,0,0,0,0-1,8,8,0,1,0,4.862,1.647" transform="translate(27.466 537)" fill="#b5b5bf"/>
|
||||
<path id="Path_2952" data-name="Path 2952" d="M120.688,9.323v-1a.5.5,0,0,0-1,0v1a2,2,0,0,0-2,2v.5a2,2,0,0,0,2,2h1a1,1,0,0,1,1,1v.5a1,1,0,0,1-1,1h-1a1,1,0,0,1-1-1,.5.5,0,1,0-1,0,2,2,0,0,0,2,2v1a.5.5,0,0,0,1,0v-1a2,2,0,0,0,2-2v-.5a2,2,0,0,0-2-2h-1a1,1,0,0,1-1-1v-.5a1,1,0,0,1,1-1h1a1,1,0,0,1,1,1,.5.5,0,0,0,1,0,2,2,0,0,0-2-2" transform="translate(21.965 534.5)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Refund Requests') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- Wishlist -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('wishlists.index') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['wishlists.index']) }}">
|
||||
<svg id="Group_8116" data-name="Group 8116" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="14" viewBox="0 0 16 14">
|
||||
<defs>
|
||||
<clipPath id="clip-path">
|
||||
<rect id="Rectangle_1391" data-name="Rectangle 1391" width="16" height="14" fill="#b5b5bf"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g id="Group_8115" data-name="Group 8115" clip-path="url(#clip-path)">
|
||||
<path id="Path_2981" data-name="Path 2981" d="M14.682,1.318a4.5,4.5,0,0,0-6.364,0L8,1.636l-.318-.318A4.5,4.5,0,0,0,1.318,7.682l6.046,6.054a.9.9,0,0,0,1.273,0l6.045-6.054a4.5,4.5,0,0,0,0-6.364m-.707,5.657L8,12.959,2.025,6.975a3.5,3.5,0,0,1,4.95-4.95l.389.389a.9.9,0,0,0,1.273,0l.388-.389a3.5,3.5,0,0,1,4.95,4.95" transform="translate(0 0)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Wishlist') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Compare -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('compare') }}" class="aiz-side-nav-link {{ areActiveRoutes(['compare']) }}">
|
||||
<svg id="Group_22071" data-name="Group 22071" xmlns="http://www.w3.org/2000/svg" width="14.6" height="16" viewBox="0 0 14.6 16">
|
||||
<g id="LWPOLYLINE" transform="translate(0.158)">
|
||||
<path id="Path_25677" data-name="Path 25677" d="M304.755,426.408v-2.032a.5.5,0,1,1,.993,0v3.239a.5.5,0,0,1-.5.5h-3.216a.5.5,0,0,1,0-1h2.006a6.924,6.924,0,0,0-11.8,1,.5.5,0,0,1-.666.221.5.5,0,0,1-.219-.672,7.913,7.913,0,0,1,13.4-1.256Z" transform="translate(-291.306 -423.268)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
<g id="LWPOLYLINE-2" data-name="LWPOLYLINE" transform="translate(0 10.879)">
|
||||
<path id="Path_25678" data-name="Path 25678" d="M292.141,414.371V416.4a.5.5,0,1,1-.993,0v-3.238a.5.5,0,0,1,.5-.5h3.216a.5.5,0,0,1,0,1h-2.006a6.924,6.924,0,0,0,11.8-1,.493.493,0,0,1,.666-.221.5.5,0,0,1,.219.671,7.913,7.913,0,0,1-13.4,1.256Z" transform="translate(-291.148 -412.39)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Compare') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Followed Sellers -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('followed_seller') }}" class="aiz-side-nav-link {{ areActiveRoutes(['followed_seller']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_8114" data-name="Group 8114" transform="translate(-1501.679 -486)">
|
||||
<path id="Path_2977" data-name="Path 2977" d="M193.408,3.756,192.05.862A1.5,1.5,0,0,0,190.692,0H180.666a1.5,1.5,0,0,0-1.357.862L177.95,3.756l.029-.062A3,3,0,0,0,179.373,7.7a3.091,3.091,0,0,0,.306.128V16h12V9.5a.5.5,0,0,0-1,0V15h-3V10.5a.5.5,0,0,0-.5-.5h-3a.5.5,0,0,0-.5.5V15h-3V8a3,3,0,0,0,2.5-1.342,3,3,0,0,0,5,0,3,3,0,0,0,5.229-2.9M184.679,11h2v4h-2Zm6.4-4.041A2,2,0,0,1,188.719,5.4a.5.5,0,0,0-.49-.4h-.1a.5.5,0,0,0-.49.4,2,2,0,0,1-3.919,0,.5.5,0,0,0-.49-.4h-.1a.5.5,0,0,0-.49.4,2,2,0,1,1-3.781-1.225l1.357-2.888A.5.5,0,0,1,180.666,1h10.025a.5.5,0,0,1,.452.288L192.5,4.175a2,2,0,0,1-1.422,2.784" transform="translate(1324 486)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Followed Sellers') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Classified Products -->
|
||||
@if (get_setting('classified_product') == 1)
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('customer_products.index') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['customer_products.index', 'customer_products.create', 'customer_products.edit']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16.002" height="16.001" viewBox="0 0 16.002 16.001">
|
||||
<g id="Group_24750" data-name="Group 24750" transform="translate(-242.999 -1172.998)">
|
||||
<g id="Group_24748" data-name="Group 24748" transform="translate(85 -22)">
|
||||
<path id="Subtraction_183" data-name="Subtraction 183" d="M16260.5,1270h-5a1.5,1.5,0,0,1,0-3h5a1.5,1.5,0,1,1,0,3Zm-5-2a.5.5,0,0,0,0,1h5a.5.5,0,1,0,0-1Z" transform="translate(-16096 -67)" fill="#b5b5bf"/>
|
||||
<path id="Subtraction_180" data-name="Subtraction 180" d="M16256,1271a2,2,0,1,1,2-2A2,2,0,0,1,16256,1271Zm0-3a1,1,0,1,0,1,1A1,1,0,0,0,16256,1268Z" transform="translate(-16094 -72)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
<g id="Group_24749" data-name="Group 24749" transform="translate(93 -14)">
|
||||
<path id="Subtraction_182" data-name="Subtraction 182" d="M16252.5,1262h-5a1.5,1.5,0,1,1,0-3h5a1.5,1.5,0,1,1,0,3Zm-5-2a.5.5,0,0,0,0,1h5a.5.5,0,0,0,0-1Z" transform="translate(-16088 -59)" fill="#b5b5bf"/>
|
||||
<path id="Subtraction_181" data-name="Subtraction 181" d="M16248,1263a2,2,0,1,1,2-2A2,2,0,0,1,16248,1263Zm0-3a1,1,0,1,0,1,1A1,1,0,0,0,16248,1260Z" transform="translate(-16086 -64)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
<path id="Subtraction_174" data-name="Subtraction 174" d="M16418,892h-1v-1a4,4,0,0,0-4-4h-1v-1h1a5.006,5.006,0,0,1,5,5v1Z" transform="translate(-16159 287)" fill="#b5b5bf"/>
|
||||
<path id="Subtraction_176" data-name="Subtraction 176" d="M6,6H5V5A4,4,0,0,0,1,1H0V0H1A5.005,5.005,0,0,1,6,5V6Z" transform="translate(249 1188.963) rotate(180)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Classified Products') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- Auction -->
|
||||
@if (addon_is_activated('auction'))
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="javascript:void(0);" class="aiz-side-nav-link">
|
||||
<svg id="Group_8142" data-name="Group 8142" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
||||
<defs>
|
||||
<clipPath id="clip-path">
|
||||
<rect id="Rectangle_1420" data-name="Rectangle 1420" width="16" height="16" fill="#b5b5bf"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g id="Group_8141" data-name="Group 8141" clip-path="url(#clip-path)">
|
||||
<path id="Path_3023" data-name="Path 3023" d="M5.3,13.642,11.217,5.2,9.58,4.059a.5.5,0,0,1-.819-.573L11.055.213a.5.5,0,0,1,.819.573L17.607,4.8a.5.5,0,0,1,.819.573L16.131,8.643a.5.5,0,0,1-.819-.573L13.675,6.924,7.762,15.361A1.5,1.5,0,0,1,5.3,13.642M15.886,7.251l1.147-1.637L11.3,1.6,10.153,3.241ZM6.246,14.91a.5.5,0,0,0,.7-.122l5.913-8.437-.819-.573L6.123,14.215a.5.5,0,0,0,.123.7" transform="translate(-5.033 0)" fill="#b5b5bf"/>
|
||||
<path id="Path_3024" data-name="Path 3024" d="M3,30.472a.5.5,0,0,0,.5.5h7a.5.5,0,1,0,0-1h-7a.5.5,0,0,0-.5.5" transform="translate(3.5 -14.986)" fill="#b5b5bf"/>
|
||||
<path id="Path_3025" data-name="Path 3025" d="M6.5,24.976h4a.5.5,0,0,1,.5.5v2H10v-1.5H7v1.5H6v-2a.5.5,0,0,1,.5-.5" transform="translate(2 -12.488)" fill="#b5b5bf"/>
|
||||
<path id="Path_3026" data-name="Path 3026" d="M0,24.478H0a.5.5,0,0,0,.5.5h1a.5.5,0,1,0,0-1H.5a.5.5,0,0,0-.5.5" transform="translate(14 -11.989)" fill="#b5b5bf"/>
|
||||
<path id="Path_3027" data-name="Path 3027" d="M4.439,19.007a.5.5,0,0,0-.707,0l-.707.706a.5.5,0,0,0,.707.706l.707-.706a.5.5,0,0,0,0-.706" transform="translate(9.975 -9.431)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Auction') }}</span>
|
||||
<span class="aiz-side-nav-arrow"></span>
|
||||
</a>
|
||||
<ul class="aiz-side-nav-list level-2">
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('auction_product_bids.index') }}" class="aiz-side-nav-link">
|
||||
<span class="aiz-side-nav-text">{{ translate('Bidded Products') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('auction_product.purchase_history') }}"
|
||||
class="aiz-side-nav-link">
|
||||
<span class="aiz-side-nav-text">{{ translate('Purchase History') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- Conversations -->
|
||||
@if (get_setting('conversation_system') == 1)
|
||||
@php
|
||||
$conversation = \App\Models\Conversation::where('sender_id', Auth::user()->id)
|
||||
->where('sender_viewed', 0)
|
||||
->get();
|
||||
@endphp
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('conversations.index') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['conversations.index', 'conversations.show']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_8134" data-name="Group 8134" transform="translate(1053.151 256.688)">
|
||||
<path id="Path_3012" data-name="Path 3012" d="M134.849,88.312h-8a2,2,0,0,0-2,2v5a2,2,0,0,0,2,2v3l2.4-3h5.6a2,2,0,0,0,2-2v-5a2,2,0,0,0-2-2m1,7a1,1,0,0,1-1,1h-8a1,1,0,0,1-1-1v-5a1,1,0,0,1,1-1h8a1,1,0,0,1,1,1Z" transform="translate(-1178 -341)" fill="#b5b5bf"/>
|
||||
<path id="Path_3013" data-name="Path 3013" d="M134.849,81.312h8a1,1,0,0,1,1,1v5a1,1,0,0,1-1,1h-.5a.5.5,0,0,0,0,1h.5a2,2,0,0,0,2-2v-5a2,2,0,0,0-2-2h-8a2,2,0,0,0-2,2v.5a.5.5,0,0,0,1,0v-.5a1,1,0,0,1,1-1" transform="translate(-1182 -337)" fill="#b5b5bf"/>
|
||||
<path id="Path_3014" data-name="Path 3014" d="M131.349,93.312h5a.5.5,0,0,1,0,1h-5a.5.5,0,0,1,0-1" transform="translate(-1181 -343.5)" fill="#b5b5bf"/>
|
||||
<path id="Path_3015" data-name="Path 3015" d="M131.349,99.312h5a.5.5,0,1,1,0,1h-5a.5.5,0,1,1,0-1" transform="translate(-1181 -346.5)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Conversations') }}</span>
|
||||
@if (count($conversation) > 0)
|
||||
<span class="badge badge-success">({{ count($conversation) }})</span>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- My Wallet -->
|
||||
@if (get_setting('wallet_system') == 1)
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('wallet.index') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['wallet.index']) }}">
|
||||
<svg id="Group_8103" data-name="Group 8103" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
||||
<defs>
|
||||
<clipPath id="clip-path">
|
||||
<rect id="Rectangle_1386" data-name="Rectangle 1386" width="16" height="16" fill="#b5b5bf"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g id="Group_8102" data-name="Group 8102" clip-path="url(#clip-path)">
|
||||
<path id="Path_2936" data-name="Path 2936" d="M13.5,4H13V2.5A2.5,2.5,0,0,0,10.5,0h-8A2.5,2.5,0,0,0,0,2.5v11A2.5,2.5,0,0,0,2.5,16h11A2.5,2.5,0,0,0,16,13.5v-7A2.5,2.5,0,0,0,13.5,4M2.5,1h8A1.5,1.5,0,0,1,12,2.5V4H2.5a1.5,1.5,0,0,1,0-3M15,11H10a1,1,0,0,1,0-2h5Zm0-3H10a2,2,0,0,0,0,4h5v1.5A1.5,1.5,0,0,1,13.5,15H2.5A1.5,1.5,0,0,1,1,13.5v-9A2.5,2.5,0,0,0,2.5,5h11A1.5,1.5,0,0,1,15,6.5Z" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('My Wallet') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- Earning Points -->
|
||||
@if (addon_is_activated('club_point'))
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('earnng_point_for_user') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['earnng_point_for_user']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_24762" data-name="Group 24762" transform="translate(-240.535 -537)">
|
||||
<path id="Path_2961" data-name="Path 2961" d="M221.069,0a8,8,0,1,0,8,8,8,8,0,0,0-8-8m0,15a7,7,0,1,1,7-7,7,7,0,0,1-7,7" transform="translate(27.466 537)" fill="#b5b5bf"/>
|
||||
<path id="Union_11" data-name="Union 11" d="M16425.393,420.226l-3.777-5.039a.42.42,0,0,1-.012-.482l1.662-2.515a.416.416,0,0,1,.313-.186l0,0h4.26a.41.41,0,0,1,.346.19l1.674,2.515a.414.414,0,0,1-.012.482l-3.777,5.039a.413.413,0,0,1-.338.169A.419.419,0,0,1,16425.393,420.226Zm-2.775-5.245,3.113,4.148,3.109-4.148-1.32-1.983h-3.592Z" transform="translate(-16177.195 129)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Earning Points') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
<!-- Affiliate -->
|
||||
@if (addon_is_activated('affiliate_system') &&
|
||||
Auth::user()->affiliate_user != null &&
|
||||
Auth::user()->affiliate_user->status)
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="javascript:void(0);"
|
||||
class="aiz-side-nav-link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="19.998" height="19.998" viewBox="0 0 19.998 19.998">
|
||||
<g id="Group_25000" data-name="Group 25000" transform="translate(-298 -935.05)">
|
||||
<path id="Union_13" data-name="Union 13" d="M8.931,6.946h.993a.5.5,0,1,1-.993,0ZM0,6.946V4.962a4.962,4.962,0,0,1,9.923,0V6.945H8.932V4.962a3.969,3.969,0,0,0-7.939,0V6.946h0a.5.5,0,1,1-.993,0Z" transform="translate(310.981 935.05) rotate(45)" fill="#b5b5bf"/>
|
||||
<path id="Union_14" data-name="Union 14" d="M0,2.48V.5A.5.5,0,0,1,.993.5h0V2.48a3.969,3.969,0,1,0,7.939,0V.5h.992V2.48A4.962,4.962,0,0,1,0,2.48ZM8.931.5a.5.5,0,0,1,.993,0Z" transform="translate(303.263 942.769) rotate(45)" fill="#b5b5bf"/>
|
||||
<rect id="Rectangle_18625" data-name="Rectangle 18625" width="0.992" height="7.939" rx="0.496" transform="translate(309.93 942.417) rotate(45)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Affiliate') }}</span>
|
||||
<span class="aiz-side-nav-arrow"></span>
|
||||
</a>
|
||||
<ul class="aiz-side-nav-list level-2">
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('affiliate.user.index') }}" class="aiz-side-nav-link {{ areActiveRoutes(['affiliate.user.index','affiliate.payment_settings']) }}">
|
||||
<span class="aiz-side-nav-text">{{ translate('Affiliate System') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('affiliate.user.payment_history') }}"
|
||||
class="aiz-side-nav-link">
|
||||
<span class="aiz-side-nav-text">{{ translate('Payment History') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('affiliate.user.withdraw_request_history') }}"
|
||||
class="aiz-side-nav-link">
|
||||
<span
|
||||
class="aiz-side-nav-text">{{ translate('Withdraw request history') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
@php
|
||||
$support_ticket = DB::table('tickets')
|
||||
->where('client_viewed', 0)
|
||||
->where('user_id', Auth::user()->id)
|
||||
->count();
|
||||
@endphp
|
||||
|
||||
<!-- Support Ticket -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('support_ticket.index') }}"
|
||||
class="aiz-side-nav-link {{ areActiveRoutes(['support_ticket.index', 'support_ticket.show']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16.001" viewBox="0 0 16 16.001">
|
||||
<g id="Group_24764" data-name="Group 24764" transform="translate(-316 -1066)">
|
||||
<path id="Subtraction_184" data-name="Subtraction 184" d="M16427.109,902H16420a8.015,8.015,0,1,1,8-8,8.278,8.278,0,0,1-1.422,4.535l1.244,2.132a.81.81,0,0,1,0,.891A.791.791,0,0,1,16427.109,902ZM16420,887a7,7,0,1,0,0,14h6.283c.275,0,.414,0,.549-.111s-.209-.574-.34-.748l0,0-.018-.022-1.064-1.6A6.829,6.829,0,0,0,16427,894a6.964,6.964,0,0,0-7-7Z" transform="translate(-16096 180)" fill="#b5b5bf"/>
|
||||
<path id="Union_12" data-name="Union 12" d="M16414,895a1,1,0,1,1,1,1A1,1,0,0,1,16414,895Zm.5-2.5V891h.5a2,2,0,1,0-2-2h-1a3,3,0,1,1,3.5,2.958v.54a.5.5,0,1,1-1,0Zm-2.5-3.5h1a.5.5,0,1,1-1,0Z" transform="translate(-16090.998 183.001)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Support Ticket') }}</span>
|
||||
@if ($support_ticket > 0)
|
||||
<span class="badge badge-inline badge-success">{{ $support_ticket }}</span>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Manage Profile -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="{{ route('profile') }}" class="aiz-side-nav-link {{ areActiveRoutes(['profile']) }}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_8094" data-name="Group 8094" transform="translate(3176 -602)">
|
||||
<path id="Path_2924" data-name="Path 2924" d="M331.144,0a4,4,0,1,0,4,4,4,4,0,0,0-4-4m0,7a3,3,0,1,1,3-3,3,3,0,0,1-3,3" transform="translate(-3499.144 602)" fill="#b5b5bf"/>
|
||||
<path id="Path_2925" data-name="Path 2925" d="M332.144,20h-10a3,3,0,0,0,0,6h10a3,3,0,0,0,0-6m0,5h-10a2,2,0,0,1,0-4h10a2,2,0,0,1,0,4" transform="translate(-3495.144 592)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Manage Profile') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!-- Delete My Account -->
|
||||
<li class="aiz-side-nav-item">
|
||||
<a href="javascript:void(0)" onclick="account_delete_confirm_modal('{{ route('account_delete') }}')" class="aiz-side-nav-link">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<g id="Group_25000" data-name="Group 25000" transform="translate(-240.535 -537)">
|
||||
<path id="Path_2961" data-name="Path 2961" d="M221.069,0a8,8,0,1,0,8,8,8,8,0,0,0-8-8m0,15a7,7,0,1,1,7-7,7,7,0,0,1-7,7" transform="translate(27.466 537)" fill="#b5b5bf"/>
|
||||
<rect id="Rectangle_18942" data-name="Rectangle 18942" width="8" height="1" rx="0.5" transform="translate(244.535 544.5)" fill="#b5b5bf"/>
|
||||
</g>
|
||||
</svg>
|
||||
<span class="aiz-side-nav-text ml-3">{{ translate('Delete My Account') }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- logout -->
|
||||
<a href="{{ route('logout') }}" class="btn btn-primary btn-block fs-14 fw-700 mb-5 mb-md-0" style="border-radius: 25px;">{{ translate('Sign Out') }}</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user