templates/front/detail/detail-actualite.html.twig line 1

Open in your IDE?
  1. {% extends 'front.html.twig' %}
  2. {% block title %}
  3. {% if detactu != null %}
  4.     {{detactu.slug }} | CIMEF-INTERNATIONAL
  5. {% endif %}
  6. {% endblock %}
  7. {% block meta_description %}
  8. <meta name="description" content="Suivez l'actualité de CIMEF International : formations, séminaires et conseils en management pour cadres et dirigeants en Afrique et à l'international."/>
  9. <meta property="og:image" content="https://cimef-international.org/public/inter/LOGO CIMEF.jpg.jpeg">
  10. <meta property="og:url" content="https://cimef-international.org/actualites">
  11. <meta property="og:type" content="website">
  12. {% endblock %}
  13. {% block styleSheets %}
  14. <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-element-bundle.min.js"></script>
  15. <style id='wp-emoji-styles-inline-css' type='text/css'>
  16. .row {
  17.     display: flex;            /* flexbox pour aligner les colonnes */
  18.     flex-wrap: wrap;          /* les colonnes passent à la ligne si nécessaire */
  19.     margin-right: -0.75rem;   /* -gutter/2 */
  20.     margin-left: -0.75rem;    /* -gutter/2 */
  21. }
  22. .events_pagination ul.pagination {
  23.     display: flex;
  24.     flex-wrap: wrap;
  25.     justify-content: center;
  26.     list-style: none;
  27.     margin: 0;
  28.     padding: 0;
  29. }
  30. .page-item.active .page-link {
  31.     background-color: #ff6600;
  32.     color: #fff;
  33. }
  34. .page-link {
  35.     margin: 10px;
  36.     color: #051a53;
  37.     background-color: #ededed;
  38.     border-radius: 5px;
  39.     padding: 10px;
  40.     /* margin: 0 3px; */
  41. }
  42. .text-lien{
  43.    color: #ff6600;
  44.    /* font-size: 16px; */
  45. }
  46. /* Small devices ≥576px */
  47. @media (min-width: 576px) {
  48.   .col-3 { flex: 0 0 100%; max-width: 100%; }
  49.   .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  50.   .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
  51.   .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
  52. }
  53. /* Medium devices ≥768px */
  54. @media (min-width: 768px) {
  55.   .col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  56.   .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  57.   .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  58.   .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  59. }
  60. /* Large devices ≥992px */
  61. @media (min-width: 992px) {
  62.   .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  63.   .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  64.   .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  65.   .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  66. }
  67. .type1 .date-event {
  68.     transition: all 0.5s ease;
  69.     position: absolute;
  70.     bottom: 20px;
  71.     left: 30px;
  72.     z-index: 1;
  73.     font-size: 12px;
  74.     color: #fff;
  75.     font-weight: 700;
  76.     text-transform: uppercase;
  77.     text-align: center;
  78.     line-height: 1.3;
  79.     letter-spacing: 1px;
  80.     background-color: #ff6600 !important;
  81.     padding: 12px;
  82. }
  83. .icon_event{
  84.     color: #ff6600 !important;
  85. }
  86. .wrap_header_banner .overlay-slider {
  87.     position: absolute;
  88.     top: 0;
  89.     left: 0;
  90.     padding-top: 30px; 
  91.     width: 100%;
  92.     height: 100%;
  93.     background-color: rgba(0, 0, 0, 0.6392156863);
  94. }
  95. </style>
  96. {% endblock %}
  97. {% block body %}
  98. {% include 'section/navbar.html.twig' %}
  99. <div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/table.jpeg')}});">
  100.     <div class="overlay-slider">
  101.         <div class="row_site">
  102.             <div class="container_site">
  103.                 <div class="cover_color"></div>
  104.                 <div class="header_banner_el">
  105.                     {% if detactu != null %}
  106.                     <div class="header_breadcrumbs">
  107.                         <div id="breadcrumbs">
  108.                         <ul class="breadcrumb">
  109.                             <li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
  110.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  111.                             <li style="color: #fff!important;">actualité</li>
  112.                             <li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
  113.                             <li style="color: #fff!important;">{{ detactu.titre }}</li>
  114.                         </ul>
  115.                         </div>
  116.                     </div>
  117.                     <h1 class="header_title" style="color: #fff!important;">Actualités </h1>
  118.                     {% endif %}
  119.                 </div>
  120.             </div>
  121.         </div>
  122.     </div>
  123. </div>
  124. <style>
  125.     .actu-image{
  126.     width: 100%;
  127.     height: 200px;
  128.     background-size: cover;   
  129.     background-position: center;   
  130.     background-repeat: no-repeat;
  131. }
  132. </style>
  133.             <div class="single_event">
  134.                <div class="container-event">
  135.                   <div id="sidebar-active" class="content-event">
  136.                      {% if detactu != null %}
  137.                      <div class="event_intro">
  138.                         <div class="image">
  139.                            <img loading="lazy" width="800" height="352" src="{{ asset('public/uploads/images/actualites/' ~ detactu.image) }}" 
  140.                            class="attachment-large size-large wp-post-image" alt="{{ detactu.titre }}" decoding="async" srcset="{{ asset('public/uploads/images/actualites/' ~ detactu.image) }}" 
  141.                            sizes="(max-width: 800px) 100vw, 800px" />    
  142.                         </div>
  143.                         <h1 class="event_title">
  144.                            {{ detactu.titre }}    
  145.                         </h1>
  146.                         <div class="wrap-event-info">
  147.                            <div class="wrap-info">
  148.                               <div class="wrap-date wrap-pro">
  149.                                  <i class="fas fa-calendar-alt"></i>
  150.                                  <span class="second_font general-content">
  151.                                  {{ detactu.createdat|format_datetime(locale='fr',pattern="EEEE dd MMMM YYYY") }}</span></span>
  152.                               </div>
  153.                            </div>
  154.                         </div>
  155.                         <div class="ovaev-event-content">
  156.                            <p>{{ detactu.resume }}</p>
  157.                            <p>{{ detactu.texte|raw }}</p>
  158.                         </div>
  159.                      </div>
  160.                      {% endif %}
  161.                   </div>
  162.    
  163.                 {% include 'section/aside.html.twig' %}
  164.    
  165.                </div>
  166.             </div>
  167. {% include 'section/footer.html.twig' %}
  168. {% endblock %}