templates/home.html.twig line 1

Open in your IDE?
  1. {% extends 'layout_web.html.twig' %}
  2. {% block title %}{{ 'hub.title'|trans }} | {{parent()}}{% endblock %}
  3. {% block body %}
  4. <div class="page">
  5.     <div class="page-single">
  6.         <div class="container">              
  7.             <div class="row">
  8.                 <div class="col col-md-6 mx-auto">
  9.                     <div class="text-center mb-6">
  10.                         <img src="{{ asset('/images/logo-pbn-200x100.png')}}" alt="{{appname}}">  
  11.                     </div>
  12.                     <div class="card">
  13.                         <div class="card-body p-6">
  14.                             <div class="float-right">
  15.                                 <a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': ''})) }}"><span class="flag flag-fr mr-3"></span></a>
  16.                                 <a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}"><span class="flag flag-gb"></span></a>
  17.                             </div>
  18.                             <div class="card-title"><h3>{{ 'hub.title'|trans }}</h3></div> 
  19.                             <div class="row align-items-center">
  20.                                 <div class="col-lg-6">
  21.                                     {{ 'hub.txt'|trans|raw }}
  22.                                 </div>
  23.                                 <div class="col-lg-6">
  24.                                     <img src="{{ asset('/images/img-home-01.jpg')}}" alt="{{ 'hub.title'|trans }}">  
  25.                                 </div>
  26.                             </div>  
  27.                             
  28.                             <div class="btn-list text-center mt-6">
  29.                             <a href="{{ path('app_login') }}" class="btn btn-primary btn-lg col-md-5" role="button">{{ 'login.signin'|trans }}</a>
  30.                             <a href="{{ path('app_register') }}" class="btn btn-primary btn-lg col-md-5 offset-md-1" role="button">{{ 'register.title'|trans }}</a>
  31.                             </div>
  32.                         </div>
  33.                     </div>
  34.                 </div>
  35.             </div>
  36.         </div>
  37.     </div>
  38. </div>
  39. {% endblock %}