Current File : /home/tradevaly/public_html/resources/views/frontend/pages/company_overview.blade.php
@extends('frontend.layouts.app')
@section('meta_author')
{{ $company->meta_author }}
@endsection
@section('meta_title')
{{ $company->meta_title }}
@endsection
@section('meta_keword')
{{ $company->meta_keword }}
@endsection
@section('meta_description')
{{ $company->meta_description }}
@endsection
@section('content')
     <!--------------------------- Company Overview Banner Area ------------------------------------>

     <section class="inner-banner company-profile">
        <div class="container">
            <div class="row">
                <div class="col-lg-8">
                    <i class="com-logo"> 
                        <img src="{{asset('storage/images/user/avatar/'.$company->image.'')}}" alt="{{$company->name}}" height="200px" width="200px">
                    </i>
                    <h1>{{ translate($company->name) }}  </h1>
                    <span class="company-cat">{{ $company->type }}</span>
                    <ul>
                        <li><i class="fi fi fi-{{ strtolower($company->user->country->iso)}}"> </i><span>{{ $company->location}}</span></li>
                        <li><i class="fas fa-globe"></i><a href="{{  translate($company->web) }}" target="_blank"><span>{{ translate($company->web)}}</span></a></li>

                    </ul>
                    <ul class="list-inline">
                          <li class="list-inline-item mr-2">
                            <a target="_blank" title="{{ translate('Follow Us') }}" class='text-white'>
                            Follow Us
                            </a>
                          </li>
                          
                          @if($company->user->qq)
                          <li class="list-inline-item mr-2">
                            <a target="_blank" title="{{ translate('Facebook') }}" href="{{ $company->user->qq }}" class='text-white'>
                            <i class="fab fa-facebook-f">
                            </i>
                            </a>
                          </li>
                           @endif
                          @if($company->user->whatsapp)
                          <li class="list-inline-item mr-2">
                            <a target="_blank" title="{{ translate('Whats App') }}" href="https://wa.me/{{ $company->user->whatsapp }}" class='text-white'>
                            <i class="fab fa-whatsapp"></i>
                            </i>
                            </a>
                          </li>
                           @endif
                          @if($company->user->skype)
                          <li class="list-inline-item mr-2">
                            <a target="_blank" title="{{ translate('skype') }}" href="skype:{{ $company->user->skype }}" class='text-white'>
                            <i class="fab fa-skype"></i>
                            </a>
                          </li>
                           @endif
                          @if($company->user->wechat)
                          <li class="list-inline-item mr-2">
                            <a target="_blank" title="{{ translate('Linkedin') }}" href="{{ $company->user->wechat }}" class='text-white'>
                            <i class="fab fa-linkedin-in"></i>
                            </a>
                          </li>
                           @endif
                        </ul>
                </div>
                <figure class="col-lg-4 col-12 text-lg-right">
                    @if($user->verified == 1)
                        <img src="{{asset('assets/frontend/img/verifyed.png')}}"alt="Trusted Partner" width="200">
                    @endif
                    <a href="https://tradevaly.com.bd/premium-service" title="Platinum">
                        <img src="{{asset('storage/images/admin/package/'.$company->user->package->image)}}" alt="Service Image" class="mt-2">
                    </a>
                </figure>
            </div>
        </div>
    </section>

    <!----------------------------------Company Overview Details and Contact From Area -------------------------->

    <section class="com-details bggrey">
        <div class="container brd-white-pad">
            <div class="row">
                <div class="col-md-8">
                    <h4 class="hd-rd-brdr hd-inner-link">{{ translate('Company Overview') }}</h4>
                    <div class="p-5"> {!! $company->overview !!}</div>
                </div>
                @if(!Auth::user())
                 <div class="col-md-4">
                     <section class="quote-now d-md-none d-lg-block d-xl-block">
                          @include('frontend.utils.tellus')
                 </section>
                 </div>
                @else
                <div class="side-nav-dark my_own_custom_style col-md-4 d-none d-lg-block">
                    @include('frontend.utils.auth_sidebar')
                </div>
                
                @endif
            </div>
        </div>
    </section>

    <!---------------------------- Company Products ---------------------------------->

    <section class="prd-showcase bggrey">
        <div class="container brd-white-pad">
            <h2>{{ translate('Product') }} <span>{{ translate('Showcase') }}</span></h2>
            <div class="Showcase-prd-tabs">
                <ul class="nav nav-tabs">
                    
                    @foreach($products_3 as $product_3)
                    <li class="nav-item">
                        <a class="nav-link active" data-toggle-product="all" href="{{ url('/products') }}">{{ $product_3->title }}</a>
                    </li>
                    @endforeach 
                    <li class="nav-item">
                        <a class="nav-link active" data-toggle-product="all" href="{{ url('/products') }}">{{ translate('View All Products') }}</a>
                    </li>
                    
                </ul>
            </div>
            <div class="prd-showcase-result-col bggrey">
                <div class="tab-content">
                    <div class="tab-pane active" id="all-prod">
                        <div class="prd-showcase-listing-result-row">
                            <ul>
                            @foreach($products as $product)
                                <li data-json="" data-product-industry="handbags, handbags, makeup-tools, brush ">
                                    <a href="{{ route('product.view', $product->slug) }}" title="{{$product->title}}">
                                        <img src="{{asset('storage/images/admin/product/'.$product->image.'')}}" alt="{{$product->title}}" class="lazy" data-src="img/productc1.jpg">
                                        <span class="text-center">{{ translate($product->title) }}</span>
                                    </a>
                                </li>
                            @endforeach    

                            </ul>
                        </div>
                     
                    </div>
                       
                </div>
                <div class="padding__15px">
                {{ $products->links() }}
                </div>
            </div>
        </div>

    </section>


    <!----------------------------- Company Details Menu Tab ------------------------>

    <section class="company-about bggrey">
        <div class="container brd-white-pad">
            <div class="row">
                <div class="col-md-3">
                    <div class="company-about-tabs">
                        <h2>About Us</h2>
                        <ul class="nav nav-tabs">
                            <li class="nav-item">
                                <a class="nav-link active" title="Company Information" data-toggle="tab" href="#company-info">{{ translate('Company Information') }}</a>
                            </li>
                            @if(!empty($company->youtube))
                            <li class="nav-item">
                                <a class="nav-link" title="Video Overview" data-toggle="tab" href="#videoview">{{ translate('Video Overview') }}</a>
                            </li>
                            @endif
                            @if($pdfs->count() > 0)
                            <li class="nav-item">
                                    <a class="nav-link" title="Brouchers" data-toggle="tab" href="#brouchers">{{ translate('Brouchers') }}</a>
                                </li>
                            @endif
                            @if($certificates->count() > 0)
                            <li class="nav-item">
                                <a class="nav-link" title="Certificates" data-toggle="tab" href="#certificate">{{ translate('Certificates') }}</a>
                            </li>
                            @endif
                            @if($awards->count() > 0)
                            <li class="nav-item">
                                <a class="nav-link" title="Certificates" data-toggle="tab" href="#award">{{ translate('Awards') }}</a>
                            </li>
                            @endif
                            
                           
                        </ul>
                    </div>
                </div>
                <div class="col-md-9">
                    <div class="company-about-col">
                        <div class="tab-content">
                            <div class="tab-pane active" id="company-info">
                                <div class="company-about-listing-result-row">
                                    <h2>{{ translate($company->name) }}</h2>
                                    <p>{!! $company->des !!}</p>

                                    <ul>
                                        @if(!empty($company->type))
                                        <li>{{ translate('Business Type:') }} <b>{{ translate($company->type) }}</b></li>
                                        @endif
                                        @php
                                        $main_prod = json_decode($company->main_products, true);
                                        @endphp
                                        
                                        @if(!empty($company->main_products) && is_array($main_prod))
                                        <li>{{ translate('Main Products: ') }}<b class="text-truncate">{{ translate(implode(',', $main_prod)) }}</b></li>
                                        @endif
                                        @if(!empty($company->main_market))
                                        <li>{{ translate('Main Markets: ') }}<b>{{ translate($company->main_market) }}</b></li>
                                        @endif
                                        @if(!empty($company->year))
                                        <li>{{ translate('Established year:') }} <b>{{ translate($company->year) }}</b></li>
                                        @endif
                                        @if(!empty($company->revenue))
                                        <li>{{ translate('Total Annual Revenue: ') }}<b>@if(!empty($company->revenue)) {{ translate($company->revenue)}} @else N/A @endif</b></li>
                                        @endif
                                        @if(!empty($company->export))
                                        <li>{{ translate('Export Percentage:') }}<b>{{ translate($company->export) }}</b></li>
                                        @endif
                                        @if(!empty($company->location))
                                        <li>{{ translate('Location:') }} <b> {{ translate($company->location_) }}</b></li>
                                        @endif
                                        @if(!empty($company->address))
                                        <li>{{ translate('Address:') }} <b>{{ translate($company->address) }}</b></li>
                                        @endif
                                        @if(Auth::check() && !empty(Auth::user()->package_id))
                                        <li>{{ translate('Phone Number :')}}
                                            <b> 
                                            <span data-text-blur="">
                                                <a data-text-blur="" title="#">{{ translate('Membership Required') }}</a>
                                            </span>
                                            </b>
                                        </li>
                                        @else
                                        <li>{{ translate('Phone Number :') }}
                                            <b>{{ translate($company->phone)}}
                                            </b>
                                        </li>
                                        
                                        @endif
                                        <li>{{ translate('Country:') }} <b>{{ translate($company->user->country->nicename) }}</b></li>
                                        <li>{{ translate('Key Products: ') }}<b>{{ translate($company->main_products) }}</b></li>

                                    </ul>
                                </div>
                            </div>
                            <div class="tab-pane" id="videoview">
                                <div class="company-about-listing-result-row">
                                    <h2>{{ translate('Company Overview Video At a Glance') }}</h2>
                                    <div class="">
                                        @if(!empty($company->youtube))
                                        <iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0"width="890" height="500" type="text/html" src="https://www.youtube.com/embed/{{$company->youtube}}?autoplay=0&fs=1&iv_load_policy=3&showinfo=0&rel=0&cc_load_policy=0&start=0&end=0&origin=https://ayaantec.com"><div><small><a href="https://ayaantec.com">Ayaan Tech Limited</a></small></div><div><small><a href="https://ayaantec.com">Ayaan Tech Limited</a></small></div></iframe>
                                        @endif
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="brouchers">
                                    <div class="company-about-listing-result-row">
                                        <h2>{{ translate('Brouchers') }}</h2>
                                        <div class="">
                                            <ul class="row">
                                                @foreach($pdfs as $pdf)
                                                <li class="col-sm-4 col-6 mb-3 brochure-listing">
                                                    <a class="company-brochure-download-icon" href="{{asset('storage/images/user/pdf/'.$pdf['image'])}}" download="{{asset('storage/images/user/pdf/'.$pdf['image'])}}"><img src="/public/dload.png" alt="{{$pdf->name}}" class="company-brochure"></a>
                                                    <span>{{ translate($pdf->name) }} </span>
                                                </li>
                                                @endforeach
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            <div class="tab-pane" id="certificate">
                                <div class="company-about-listing-result-row">
                                    <h2>{{ translate('Certificate.') }}</h2>
                                    <div class="prd-showcase-listing-result-row">
                                        <ul>
                                            
                                          
                                            @foreach($certificates as $cer)
                                            <li>
                                                <img src="{{asset('storage/images/user/certificate/'.$cer['image'])}}" alt="{{$cer->name}}" class="company-certificate">
                                                <span>{{ translate($cer->name) }}</span>
                                            </li>
                                           @endforeach
                                          
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="award">
                                <div class="company-about-listing-result-row">
                                    <h2>{{ translate('Award.') }}</h2>
                                    <div class="prd-showcase-listing-result-row">
                                        <ul>
                                            
                                          
                                            @foreach($awards as $cer)
                                            <li>
                                                <img src="{{asset('storage/images/user/pdf/'.$cer['image'])}}" alt="{{$cer->name}}" class="company-certificate">
                                                <span>{{ translate($cer->name) }}</span>
                                            </li>
                                           @endforeach
                                          
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="coc">
                                <div class="company-about-listing-result-row">
                                    <h2>{{ translate('Code of Conduct') }}</h2>
                                    <p>
                                    {{ translate($company->conduct) }}</p>
                                </div>
                            </div>
                            <div class="tab-pane" id="fac-tour">
                                <div class="company-about-listing-result-row">
                                    <h2>{{ translate('Factory Tour.') }}</h2>
                                    <div class="prd-showcase-listing-result-row">
                                        <ul>
                                            @php
                                            $factory = json_decode($company->factory, true);
                                            @endphp
                                            @if(!empty($factory) && is_array($factory))
                                            @foreach($factory as $fac)
                                            <li>
                                                <img src="{{$fac->image}}" alt="{{$fac->company}}" class="company-factory-tour">
                                                <span>{{ translate($fac->company) }}</span>
                                            </li>
                                           @endforeach
                                           @endif
                                        </ul>
                                    </div>
                                </div>
                            </div>
                           
                            <div class="tab-pane" id="quality-control">
                                <div class="company-about-listing-result-row">
                                    <h2>{ translate('Quality Control') }}</h2>
                                    <ul>
                                        <li>{{ translate('Technical Support:') }} <b>{{ translate($company->technical) }}</b></li>
                                        <li>{{ translate('Staff:') }} <b class="text-truncate"></b></li>
                                        <li>{{ translate('Staff:') }} <b>{{ translate($company->staff) }}</b></li>
                                    </ul>
                                </div>
                            </div>
                            <div class="tab-pane" id="researchdevelopment">
                                <div class="company-about-listing-result-row">
                                    <h2>{{ translate('Research And Development') }}</h2>
                                    <ul>
                                        <li>{{ translate('Total Staff :') }} 
                                            <b>{{ translate($company->staff) }}</b>
                                        </li>
                                        <li>{{ translate('Machinery Equipment :') }} 
                                            <b>{{ translate($company->equipment) }}</b>
                                        </li>
                                        <li> {{ translate('Patent Copyrights :') }}
                                            <b>{{ translate($company->patent) }}</b>
                                        </li>
                                        <li>{{ translate('Location :') }} 
                                            <b>{{ translate($company->location) }}</b>
                                        </li>
                                        <li>{{ translate('Awards :') }} 
                                            <b>{{ translate($company->awards) }}</b>
                                        </li>
                                        
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

@endsection