@extends('layouts.app_admin')
@section('title', 'Teams')
@push('css')
@endpush

@section('content')

    <!-- Main Content -->
    <div class="main-content">
        <section class="section">
            <div class="col-12 section-header">
                <div class="col-6">
                    <h1>Details</h1>
                </div>

            </div>
            @if ($errors->any())
                <div class="col-sm-12">
                    <div class="alert  alert-warning alert-dismissible fade show" role="alert">
                        @foreach ($errors->all() as $error)
                            <span>
                                <labelTxt>{{ $error }}</labelTxt>
                            </span>
                        @endforeach
                        <button type="button" class="close" data-dismiss="alert" aria-labelHeader="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                </div>
            @endif

            @include('flash-message')

            <div class="section-body">
                <div class="col-12">
                    <div class="card">
                        {{-- {{ route('product.store') }} --}}
                        <div class="row">
                            <div class="col-lg-8">
                                <ul class="nav nav-tabs" id="myTabs">
                                    <li class="nav-item">
                                        <a class="nav-link active" id="english-tab" data-toggle="tab"
                                            href="#english-section"></a>
                                    </li>
                                  
                                </ul>

                                <div class="tab-content">
                                    <div class="tab-pane fade show active" id="english-section">
                                        <!-- English section content -->
                                        <div class="form-group custom_px">
                                            <labelHeader for="vision text">Name</labelHeader>
                                            <labelTxt>
                                                @if ($data->name != null)
                                                    {{ $data->name }}
                                                @else
                                                @endif
                                            </labelTxt>
                                        </div>



                                        <div class="form-group custom_px">
                                            <labelHeader for="vision text">Designation</labelHeader>
                                            <labelTxt>
                                                @if ($data->designation != null)
                                                    {!! $data->designation !!}
                                                @else
                                                    No Text
                                                @endif
                                            </labelTxt>
                                        </div>

                                        <div class="form-group custom_px">
                                            <labelHeader for="vision text">Linkedin URL</labelHeader>
                                            <labelTxt>
                                                @if ($data->linkedin_url != null)
                                                    {{ $data->linkedin_url }}
                                                @else
                                                @endif
                                            </labelTxt>
                                        </div>

                                        <div class="form-group custom_px">
                                            <labelHeader for="vision text">Facebook URL</labelHeader>
                                            <labelTxt>
                                                @if ($data->facebook_url != null)
                                                    {{ $data->facebook_url }}
                                                @else
                                                @endif
                                            </labelTxt>
                                        </div>

                                      

                                    </div>
                                </div>
                            </div>


                            <div class="col-lg-4">
                                <div class="form-group  custom_px">
                                    <labelHeader for="image">Image</labelHeader>
                                    @if ($data->image != null)
                                        <img src="{{ asset('images/team/' . $data->image) }}" width="400px"
                                            alt="user photo" /><br>
                                    @else
                                        No Image File
                                    @endif

                                </div>

                            </div>

                        </div>
                    </div>

                </div>
            </div>

        </section>


        <!-- End -->
    </div>



@endsection

@section('extra-js')


@endsection
