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

Open in your IDE?
  1. <div class="div-annonce">
  2.     <div class="images-annonce">
  3.         <img class="ui fluid image" id="image-1-annonce" src="{{ asset('girls-bikers.png', 'shop') }}" alt="Sylius">
  4.         <img class="ui fluid image" id="image-2-annonce" src="{{ asset('girls-boys-bikers.png', 'shop') }}" alt="Sylius">
  5.     </div>
  6.     <div class="text-annonce">
  7.         <p>
  8.             Rachat, vente, location et rénovation d'équipements moto d'occasion et neufs
  9.         </p>
  10.         <div class="drop-announce">
  11.             {% if app.user is not null  and app.user.vendor is not null%}
  12.                 <a href="{{ path('open_marketplace_vendor_product_listing_create_product') }}">Déposer une annonce</a> <i class="angle right icon"></i>
  13.             {% else%}
  14.                 <a href="{{ path('sylius_no_connected_product') }}">Déposer une annonce</a> <i class="angle right icon"></i>
  15.             {% endif %}
  16.         </div>
  17.     </div>
  18. </div>
  19. <style>
  20.     /*.div-annonce {*/
  21.     /*    display: flex;*/
  22.     /*    flex-direction: row;*/
  23.     /*    justify-content: space-between;*/
  24.     /*    align-items: center;*/
  25.     /*    gap: 2rem;*/
  26.     /*}*/
  27.     /*.images-annonce {*/
  28.     /*    width: 50%;*/
  29.     /*    position: relative;*/
  30.     /*    height: 600px;*/
  31.     /*}*/
  32.     /*#image-1-annonce {*/
  33.     /*    position: absolute;*/
  34.     /*    top: 0;*/
  35.     /*    left: 0;*/
  36.     /*    z-index: 1;*/
  37.     /*    width: 65%;*/
  38.     /*}*/
  39.     /*#image-2-annonce {*/
  40.     /*    position: absolute;*/
  41.     /*    bottom: 0;*/
  42.     /*    right: 0;*/
  43.     /*    z-index: 2;*/
  44.     /*    width: 65%;*/
  45.     /*}*/
  46.     /*.text-annonce {*/
  47.     /*    width: 50%;*/
  48.     /*    text-align: start;*/
  49.     /*    height: 600px;*/
  50.     /*}*/
  51.     /*.text-annonce p:first-of-type {*/
  52.     /*    font-size: var(--lg-fz);*/
  53.     /*    font-weight: bold;*/
  54.     /*}*/
  55.     /*.text-annonce p:last-of-type {*/
  56.     /*    font-size: var(--sm-fz);*/
  57.     /*    font-weight: 300;*/
  58.     /*    margin: 2rem 0;*/
  59.     /*    line-height: 3rem;*/
  60.     /*}*/
  61.     /*.drop-announce {*/
  62.     /*    display: flex;*/
  63.     /*    flex-direction: row;*/
  64.     /*    align-items: center;*/
  65.     /*    background-color: #E35E31;*/
  66.     /*    width: fit-content;*/
  67.     /*    padding: 1rem;*/
  68.     /*}*/
  69.     /*.drop-announce a {*/
  70.     /*    font-size: var(--sm-fz);*/
  71.     /*    font-weight: 300;*/
  72.     /*    color: #000;*/
  73.     /*    text-decoration: none;*/
  74.     /*}*/
  75.     /*.drop-announce i {*/
  76.     /*    font-size: var(--sm-fz);*/
  77.     /*    font-weight: 300;*/
  78.     /*    color: #000;*/
  79.     /*    margin: 0 0 0 1rem;*/
  80.     /*}*/
  81. </style>