templates/tenants/tenant1/base.html.twig line 1

Open in your IDE?
  1. {% set titleProject = 'JNS' %}
  2. {% set route = app.request.attributes.get('_route') %}
  3. {% set headLine = (route ~ '.headLine')|transByTenant %}
  4. {% set headText = (route ~ '.headText')|transByTenant %}
  5. {% set leftSideBarText = (route ~ '.leftSideBarText')|transByTenant %}
  6. {% set popupHeadLine = (route ~ '.popup.headLine')|transByTenant %}
  7. {% set popupSubheadLine = (route ~ '.popup.subheadLine')|transByTenant %}
  8. {% set popupShareText = (route ~ '.popup.shareText')|transByTenant %}
  9. {% set popupUpsale = (route ~ '.popup.upsale')|transByTenant %}
  10. {% if route == 'sign_up_society' %}
  11.     {% set headText2 = (route ~ '.headText2')|transByTenant %}
  12.     {% set leftSideBarText2 = (route ~ '.leftSideBarText2')|transByTenant %}
  13.     {% set leftSideBarText3 = (route ~ '.leftSideBarText3')|transByTenant %}
  14. {% endif %}
  15. <!DOCTYPE html>
  16. <html lang="en">
  17. <head>
  18.     <title>{% block title %}JNS{% endblock %}</title>
  19.     <meta charset="UTF-8">
  20.     <meta name="format-detection" content="telephone=no">
  21.     <meta name="description" content="{% block description %}Join The JNS Community{% endblock %}" />
  22.     <meta name="keywords" content="{% block keywords %}JNS Keywords{% endblock %}" />
  23.     <meta property="og:type" content="website" />
  24.     <meta property="og:title" content="JNS" />
  25.     <meta property="og:description" content="Join The JNS Community" />
  26.     <meta property="og:image" content="{{ absolute_url('tenants/tenant1/img/CRM_share_image.png') }}"/>
  27.     {% block icons %}
  28. <!-- favicon / icon / add to home screen -->
  29.     <link rel="apple-touch-icon" sizes="57x57" href="https://cdn.jns.org/dev/images/apple-icon-57x57.png">
  30.     <link rel="apple-touch-icon" sizes="60x60" href="https://cdn.jns.org/dev/images/apple-icon-60x60.png">
  31.     <link rel="apple-touch-icon" sizes="72x72" href="https://cdn.jns.org/dev/images/apple-icon-72x72.png">
  32.     <link rel="apple-touch-icon" sizes="76x76" href="https://cdn.jns.org/dev/images/apple-icon-76x76.png">
  33.     <link rel="apple-touch-icon" sizes="114x114" href="https://cdn.jns.org/dev/images/apple-icon-114x114.png">
  34.     <link rel="apple-touch-icon" sizes="120x120" href="https://cdn.jns.org/dev/images/apple-icon-120x120.png">
  35.     <link rel="apple-touch-icon" sizes="144x144" href="https://cdn.jns.org/dev/images/apple-icon-144x144.png">
  36.     <link rel="apple-touch-icon" sizes="152x152" href="https://cdn.jns.org/dev/images/apple-icon-152x152.png">
  37.     <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.jns.org/dev/images/apple-icon-180x180.png">
  38.     <link rel="icon" type="image/png" sizes="192x192"  href="https://cdn.jns.org/dev/images/android-icon-192x192.png">
  39.     <link rel="icon" type="image/png" sizes="32x32" href="https://cdn.jns.org/dev/images/favicon-32x32.png">
  40.     <link rel="icon" type="image/png" sizes="96x96" href="https://cdn.jns.org/dev/images/favicon-96x96.png">
  41.     <link rel="icon" type="image/png" sizes="16x16" href="https://cdn.jns.org/dev/images/favicon-16x16.png">
  42.     <link rel="manifest" href="https://cdn.jns.org/dev/images/manifest.json">
  43.     <meta name="msapplication-TileColor" content="#ffffff">
  44.     <meta name="msapplication-TileImage" content="https://cdn.jns.org/dev/images/ms-icon-144x144.png">
  45.     <meta name="theme-color" content="#ffffff">
  46. <!-- end icon  -->
  47.     {% endblock %}
  48.     {% block fonts %}{% endblock %}
  49.     {% block stylesheets %}
  50.         <!-- HEADER STYLES -->
  51.         <link rel="stylesheet" href="{{ asset('tenants/tenant1/styles/header/style.css?v=07-11-2022') }}">
  52.         <link rel="stylesheet" href="https://use.typekit.net/tqa7qfi.css">
  53.         <link rel="stylesheet" href="{{ asset('tenants/tenant1/styles/header/reset.css?v=07-11-2022') }}">
  54.         <link rel="stylesheet" href="{{ asset('tenants/tenant1/styles/header/general-style.css?v=07-11-2022') }}">
  55.         <link rel="stylesheet" href="{{ asset('tenants/tenant1/styles/header/header-style.css?v=07-11-2022') }}">
  56.         <!-- END HEADER STYLES -->
  57.         <link rel="stylesheet" href="{{ asset('tenants/tenant1/styles/reset.css?v=07-11-2022') }}">
  58.         <link rel="stylesheet" href="{{ asset('tenants/tenant1/styles/style.css?v=07-11-2022') }}">
  59.         <link rel="stylesheet" href="{{ asset('tenants/tenant1/styles/base.css?v=07-11-2022') }}">
  60.     {% endblock %}
  61.     {% block javascripts %}
  62.         <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" referrerpolicy="no-referrer"></script>
  63.     {% endblock %}
  64.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  65. </head>
  66. <body class="sticky-header1 header-search-opened1 header-large-menu-opened1">
  67. <div class="over-close"></div>
  68. {% include rootPath ~ '/parts/header.html.twig' %}
  69. <div class="wrapper">
  70.     {% block main %}
  71.         <main class="page {{ route }}Page">
  72.             {% include rootPath ~ '/parts/head.html.twig' with {'headLine': headLine, 'headText': headText} %}
  73.             <div class="page__aside-section aside-section">
  74.                 <div class="aside-section__container">
  75.                     {% if route in ['become_premium', 'sign_up_premium', 'sign_up_society', 'sign_up_press'] %}
  76.                         <div class="aside-section__column aside-section__column_dark">
  77.                             {% block customText %}{% endblock %}
  78.                             {% include rootPath ~ '/parts/leftSideBar.html.twig' with {'leftSideBarText': leftSideBarText} %}
  79.                         </div>
  80.                     {% endif %}
  81.                     {% block form %}{% endblock %}
  82.                 </div>
  83.             </div>
  84.         </main>
  85.     {% endblock %}
  86.     {% block popup %}{% endblock %}
  87.     {% include rootPath ~ '/parts/footer.html.twig' %}
  88. </div>
  89. {% block body_javascript %}
  90.     <script src="{{ asset('tenants/tenant1/js/SelectConstructor.js?v=23-10-2022') }}"></script>
  91.     <script src="{{ asset('tenants/tenant1/js/app.js?v=23-10-2022') }}"></script>
  92.     <script src="{{ asset('tenants/tenant1/js/header/header.js?v=23-10-2022') }}"></script>
  93.     <script>
  94.         (() => {
  95.             new SelectConstructor({});
  96.         })();
  97.     </script>
  98. {% endblock %}
  99. </body>
  100. </html>