templates/front/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{app.request.locale}}">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1">
  6.         <link rel="apple-touch-icon" sizes="57x57" href="{{ asset('/favicon/apple-icon-57x57.png') }}">
  7.         <link rel="apple-touch-icon" sizes="60x60" href="{{ asset('/favicon/apple-icon-60x60.png') }}">
  8.         <link rel="apple-touch-icon" sizes="72x72" href="{{ asset('/favicon/apple-icon-72x72.png') }}">
  9.         <link rel="apple-touch-icon" sizes="76x76" href="{{ asset('/favicon/apple-icon-76x76.png') }}">
  10.         <link rel="apple-touch-icon" sizes="114x114" href="{{ asset('/favicon/apple-icon-114x114.png') }}">
  11.         <link rel="apple-touch-icon" sizes="120x120" href="{{ asset('/favicon/apple-icon-120x120.png') }}">
  12.         <link rel="apple-touch-icon" sizes="144x144" href="{{ asset('/favicon/apple-icon-144x144.png') }}">
  13.         <link rel="apple-touch-icon" sizes="152x152" href="{{ asset('/favicon/apple-icon-152x152.png') }}">
  14.         <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('/favicon/apple-icon-180x180.png') }}">
  15.         <link rel="icon" type="image/png" sizes="192x192" href="{{ asset('/favicon/android-icon-192x192.png') }}">
  16.         <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('/favicon/favicon-32x32.png') }}">
  17.         <link rel="icon" type="image/png" sizes="96x96" href="{{ asset('/favicon/favicon-96x96.png') }}">
  18.         <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('/favicon/favicon-16x16.png') }}">
  19.         <link rel="manifest" href="{{ asset('/favicon/manifest.json') }}">
  20.         <meta name="msapplication-TileColor" content="#2667ff">
  21.         <meta name="msapplication-TileImage" content="{{ asset('/favicon/ms-icon-144x144.png') }}">
  22.         <meta name="theme-color" content="#2667ff">
  23.         <meta property="og:type" content="page"/>
  24.         <meta property="og:title" content="{{"Is your content gender balanced?" |trans}}"/>
  25.         <meta property="og:description" content="{{"Check how gender balanced is your content and what you need to change, and improve. It’s a free tool for media organisations, journalists, editors, and everyone else. Know it to change it!" |trans}}"/>
  26.         <meta property="og:image" content="{{ app.request.scheme ~'://' ~ app.request.httpHost ~ asset('/uploads/default/gbt.jpg') }}"/>
  27.         <meta property="og:image:width" content="500"/>
  28.         <meta property="og:image:height" content="500"/>
  29.         <meta name="twitter:card" content="summary"/>
  30.         <meta property="og:title" content="{{"Is your content gender balanced?" |trans}}"/>
  31.         <meta property="og:description" content="{{"Check how gender balanced is your content and what you need to change, and improve. It’s a free tool for media organisations, journalists, editors, and everyone else. Know it to change it!" |trans}}"/>
  32.         <meta property="og:image" content="{{ app.request.scheme ~'://' ~ app.request.httpHost ~ asset('/uploads/default/gbt.jpg') }}"/>
  33.         <title>
  34.             {% block title %}
  35.                 {{'gender_balance_tool'|trans}}
  36.             {% endblock %}
  37.         </title>
  38.         {% block stylesheets %}
  39.             {{ encore_entry_link_tags('front') }}
  40.         {% endblock %}
  41.         {% if app.environment != "dev" %}
  42.             <!-- Global site tag (gtag.js) - Google Analytics -->
  43.             <script async src="https://www.googletagmanager.com/gtag/js?id=G-14CW2ZQNMF"></script>
  44.             <script>
  45.                 window.dataLayer = window.dataLayer || [];
  46. function gtag() {
  47. dataLayer.push(arguments);
  48. }
  49. gtag('js', new Date());
  50. gtag('config', 'G-14CW2ZQNMF');
  51.             </script>
  52.         {% endif %}
  53.     </head>
  54.     {% set lang = app.request.locale %}
  55.     <body class="{{ lang == 'ar' ? 'rtl' : lang }}">
  56.         {% block header %}
  57.             {% include 'front/parts/_header.html.twig' %}
  58.         {% endblock %}
  59.             <div class="loader">
  60.             <img src="{{ asset('images/logos/wanifra-white.png') }}" class="w-100"/>
  61.             <svg version="1.1" id="L7" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  62.                 viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
  63.                 <path fill="#fff" d="M31.6,3.5C5.9,13.6-6.6,42.7,3.5,68.4c10.1,25.7,39.2,38.3,64.9,28.1l-3.1-7.9c-21.3,8.4-45.4-2-53.8-23.3
  64.                 c-8.4-21.3,2-45.4,23.3-53.8L31.6,3.5z">
  65.                     <animateTransform 
  66.                         attributeName="transform" 
  67.                         attributeType="XML" 
  68.                         type="rotate"
  69.                         dur="2s" 
  70.                         from="0 50 50"
  71.                         to="360 50 50" 
  72.                         repeatCount="indefinite" />
  73.                 </path>
  74.                 <path fill="#fff" d="M42.3,39.6c5.7-4.3,13.9-3.1,18.1,2.7c4.3,5.7,3.1,13.9-2.7,18.1l4.1,5.5c8.8-6.5,10.6-19,4.1-27.7
  75.                 c-6.5-8.8-19-10.6-27.7-4.1L42.3,39.6z">
  76.                     <animateTransform 
  77.                         attributeName="transform" 
  78.                         attributeType="XML" 
  79.                         type="rotate"
  80.                         dur="1s" 
  81.                         from="0 50 50"
  82.                         to="-360 50 50" 
  83.                         repeatCount="indefinite" />
  84.                 </path>
  85.                 <path fill="#fff" d="M82,35.7C74.1,18,53.4,10.1,35.7,18S10.1,46.6,18,64.3l7.6-3.4c-6-13.5,0-29.3,13.5-35.3s29.3,0,35.3,13.5
  86.                 L82,35.7z">
  87.                     <animateTransform 
  88.                         attributeName="transform" 
  89.                         attributeType="XML" 
  90.                         type="rotate"
  91.                         dur="2s" 
  92.                         from="0 50 50"
  93.                         to="360 50 50" 
  94.                         repeatCount="indefinite" />
  95.                 </path>
  96.                 </svg>
  97.             <span>Request processing - please wait.</span>
  98.             <span>Thank you for your patience.</span>
  99.         </div>
  100.         {# <a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ar'})) }}">AR</a>
  101.                                                                                                                 <a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}">EN</a> #}
  102.         <main class="gbt-content-wrapper"> {% block body %}{% endblock %}
  103.             </main>
  104.             {% for message in app.flashes('success') %}
  105.                 <div class='--alertify --success d-none'>
  106.                     {{ message }}
  107.                 </div>
  108.             {% endfor %}
  109.             {% for message in app.flashes('error') %}
  110.                 <div class='--alertify d-none'>
  111.                     {{ message }}
  112.                 </div>
  113.             {% endfor %}
  114.             {% block footer %}
  115.                 {% include 'front/parts/_footer.html.twig' %}
  116.             {% endblock %}
  117.             {% block javascripts %}
  118.                 {{ encore_entry_script_tags('front') }}
  119.             {% endblock %}
  120.         </body>
  121.     </html>