templates/home.html.twig line 1

Open in your IDE?
  1. {% extends "template.html.twig" %}
  2. {% set desc = "" %}
  3. {% set menu = 'accounts' %}
  4. {% block titlebox %}
  5.     <div class="fill relative flex col middle h1">
  6.         {{ static.BannerTitle|raw }}
  7.     </div>
  8. {% endblock %}
  9. {% block content %}
  10.     <div class='{{desktop("gpadding vt-80-in")}} {{mobile("hz-15-in")}}'>
  11.         <div class='{{desktop("flex row space top")}}'>
  12.             <div id='article' class='w100 {{desktop("")}} {{mobile("vt-20-in")}}'>
  13.                 <div class="{{desktop("h3 bottom-40")}} {{mobile("bottom-20 h3 success bold top-5")}}">
  14.                     {{ static.CampaignBlockTitle|raw }}
  15.                 </div>
  16.                 {% for o in campaigns %}
  17.                     {{ include('RecruitmentCampaign/_campaign_card.html.twig', {campaign: o}) }}
  18.                 {% endfor %}
  19.             </div>
  20.             {% if not role.connected %}
  21.                 <aside class="{{desktop('third left-80 vt-20-in')}} {{mobile('bottom-40-in')}}">
  22.                     {{ include('security/_provider_login_form.html.twig') }}
  23.                 </aside>
  24.             {% endif %}
  25.         </div>
  26.     </div>
  27. {% endblock %}
  28. {% block css %}
  29.     <style>
  30.         :root{
  31.             --background: white;
  32.         }
  33.     </style>
  34. {% endblock %}