Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /proc/thread-self/root/home/vapecompany/demo.vapecompany.com.bd/resources/views/frontend/layouts/ |
Upload File : |
<header class="header"> <style> span.select2-selection.select2-selection--single { outline: none; border: none; margin-top: 10px; width: 100%; margin-right: 10px; } .select2-container--default .select2-selection--single .select2-selection__arrow b { border-style: none; } .sticky{ } .stickyadd { position: fixed; top: 0; width: 100%; background: white; z-index: 999; border-bottom: 1px solid rgba(0, 0, 0, 0.296); } .stickyadd .logo img { width: 80px; height: 60px; } .stickyadd .header_search { height: 80px; display: none; } .stickyadd .logo_container { height: 80px; } .stickyadd .logo_container p{ display: none; } .stickyadd .wishlist_cart { height: 80px; } .stickyadd .wishlist_content{ display: none; } .stickyadd #main_nav{ display: block !important; } .stickyadd #main_nav ul { display: flex; justify-content: center; height: 80px; align-items: center; margin-left: 171px; } .stickyadd .cart_content{ display: none; } @media only screen and (max-width: 992px) { .stickyadd #main_nav{ display: none !important; } } </style> <!-- Top Bar --> <div class="top_bar"> <div class="container"> <div class="row"> <div class="col d-flex flex-row"> <div class="top_bar_contact_item"> <div class="top_bar_icon"><i class="fas fa-phone" style="color: #fff;"></i></div> <a href="callto:{{$companyInfo->company_phone}}">{{$companyInfo->company_phone}}</a> </div> <div class="top_bar_contact_item"> <div class="top_bar_icon"><i class="far fa-envelope" style="color: #fff;"></i></div> <a href="mailto:{{$companyInfo->company_email}}">{{$companyInfo->company_email}}</a> </div> <div class="top_bar_content ml-auto"> <div class="top-bar-right"> <ul> <li> @if($companyInfo->facebook) <div class="f-social-button"> <div class="f-social-icon"> <i class="fab fa-facebook-f"></i> </div> <a target="_black" href="https://{{$companyInfo->facebook}}"><span>Facebook</span></a> </div> @endif @if($companyInfo->instagram) <div class="f-social-button"> <div class="f-social-icon"> <i class="fab fa-instagram"></i> </div> <a target="_black" href="https://{{$companyInfo->instagram}}"><span>Instagram</span></a> </div> @endif @if($companyInfo->twitter) <div class="f-social-button"> <div class="f-social-icon"> <i class="fab fa-twitter"></i> </div> <a target="_black" href="https://{{$companyInfo->twitter}}"><span>Twitter</span></a> </div> @endif @if($companyInfo->linkedin) <div class="f-social-button"> <div class="f-social-icon"> <i class="fab fa-linkedin"></i> </div> <a target="_black" href="https://{{$companyInfo->linkedin}}"><span>LinkedIn</span></a> </div> @endif @if($companyInfo->youtube) <div class="f-social-button"> <div class="f-social-icon"> <i class="fab fa-youtube"></i> </div> <a target="_black" href="https://{{$companyInfo->youtube}}"><span>YouTube</span></a> </div> @endif </li> <li><a href="{{url('contact')}}" role="button">Contact Us</a></li> </ul> </div> </div> </div> </div> </div> </div> <!-- Header Main --> <div class="header_main sticky" id="main_navbar" style="background: white"> <div class="container"> <div class="row"> <!-- Logo --> <div class="col-lg-2 col-sm-3 col-3 order-1"> <div class="logo_container"> <div class="logo"><a href="{{url('home')}}"><img src="{{url('public/frontend/images/Vape_Company_Logo.png')}}" alt="Vape_Company_Logo.png"></a><a href="{{ url('home') }}" class="hide_mobile"><p>Vape Company</p></a></div> </div> </div> <!-- Search --> <div class="col-lg-6 order-lg-2 order-3 text-lg-left text-right"> @php $categories = DB::table('categories')->get(); @endphp <div class="header_search"> <div class="header_search_content"> <div class="header_search_form_container"> <form method="get" action="{{ url('search') }}" class="header_search_form clearfix"> @csrf <input name="search" type="search" required="required" class="header_search_input" placeholder="Search for products..."> <div class="custom_dropdown"> <div class="custom_dropdown_list"> {{-- <span class="custom_dropdown_placeholder clc">All Categories</span> <i class="fas fa-chevron-down"></i> <ul class="custom_list clc"> <li><a class="clc" href="#">All Categories</a></li> <li><a class="clc" href="#">Computers</a></li> <li><a class="clc" href="#">Laptops</a></li> <li><a class="clc" href="#">Cameras</a></li> <li><a class="clc" href="#">Hardware</a></li> <li><a class="clc" href="#">Smartphones</a></li> </ul> --}} <select class="all_category custom_list clc" name="category"> <option value="0">All Category</option> @foreach ($categories as $category) <option value="{{ $category->category_id }}">{{ $category->category_name }}</option> @endforeach </select> </div> </div> <button type="submit" class="header_search_button trans_300" value="Submit"><img src="{{url('public/frontend/images/search.png')}}" alt=""></button> </form> </div> </div> </div> <div id="main_nav" class="main_nav_menu ml-auto d-none"> <ul class="standard_dropdown main_nav_dropdown"> <li><a href="http://localhost/sd/vape-company-ecommerce-baseit/home">Home</a></li> <li><a href="http://localhost/sd/vape-company-ecommerce-baseit/shop">Shop</a></li> <li><a href="http://localhost/sd/vape-company-ecommerce-baseit/contact">Contact</a></li> </ul> </div> </div> <!-- Wishlist --> <div class="col-lg-4 col-9 order-lg-3 order-2 text-lg-left text-right"> <div class="wishlist_cart d-flex flex-row align-items-center justify-content-end"> @auth <div class="account hide_mobile"> <a href="{{ route('user.dashboard') }}">{{ auth()->user()->name }}</a> </div> @else <div class="account hide_mobile"> <a href="{{ url('/login') }}" colo>Login / Register</a> </div> @endauth @php $totalQty = Gloudemans\Shoppingcart\Facades\Cart::count(); $cartTotal = Gloudemans\Shoppingcart\Facades\Cart::total(); $wishlistTotal = DB::table('wishlists')->where('user_id',Auth::id())->count(); @endphp <div class="wishlist d-flex flex-row align-items-center justify-content-end"> <div class="wishlist_icon"><img src="{{url('public/frontend/images/heart.png')}}" alt=""></div> <div class="wishlist_content"> <div class="wishlist_text"><a href="{{ url('wishlist') }}">Wishlist</a></div> <div class="wishlist_count">{{ $wishlistTotal }}</div> </div> </div> <!-- Cart --> {{-- @php $total = 0;$tp=0; @endphp @foreach((array) session('cart') as $id => $details) @php $total += $details['quantity'];$tp += $details['price'] * $details['quantity'] @endphp @endforeach --}} <div class="cart"> <div class="cart_container d-flex flex-row align-items-center justify-content-end"> <div class="cart_icon"> <a href="{{url('cart')}}"><img src="{{url('public/frontend/images/cart.png')}}" alt="Cart"></a> <div class="cart_count"><span></span></div> <div class="cart_count"><span>{{$totalQty}}</span></div> </div> <div class="cart_content"> <div class="cart_text"><a href="{{url('cart')}}">Cart</a></div> <div class="cart_price"></div> <div class="cart_price">${{$cartTotal}}</div> </div> </div> </div> </div> </div> </div> </div> </div> @include('frontend.layouts.nav') <div class="page_menu"> <div class="container mar-pad0"> <div class="row"> <div class="col"> <div class="page_menu_content"> <div class="page_menu_search"> <form action="#"> <input type="search" required="required" class="page_menu_search_input" placeholder="Search for products..."> </form> </div> <ul class="page_menu_nav"> <li class="page_menu_item"><a href="{{url('home')}}">Home<i class="fa fa-angle-down"></i></a></li> <li class="page_menu_item"><a href="{{url('shop')}}">Shop<i class="fa fa-angle-down"></i></a></li> <li class="page_menu_item"><a href="{{url('contact')}}">contact<i class="fa fa-angle-down"></i></a></li> </ul> <div class="menu_contact"> <div class="menu_contact_item"> <div class="menu_contact_icon"><img src="{{url('public/frontend/images/phone_white.png')}}" alt=""></div> (+88) 01919081027 </div> <div class="menu_contact_item"> <div class="menu_contact_icon"><img src="{{url('public/frontend/images/mail_white.png')}}" alt=""></div> <a href="mailto:fastsales@gmail.com">info@vapecompany.com.bd</a> </div> </div> </div> </div> </div> </div> </div> </header>