@include('nn_site.partials.header')
    <section class="team section">
        <div class="container">
            <div class="row d-flex justify-content-center">
                <div class="col-md-10">
                    <div class="team-full">
                        <div class="team-full__img">
                            <figure>
                                <picture><source srcset="{{$team->imgurl}}" type="image/webp"><img src="{{$team->imgurl}}" alt="{{$team->name}}"></picture>
                            </figure>
                        </div>
                        <div class="team-full__title">
                            <h3>{{$team->name}}</h3>
                            <p>{{$team->teamposition}}</p>
                            <ul>
                                @if ($team->email)
                                    <li><span>{{$translate->eMail}}:</span> <b>{{$team->email}}</b></li>
                                @endif
                                <!--<li><span>{{$translate->research}}:</span> <b>{{$team->research}}</b></li>-->
                                @if ($team->education)
                                    <li><span>{{$translate->education}}:</span> <b>{{$team->education}}</b> </li>
                                @endif
                            </ul>
                        </div>
                    </div>
                    <nav class="tabs-full tabbable-line">
                        <div class="nav nav-tabs" id="nav-tab" role="tablist">
                            @if ($team->description)
                                <a class="nav-item nav-link active" id="nav-home-tab" data-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="true">
                                    {{$team->tab_1 ? $team->tab_1 : $translate->aboutUs}}
                                </a>
                            @endif 
                            @if ($team->publications)
                                <a class="nav-item nav-link" id="nav-profile-tab" data-toggle="tab" href="#nav-profile" role="tab" aria-controls="nav-profile" aria-selected="false">
                                    {{$team->tab_2 ? $team->tab_2 : $translate->publications}}
                                </a>
                            @endif
                            @if ($team->moreinfo)
                                <a class="nav-item nav-link" id="nav-contact-tab" data-toggle="tab" href="#nav-contact" role="tab" aria-controls="nav-contact" aria-selected="false">
                                    {{$team->tab_3 ? $team->tab_3 : $translate->moreInfo}}
                                </a>
                            @endif
                        </div>
                      </nav>
                      <div class="tab-content" id="nav-tabContent">
                        <div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">
                            <div class="team-textit">
                               {!! $team->description !!}
                            </div>
                        </div>
                        <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab"> <div class="team-textit">
                        {!! $team->publications !!}
                        </div></div>
                        <div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab"> <div class="team-textit">
                        {!! $team->moreinfo !!}
                        </div></div>
                      </div>
                </div>
            </div>
        </div>
    </section>
    @include('nn_site.partials.footer')