Current File : //home/tradevaly/new.tradevaly.com.bd/resources/views/frontend/layouts/header.blade.php

<!----------------------- Top Nav Bar Premium services ------------------------->
<section class="top-quick-nav custom__style_css"> 
    <div class="container"> 
        <nav class="navbar navbar-expand-md navbar-light"> 
            <button class="navbar-toggler navbar-toggler-left" type="button" data-toggle="collapse" data-target="#nav-top-left" aria-expanded="true"><span class="navbar-toggler-icon"></span> 
            </button> 
            <div class="navbar-collapse collapse hide" id="nav-top-left"> 
                <ul class="navbar-nav left"> 
                    
                    <li class="nav-item"> 
                        <a class="nav-link {{menuActive('buyers')}}" href="{{'/buyers'}}" title="Buyers">{{ translate('Buyers') }}</a> 
                    </li> 
                    <li class="nav-item"> 
                        <a class="nav-link {{menuActive('products')}}" href="{{'/products'}}" title="Products">{{ translate('Products') }}</a> 
                    </li> 
                    <li class="nav-item"> 
                        <a class="nav-link {{menuActive('companies')}}" href="{{'/companies'}}" title="Companies">{{ translate('Companies') }}</a>
                    </li> 
                    <li class="nav-item"> 
                        <a class="nav-link {{menuActive('manufacturers')}}" href="{{'/manufacturers'}}" title="Manufacturers">{{ translate('Manufacturers') }}</a> 
                    </li> 
                     <li class="nav-item"> 
                        <a class="nav-link {{menuActive('help')}}" href="{{route("help")}}">{{ translate('Contact Us') }}</a> 
                    </li> 
                     <li class="nav-item"> 
                        <a class="nav-link {{menuActive('advertiser')}}" href="{{route("advertiser")}}">{{ translate('Advertisment') }}</a> 
                    </li> 
                    <li class="nav-item"> 
                        <a href="{{ route('packages') }}" title="Premium Services"> <span class="third_color"><i class="fas fa-star"></i> {{ translate('Premium Services') }}</span> </a> 
                    </li> 
                    <li class="nav-item"> 
                        <div id="google_translate_element"  lang="en" aria-label="Language (English‎)"></div>
                    </li> 
                </ul> 
                <ul class="navbar-nav right"> 
                  
                </ul> 
            </div> 
        </nav> 
    </div>
</section>
<!---------------------------------- Main Header Menu ------------------------------------->
<header class="bg-white"> 
    <div class="container"> 
        <div class="row"> 
            <div class="col-md-3 col-xl-3 d-flex justify-content-center justify-content-md-start mb-md-0 mb-3"> 
                <a href="{{ route('homepage') }}" title="Trade Valy"> 
                 
                    <img src="{{asset('storage/images/admin/logo/'.$logo->image)}}" class="logo w-100 mt-0 height__80px" alt="tradevaly"> 
                </a> 
            </div> 
            <div class="col-md-5 col-xl-6 pr-md-0"> 
                <ul class="nav nav-pills" id="pills-tab" role="tablist">
                    <li class="nav-item">
                      <a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true">{{ translate('Products') }}</a>
                    </li>
                    <li class="nav-item">
                      <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="false">{{ translate('Companies') }}</a>
                    </li>
                    <li class="nav-item">
                      <a class="nav-link" id="pills-contact-tab" data-toggle="pill" href="#pills-contact" role="tab" aria-controls="pills-contact" aria-selected="false">{{ translate('Buyers') }}</a>
                    </li>
                  </ul>
                  <div class="tab-content head-search" id="pills-tabContent">
                    <div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
                        <form method="GET" action="{{ route('search') }}" accept-charset="UTF-8" class="form-inline strip-form" id="search_details"> 
                            <input minlength="3" required="" placeholder="What are you looking for?" name="s" type="search" value="{{ app('request')->input('s') }}"> 
                           
                            <input type="hidden" name="type" value="product">
                            <button type="submit"><i class="fa fa-search"></i></button> 
                        </form> 
                    </div>
                    <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
                        <form method="GET" action="{{ route('search') }}" accept-charset="UTF-8" class="form-inline strip-form" id="search_details"> 
                            <input minlength="3" required="" placeholder="What are you looking for?" name="s" type="search" value="{{ app('request')->input('s') }}"> 
                            
                            <input type="hidden" name="type" value="seller">
                            <button type="submit"><i class="fa fa-search"></i></button> 
                        </form> 
                    </div>
                    <div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">
                        <form method="GET" action="{{ route('search') }}" accept-charset="UTF-8" class="form-inline strip-form" id="search_details"> 
                            <input minlength="3" required="" placeholder="What are you looking for?" name="s" type="search" value="{{ app('request')->input('s') }}"> 
                            <input type="hidden" name="type" value="buyer">
                            <button type="submit"><i class="fa fa-search"></i></button> 
                        </form> 
                    </div>
                  </div>
            </div> 
            <div class="col-md-4 col-xl-3 align_center d-flex justify-content-center justify-content-md-end mt-md-0 mt-2 header-list"> 
                <ul> 
                    <li> <i class="fas fa-user-circle"></i>@if(!Auth::check()) <small> <a href="{{'/login'}}">{{ translate('Sign In') }}</a> <sub class="headerLoginRegisterSeperator">/</sub> <a href="{{ route('register') }}" title="Join Free">{{ translate('Join Free') }}</a> </small> @else <small> <a href="{{route('user.dashboard')}}">{{ translate('Dashboard') }}</a></small>@endif <span>{{ translate('My Account') }}</span> </li> 
                    <li> <a href="{{url('rfq')}}"><i class="fas fa-envelope"></i> <small>{{ translate('Post') }}</small> <span>{{ translate('RFQ') }}</span> </a> </li> 
                </ul> 
            </div> 
        </div> 
    </div><!-- Google tag (gtag.js) --><script async src="https://www.googletagmanager.com/gtag/js?id=G-EV8Q6M9R20"></script><script>  window.dataLayer = window.dataLayer || [];  function gtag(){dataLayer.push(arguments);}  gtag('js', new Date());  gtag('config', 'G-EV8Q6M9R20');</script><!-- Google rich text (gtag.js) --><script type="application/ld+json">{  "@context": "https://schema.org",  "@type": "LocalBusiness",  "name": "Tradevaly",  "image": "https://tradevaly.com.bd/public/storage/images/admin/logo/2023-08-02-64ca3eb80ff6e.png",  "@id": "",  "url": "https://tradevaly.com.bd/",  "telephone": "+8801712568219",  "priceRange": "$$$",  "address": {    "@type": "PostalAddress",    "streetAddress": "Road-14",    "addressLocality": "Dhaka",    "postalCode": "1230",    "addressCountry": "BD"  },  "geo": {    "@type": "GeoCoordinates",    "latitude": 23.8651496,    "longitude": 90.3951646  },  "openingHoursSpecification": {    "@type": "OpeningHoursSpecification",    "dayOfWeek": [      "Monday",      "Tuesday",      "Wednesday",      "Thursday",      "Friday",      "Saturday",      "Sunday"    ],    "opens": "00:00",    "closes": "23:59"  },  "sameAs": [    "https://www.facebook.com/tradevaly.bd",    "",    "",    "",    "https://www.linkedin.com/company/e-nawabpur/",    "",    "https://www.tradevaly.com.bd/"  ] }</script><!-- Google rich text end (gtag.js) -->
</header>
    @php
    $ticker = \App\Models\News::first();
    @endphp
@if($ticker->status == 1)
 <!----------------------- Join today Top bar -------------------------->
 <section id='headerMarquee'> 
    <div class="container"> 
            <div class="ticker-wrap">
<div class="ticker">

    @if($ticker != null)
  <div class="ticker__item">{{$ticker->title}}</div>
  <div class="ticker__item">{{$ticker->title}}</div>
  <div class="ticker__item">{{$ticker->title}}</div>
  <div class="ticker__item">{{$ticker->title}}</div>
  <div class="ticker__item">{{$ticker->title}}</div>
  @endif
 </div>
</div>
</div>
         
</section>
@endif
@if(settings()->discount_status == 1) 
<section  class='dicount_section'>
    <div class="">
        <a href="{{ settings()->discount_link }}" terget="_blank">
            <img src="{{asset('storage/images/admin/discount/'.settings()->discount_img)}}" class="img-fluid"/>
        </a>
    </div>
        
</section>
@endif