templates/security/home.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="utf-8" />
  5.         <meta http-equiv="x-ua-compatible" content="ie=edge" />
  6.         <title>Agenda LBP | {% block title %} Accueil{% endblock %}</title>
  7.         <meta name="description"  />
  8.         <meta name="viewport" content="width=device-width, initial-scale=1" />
  9.         <link rel="shortcut icon" type="image/x-icon" href="{{ asset('images/logo_one.png') }}" />
  10.         <link rel="preconnect" href="https://fonts.gstatic.com">
  11.         <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
  12.         {% block stylesheets %}
  13.             {{ encore_entry_link_tags('front/home') }}
  14.             <style>
  15.                 {% if media %}
  16.                     .agenda-section:before {
  17.                         background-image: url({{ resizeImageWithoutDimensions(media.media_file, media.media_path ) }});
  18.                         /*-moz-border-radius: 200px 0 0 0;
  19.                         -webkit-border-radius: 200px 0 0 0;
  20.                         border-radius: 200px 0 0 0;*/
  21.                     }
  22.                     .background-home {
  23.                         background-image: url({{ resizeImageWithoutDimensions(media.media_file, media.media_path ) }});
  24.                         /*-moz-border-radius: 200px 0 0 0;
  25.                         -webkit-border-radius: 200px 0 0 0;
  26.                         border-radius: 200px 0 0 0;*/
  27.                     }
  28.                 {% endif %}
  29.             </style>
  30.         {% endblock %}
  31.     </head>
  32.     <body {% if app.request.attributes.get('_route') == 'front_home' %} class="home" {% endif %}>
  33.         {% include 'front/layouts/header.html.twig' %}
  34.         {% block flashes %}{% endblock %}
  35.         {% block section %}
  36.             <div class="row container-background-home">
  37.                 <div class="background-home">
  38.                     <a href="{{ path('app_login') }}" class="connect_btn contain_link btn-connexion-home">
  39.                         <i class="vlp-icon icon-arrow-enter"></i>
  40.                             <span class="label">Se connecter</span>
  41.                         <i class="vlp-icon  icon-arrow-point-down"></i>
  42.                     </a>
  43.                 </div>
  44.             </div>
  45.         {% endblock %}
  46.         <div class="contentMainWrapper">
  47.             <section class="section breadcrumbs">
  48.                 {% block breadcrumb %}{% endblock %}
  49.             </section>
  50.                 {% block body %}{% endblock %}
  51.         </div>
  52.         {% block javascripts %}
  53.         {% endblock %}
  54.     </body>
  55. </html>