templates/partials/infosbar.html.twig line 1

Open in your IDE?
  1. <style>
  2.     .infos-bar {
  3.         padding: 10px; 
  4.         line-height: 22px;
  5.         text-shadow: none;
  6.         text-align: center;
  7.         background-color: {{ get_env('BACKGROUND_COLOR_INFOS_BAR') }};
  8.         color: {{ get_env('TEXT_COLOR_INFOS_BAR') }};
  9.     }
  10. </style>
  11. {% if get_env("ENABLE_INFOS_BAR") == 'true' or get_env("ENABLE_SHOW_HOMESCREEN_BAR") == 'true' %}
  12.     <div class="infos-bar">
  13.         <div class="container">
  14.             {% if get_env("ENABLE_INFOS_BAR") == 'true' %}
  15.                 {{ get_env("TEXT_INFOS_BAR") | raw  }}
  16.             {% endif %}
  17.             {% if get_env("ENABLE_SHOW_HOMESCREEN_BAR") == 'true' %}
  18.                 <div class="add-to">
  19.                     {{ get_env("TEXT_HOMESCREEN_BAR") | raw  }}
  20.                 </div>
  21.             {% endif %}
  22.         </div>
  23.     </div>
  24. {% endif %}