@extends('webprofile.front.jollyany.master')

@section('content')
  <section class="post-wrapper-top jt-shadow clearfix">
    <div class="container">
      <div class="col-lg-12">
      @if($data->rDe)
          <h2>Agenda - {!! $data->rDe->title !!}</h2>
          @endif
      </div>
    </div>
  </section><!-- end post-wrapper-top -->

  <section class="blog-wrapper">
    <div class="container">
        <div class="row">
          <div id="main-content" class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
            <div class="row">
              <div class="blog-masonry">
                <div class="col-lg-12">
                  <div class="blog-carousel">
                    <div class="blog-carousel-header">
                      @if ($data->rDe)
                      <h1>{!! $data->rDe->title !!}</h1>
                      @endif
                      <div class="blog-carousel-meta">
                          <span><i class="fa fa-eye"></i> <a href="#">{!! $data->viewer !!} Ansichten</a></span>
                          {{-- <span><i class="fa fa-user"></i> <a href="#">Redaksi</a></span> --}}
                      </div><!-- end blog-carousel-meta -->
                    </div><!-- end blog-carousel-header -->
                    <div class="blog-carousel-desc">
                      @if ($data->rDe)
                      {!! $data->rDe->content !!}
                      @endif
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
         {{-- @include('webprofile.front.jollyany.de.widget')--}}
         
         <div id="sidebar" class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
              <div class="widget">
                <div class="title"><h2>
                  <h2>alle Tagesordnung</h2>
                  <ul class="nav nav-tabs nav-stacked">
                    @foreach($agendas as $value)
                    @if($value->rDe)
                      <li><a class="unesa-link" href="{!! url('agenda/'.$value->slug) !!}">{!! $value->rDe->title !!}</a></li>
                    @endif
                      @endforeach
                  </ul>

               
                </div>
              </div>
            </div>
        </div>
    </div><!-- end container -->
  </section><!--end white-wrapper -->

@endsection
