templates/lesson/lesson-index.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="pt-br">
  3.     <head>
  4.         <meta charset="utf-8" />
  5.         <link rel="shortcut icon" href="{{ favicon ? favicon ~ '?option=favicon' : faviconCdn }}">
  6.         
  7.         <meta name="robots" content="nofollow" />
  8.         <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no user-scalable=0">
  9.         <meta name="theme-color" content="{{ getConfig('primary_color') }}" />
  10.         <meta name="description" content="{{ client.brand }} - {{ client.slogan }}" />
  11.         <title>{{ client.brand }} - {{ client.slogan }}</title>
  12.         <link href="https:{{ cdnGoogleFonts }}?family=Lato:wght@400;700&display=swap" rel="stylesheet" />
  13.         <link href="{{ cdn }}{{ clientVersion }}/lesson/{{ versionLesson }}/static/css/main.css" rel="stylesheet">
  14.         <link rel="manifest" href="/manifest.json">
  15.         
  16.         <style type="text/css" nonce="{{ nonceHash }}">
  17.             {% include 'website/includes/css-config.html.twig' %}
  18.         </style>
  19.         {# CONFIG CUSTOM STYLES #}
  20.         <style type="text/css" nonce="{{ nonceHash }}">
  21.             {% if debug or not isLocal %}
  22.                 {{ getCss('css')|raw }}
  23.             {% endif %}
  24.         </style>
  25.         {% block configTags %}
  26.             {% include 'website/includes/integrations-script-head.html.twig' %}
  27.         {% endblock %}
  28.         {% if activeMetrics == enum('ClientEnum::YES') %}
  29.             <script nonce="{{ nonceHash }}">
  30.                 (function(h,o,t,j,a,r){
  31.                     h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
  32.                     h._hjSettings={hjid:3636984,hjsv:6};
  33.                     a=o.getElementsByTagName('head')[0];
  34.                     r=o.createElement('script');r.async=1;
  35.                     r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
  36.                     a.appendChild(r);
  37.                 })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
  38.             </script>
  39.         {% endif %}
  40.     </head>
  41.     <body>
  42.         <script src="{{ path('eadPlayerNew') }}"></script>
  43.         <script src="https://player.pandavideo.com.br/api.v2.js"></script>
  44.         <script data-embed_id="ls_embed_{embed_id}" src="{{ cdnLivestream }}"></script>
  45.         <script samba-player-api="player" src="{{ cdnSambatech }}"></script>
  46.         <noscript>You need to enable JavaScript to run this app.</noscript>
  47.         <div id="root"></div>
  48.         
  49.         {% include 'website/includes/integrations-script-footer.html.twig' %}
  50.         {% include 'website/includes/sc-activate.html.twig' %}
  51.         {% include 'website/includes/sw.html.twig' %}
  52.         
  53.         <script type="module" crossorigin src="{{ cdn }}{{ clientVersion }}/lesson/{{ versionLesson }}/static/js/main.js"></script>
  54.         {# CONFIG -- SCRIPTS #}
  55.         {% block config_scripts %}
  56.             {% if debug or not isLocal %}
  57.                 {{ htmlDecode(getScript('scripts', nonceHash))|raw }}
  58.             {% endif %}
  59.         {% endblock %}
  60.     </body>
  61. </html>