templates/bundles/SyliusShopBundle/Homepage/evenement.html.twig line 1

Open in your IDE?
  1. <div class="" id="div-evenement">
  2.     <div class="title-evenement">
  3.         <h2>Evènements à venir</h2>
  4.         {% if app.user is not null%}
  5.             <a href="{{ path('odiseo_sylius_blog_plugin_shop_article_index') }}"  id="button-add-evenement">Proposer un évènement</a>
  6.         {% else %}
  7.             <a href="{{ path('sylius_no_connected_evenement') }}"  id="button-add-evenement">Proposer un évènement</a>
  8.         {% endif %}
  9.     </div>
  10.     {{ render(url('odiseo_sylius_blog_plugin_shop_partial_evenement_index_latest', {'count': 3, 'template': '@SyliusShop/Homepage/lastEvent.html.twig'})) }}
  11. </div>
  12. <style>
  13.     /*#div-evenement h2{*/
  14.     /*    font-size: var(--md-fz);*/
  15.     /*    font-weight: bold;*/
  16.     /*    text-transform: uppercase;*/
  17.     /*    color: black;*/
  18.     /*    position: relative;*/
  19.     /*    width: fit-content;*/
  20.     /*    padding: 1.5rem 0 !important;*/
  21.     /*    margin-bottom: 4rem !important;*/
  22.     /*    margin-top: 2.5rem;*/
  23.     /*}*/
  24.     /*!*I want a before after to make a border in the left 50% bottom of #div-collection h2*!*/
  25.     /*#div-evenement h2::before,*/
  26.     /*#div-evenement h2::after*/
  27.     /*{*/
  28.     /*    content: "";*/
  29.     /*    position: absolute;*/
  30.     /*    width: 50%;*/
  31.     /*    height: 5px;*/
  32.     /*    background-color: #E35E31;*/
  33.     /*    bottom: 0;*/
  34.     /*    left: 0;*/
  35.     /*}*/
  36.     /*.title-evenement{*/
  37.     /*    display: flex;*/
  38.     /*    justify-content: space-between;*/
  39.     /*    align-items: flex-start;*/
  40.     /*}*/
  41.     /*.title-evenement a {*/
  42.     /*    font-size: var(--sm-fz);*/
  43.     /*    font-weight: bold;*/
  44.     /*    text-transform: uppercase;*/
  45.     /*    width: fit-content;*/
  46.     /*    padding: 1.5rem;*/
  47.     /*    margin-top: 2.5rem;*/
  48.     /*    background-color: #E35E31;*/
  49.     /*    color: white;*/
  50.     /*}*/
  51.     /*.title-evenement a:hover, .title-evenement a:active{*/
  52.     /*    background-color: #E35E31*/
  53.     /*}*/
  54. </style>