templates/front/member_single/member.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}{{ member.fullName }} | {{ parent() }}{% endblock %}
  3. {% block body %}
  4. <section class="color-bg middle-padding ">
  5.     <div class="wave-bg wave-bg2"></div>
  6.     <div class="container">
  7.         <div class="flat-title-wrap">
  8.             <h2><span>Membre  : <strong>{{ member.fullName }}</strong></span></h2>
  9.             <span class="section-separator"></span>
  10.             <h3 class="text-white">{{ member.profession }}</h3>
  11.         </div>
  12.     </div>
  13. </section>
  14. <div class="breadcrumbs-fs fl-wrap">
  15.     <div class="container">
  16.         <div class="breadcrumbs fl-wrap"><a href="#">Membre</a><span>{{ member.fullName }}</span></div>
  17.     </div>
  18. </div>
  19. <section  id="sec1" class="middle-padding grey-blue-bg">
  20.     <div class="container">
  21.         <div class="row">
  22.             <div class="col-md-4">
  23.                 <div class="box-widget-item fl-wrap">
  24.                     <div class="box-widget">
  25.                         <div class="box-widget-content" style="padding-bottom: 25px !important;">
  26.                             <div class="box-widget-item-header">
  27.                                 <h3>À propos</h3>
  28.                             </div>
  29.                             <div class="box-widget-author fl-wrap">
  30.                                 <div class="box-widget-author-title fl-wrap">
  31.                                     <div class="box-widget-author-title-img">
  32.                                         {% if member.avatar %}
  33.                                         <img src="{{ asset('/uploads/files/team/avatar/' ~ member.avatar) }}" alt="{{ member.fullName }}">
  34.                                         {% else %}
  35.                                         <img src="{{ asset('front/images/avatar/1.jpg') }}" alt="{{ member.fullName }}" />
  36.                                         {% endif %}
  37.                                     </div>
  38.                                     <a href="{{ url('app_front_member_single', {'slug': member.slug }) }}">{{ member.fullName }}</a>
  39.                                     <span>{{ member.profession }}</span>
  40.                                 </div>
  41.                             </div>
  42.                             <div class="list-widget-social">
  43.                                 <ul>
  44.                                     {% if member.facebook %}
  45.                                     <li><a href="{{ member.facebook }}" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
  46.                                     {% endif %}
  47.                                     {% if member.twitter %}
  48.                                     <li><a href="{{ member.twitter }}" target="_blank"><i class="fab fa-twitter"></i></a></li>
  49.                                     {% endif %}
  50.                                     {% if member.instagram %}
  51.                                     <li><a href="{{ member.instagram }}" target="_blank"><i class="fab fa-instagram"></i></a></li>
  52.                                     {% endif %}
  53.                                     {% if member.linkedin %}
  54.                                     <li><a href="{{ member.linkedin }}" target="_blank"><i class="fab fa-linkedin"></i></a></li>
  55.                                     {% endif %}
  56.                                     {% if member.email %}
  57.                                     <li><a href="mailto:{{ member.email }}" target="_blank"><i class="fal fa-envelope"></i></a></li>
  58.                                     {% endif %}
  59.                                 </ul>
  60.                             </div>
  61.                         </div>
  62.                     </div>
  63.                 </div>
  64.             </div>
  65.             <div class="col-md-8">
  66.                 <div class="list-single-main-item fl-wrap no-mar-bottom ">
  67.                     <div class="list-single-main-item-title fl-wrap">
  68.                         <h3>{{ member.fullName }}</h3>
  69.                     </div>
  70.                     <div class="control-description">
  71.                         {{ member.about|raw }}
  72.                     </div>
  73.                     {% if member.affirmation %}
  74.                     <blockquote class="mb-0">
  75.                         <p>{{ member.affirmation|raw }}</p>
  76.                     </blockquote>
  77.                     {% endif %}
  78.                 </div>
  79.             </div>
  80.         </div>
  81.     </div>
  82.     <div class="section-decor"></div>
  83. </section>
  84. {% endblock %}