var/cache/dev/twig/f1/f1e74a85b540846e404d5327bd134a4aba761edc5516f1e8a231003739eaa4ae.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* base.html.twig */
  14. class __TwigTemplate_33d924338f57cf22f608e6f223f5c73d1e44d3930939c308340fc136519135a9 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'body' => [$this'block_body'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'modals' => [$this'block_modals'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. <html>
  41. <head>
  42.     <meta charset=\"UTF-8\">
  43.     <meta name=\"description\" content=\"Pierwsza w Polsce przestrzeń edukacyjna dotycząca konopi medycznych dedykowana lekarzom oraz farmaceutom. Wykorzystaj kannabinoidy w leczeniu swoich pacjentów\">
  44.     <meta name=\"keywords\" content=\"konopie, medycyna, marihuana, thc, cbd, lekarz, farmaceuta, kanabinoidy, neuralgia, neuropatia\">
  45.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  46.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  47.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
  48.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
  49.     <title>";
  50.         // line 13
  51.         $this->displayBlock('title'$context$blocks);
  52.         echo "</title>
  53.     ";
  54.         // line 15
  55.         $this->displayBlock('stylesheets'$context$blocks);
  56.         // line 18
  57.         echo "
  58.     <script>
  59.       window.fbAsyncInit = function() {
  60.         FB.init({
  61.           appId            : '1180200972484896',
  62.           autoLogAppEvents : true,
  63.           xfbml            : true,
  64.           version          : 'v11.0'
  65.         });
  66.       };
  67.     </script>
  68.     <script async defer crossorigin=\"anonymous\" src=\"https://connect.facebook.net/en_US/sdk.js\"></script>
  69.     ";
  70.         // line 31
  71.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'31$this->source); })()), "environment", [], "any"falsefalsefalse31) == "prod")) {
  72.             // line 32
  73.             echo "        ";
  74.             // line 33
  75.             echo "        ";
  76.             echo twig_include($this->env$context"partial/_gtm-google.html.twig");
  77.             echo "
  78.         ";
  79.             // line 36
  80.             echo "        ";
  81.             echo twig_include($this->env$context"partial/_pixel-fb.html.twig");
  82.             echo "
  83.     ";
  84.         }
  85.         // line 38
  86.         echo "</head>
  87. <body>
  88. ";
  89.         // line 40
  90.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED") &&  !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "user", [], "any"falsefalsefalse40), "verified", [], "any"falsefalsefalse40))) {
  91.             // line 41
  92.             echo "    <div class=\"inactive-user-warning w-100 text-center text-white p-2 shadow\">
  93.         <h6 class=\"m-0\">Twoje konto jest nieaktywne. Sprawdź swoją skrzynkę pocztową i aktywuj konto. <a
  94.                     href=\"";
  95.             // line 43
  96.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_verify_resend");
  97.             echo "\" class=\"text-light\" style=\"text-decoration: underline;\">Wyślij link ponownie</a>
  98.         </h6>
  99.     </div>
  100. ";
  101.         }
  102.         // line 47
  103.         echo "
  104. <div class=\"container-fluid container-all-holder p-0\">
  105.     ";
  106.         // line 50
  107.         echo twig_include($this->env$context"pages/common/_aside-menu.html.twig");
  108.         echo "
  109.     ";
  110.         // line 51
  111.         echo twig_include($this->env$context"pages/common/_mobile-menu.html.twig");
  112.         echo "
  113.     <div class=\"container-fluid p-0 d-flex flex-column\">
  114.         <div class=\"container container-main-holder flex-grow-1\">
  115.             <nav class=\"nav-top-right d-flex flex-row\">
  116.                 ";
  117.         // line 56
  118.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  119.             // line 57
  120.             echo "                    <a href='";
  121.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_comments");
  122.             echo "' class=\"d-flex flex-column nav-top-right-box\">
  123.                         <img class=\"nav-top-right-img\" src=\"";
  124.             // line 58
  125.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/comment.svg"), "html"nulltrue);
  126.             echo "\" alt=\"\"/>
  127.                         <p>MOJE KOMENTARZE</p>
  128.                     </a>
  129.                     <a href=\"";
  130.             // line 61
  131.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_index");
  132.             echo "\" class=\"d-flex flex-column nav-top-right-box\">
  133.                         <img class=\"nav-top-right-img\" src=\"";
  134.             // line 62
  135.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/user.svg"), "html"nulltrue);
  136.             echo "\" alt=\"\"/>
  137.                         <p>PROFIL</p>
  138.                     </a>
  139.                     <a href='";
  140.             // line 65
  141.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  142.             echo "' class=\"d-flex flex-column nav-top-right-box\">
  143.                         <img class=\"nav-top-right-img\" src=\"";
  144.             // line 66
  145.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logout.svg"), "html"nulltrue);
  146.             echo "\" alt=\"\"/>
  147.                         <p>WYLOGUJ</p>
  148.                     </a>
  149.                 ";
  150.         } else {
  151.             // line 70
  152.             echo "                    <a href='";
  153.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  154.             echo "' class=\"d-flex flex-column nav-top-right-box\">
  155.                         <img class=\"nav-top-right-img\" src=\"";
  156.             // line 71
  157.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/enter.svg"), "html"nulltrue);
  158.             echo "\" alt=\"\"/>
  159.                         <p>ZALOGUJ</p>
  160.                     </a>
  161.                     <a href='";
  162.             // line 74
  163.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register");
  164.             echo "' class=\"d-flex flex-column nav-top-right-box\">
  165.                         <img class=\"nav-top-right-img\" src=\"";
  166.             // line 75
  167.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/user.svg"), "html"nulltrue);
  168.             echo "\" alt=\"\"/>
  169.                         <p>REJESTRACJA</p>
  170.                     </a>
  171.                 ";
  172.         }
  173.         // line 79
  174.         echo "            </nav>
  175.             ";
  176.         // line 81
  177.         echo twig_include($this->env$context"pages/common/_header.html.twig");
  178.         echo "
  179.             <main>
  180.                 <!-- Home.html.twig -->
  181.                 ";
  182.         // line 85
  183.         $this->displayBlock('body'$context$blocks);
  184.         // line 86
  185.         echo "            </main>
  186.         </div>
  187.         ";
  188.         // line 89
  189.         echo twig_include($this->env$context"pages/common/_footer.html.twig");
  190.         echo "
  191.     </div>
  192. </div>
  193. ";
  194.         // line 95
  195.         $this->displayBlock('javascripts'$context$blocks);
  196.         // line 101
  197.         echo "
  198. ";
  199.         // line 102
  200.         $this->displayBlock('modals'$context$blocks);
  201.         // line 134
  202.         echo "</body>
  203. </html>
  204. ";
  205.         
  206.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  207.         
  208.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  209.     }
  210.     // line 13
  211.     public function block_title($context, array $blocks = [])
  212.     {
  213.         $macros $this->macros;
  214.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  216.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  218.         echo "AMP";
  219.         
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  221.         
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  223.     }
  224.     // line 15
  225.     public function block_stylesheets($context, array $blocks = [])
  226.     {
  227.         $macros $this->macros;
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  229.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  232.         // line 16
  233.         echo "        ";
  234.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("base-page");
  235.         echo "
  236.     ";
  237.         
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  239.         
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  241.     }
  242.     // line 85
  243.     public function block_body($context, array $blocks = [])
  244.     {
  245.         $macros $this->macros;
  246.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  247.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  248.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  249.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  250.         
  251.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  252.         
  253.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  254.     }
  255.     // line 95
  256.     public function block_javascripts($context, array $blocks = [])
  257.     {
  258.         $macros $this->macros;
  259.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  260.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  261.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  262.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  263.         // line 96
  264.         echo "
  265.     ";
  266.         // line 97
  267.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("base-page");
  268.         echo "
  269.     ";
  270.         // line 98
  271.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("menu");
  272.         echo "
  273. ";
  274.         
  275.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  276.         
  277.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  278.     }
  279.     // line 102
  280.     public function block_modals($context, array $blocks = [])
  281.     {
  282.         $macros $this->macros;
  283.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  285.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  287.         // line 103
  288.         echo "    <div class=\"modal fade\" id=\"shareModal\" tabindex=\"-1\" aria-labelledby=\"exampleShareModal\" aria-hidden=\"true\">
  289.         <div class=\"modal-dialog modal-dialog-centered\">
  290.             <div class=\"modal-content\">
  291.                 <div class=\"modal-header\">
  292.                     <h5 class=\"modal-title\" id=\"exampleShareModal\">Udostępnij materiał</h5>
  293.                     <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  294.                 </div>
  295.                 <div class=\"modal-body\">
  296.                     <div class='col-12'>
  297.                         <label class='w-100'>
  298.                             Adres E-mail*
  299.                             <div class='login-input-holder'>
  300.                                 <input type='email' id='share-modal-address' class='login-input'/>
  301.                             </div>
  302.                         </label>
  303.                     </div>
  304.                     <div class='col-12'>
  305.                         <label class='w-100'>
  306.                             Opis
  307.                             <textarea class='login-input-holder' id='share-modal-description' rows='7'>
  308.                             </textarea>
  309.                         </label>
  310.                     </div>
  311.                 </div>
  312.                 <div class=\"modal-footer\">
  313.                     <button type=\"button\" class=\"blue-btn text-uppercase\" id='share-modal-button'>udostępnij</button>
  314.                 </div>
  315.             </div>
  316.         </div>
  317.     </div>
  318. ";
  319.         
  320.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  321.         
  322.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  323.     }
  324.     public function getTemplateName()
  325.     {
  326.         return "base.html.twig";
  327.     }
  328.     public function isTraitable()
  329.     {
  330.         return false;
  331.     }
  332.     public function getDebugInfo()
  333.     {
  334.         return array (  336 => 103,  326 => 102,  313 => 98,  309 => 97,  306 => 96,  296 => 95,  278 => 85,  265 => 16,  255 => 15,  236 => 13,  224 => 134,  222 => 102,  219 => 101,  217 => 95,  208 => 89,  203 => 86,  201 => 85,  194 => 81,  190 => 79,  183 => 75,  179 => 74,  173 => 71,  168 => 70,  161 => 66,  157 => 65,  151 => 62,  147 => 61,  141 => 58,  136 => 57,  134 => 56,  126 => 51,  122 => 50,  117 => 47,  110 => 43,  106 => 41,  104 => 40,  100 => 38,  94 => 36,  88 => 33,  86 => 32,  84 => 31,  69 => 18,  67 => 15,  62 => 13,  48 => 1,);
  335.     }
  336.     public function getSourceContext()
  337.     {
  338.         return new Source("<!DOCTYPE html>
  339. <html>
  340. <head>
  341.     <meta charset=\"UTF-8\">
  342.     <meta name=\"description\" content=\"Pierwsza w Polsce przestrzeń edukacyjna dotycząca konopi medycznych dedykowana lekarzom oraz farmaceutom. Wykorzystaj kannabinoidy w leczeniu swoich pacjentów\">
  343.     <meta name=\"keywords\" content=\"konopie, medycyna, marihuana, thc, cbd, lekarz, farmaceuta, kanabinoidy, neuralgia, neuropatia\">
  344.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  345.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  346.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
  347.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
  348.     <title>{% block title %}AMP{% endblock %}</title>
  349.     {% block stylesheets %}
  350.         {{ encore_entry_link_tags('base-page') }}
  351.     {% endblock %}
  352.     <script>
  353.       window.fbAsyncInit = function() {
  354.         FB.init({
  355.           appId            : '1180200972484896',
  356.           autoLogAppEvents : true,
  357.           xfbml            : true,
  358.           version          : 'v11.0'
  359.         });
  360.       };
  361.     </script>
  362.     <script async defer crossorigin=\"anonymous\" src=\"https://connect.facebook.net/en_US/sdk.js\"></script>
  363.     {% if app.environment == 'prod' %}
  364.         {# gtm #}
  365.         {{ include('partial/_gtm-google.html.twig') }}
  366.         {# pixel fb #}
  367.         {{ include('partial/_pixel-fb.html.twig') }}
  368.     {% endif %}
  369. </head>
  370. <body>
  371. {% if is_granted('IS_AUTHENTICATED_REMEMBERED') and not app.user.verified %}
  372.     <div class=\"inactive-user-warning w-100 text-center text-white p-2 shadow\">
  373.         <h6 class=\"m-0\">Twoje konto jest nieaktywne. Sprawdź swoją skrzynkę pocztową i aktywuj konto. <a
  374.                     href=\"{{ path('app_verify_resend') }}\" class=\"text-light\" style=\"text-decoration: underline;\">Wyślij link ponownie</a>
  375.         </h6>
  376.     </div>
  377. {% endif %}
  378. <div class=\"container-fluid container-all-holder p-0\">
  379.     {{ include('pages/common/_aside-menu.html.twig') }}
  380.     {{ include('pages/common/_mobile-menu.html.twig') }}
  381.     <div class=\"container-fluid p-0 d-flex flex-column\">
  382.         <div class=\"container container-main-holder flex-grow-1\">
  383.             <nav class=\"nav-top-right d-flex flex-row\">
  384.                 {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  385.                     <a href='{{ path('my_comments') }}' class=\"d-flex flex-column nav-top-right-box\">
  386.                         <img class=\"nav-top-right-img\" src=\"{{ asset('build/images/comment.svg') }}\" alt=\"\"/>
  387.                         <p>MOJE KOMENTARZE</p>
  388.                     </a>
  389.                     <a href=\"{{ path('profile_index') }}\" class=\"d-flex flex-column nav-top-right-box\">
  390.                         <img class=\"nav-top-right-img\" src=\"{{ asset('build/images/user.svg') }}\" alt=\"\"/>
  391.                         <p>PROFIL</p>
  392.                     </a>
  393.                     <a href='{{ path('app_logout') }}' class=\"d-flex flex-column nav-top-right-box\">
  394.                         <img class=\"nav-top-right-img\" src=\"{{ asset('build/images/logout.svg') }}\" alt=\"\"/>
  395.                         <p>WYLOGUJ</p>
  396.                     </a>
  397.                 {% else %}
  398.                     <a href='{{ path('app_login') }}' class=\"d-flex flex-column nav-top-right-box\">
  399.                         <img class=\"nav-top-right-img\" src=\"{{ asset('build/images/enter.svg') }}\" alt=\"\"/>
  400.                         <p>ZALOGUJ</p>
  401.                     </a>
  402.                     <a href='{{ path('app_register') }}' class=\"d-flex flex-column nav-top-right-box\">
  403.                         <img class=\"nav-top-right-img\" src=\"{{ asset('build/images/user.svg') }}\" alt=\"\"/>
  404.                         <p>REJESTRACJA</p>
  405.                     </a>
  406.                 {% endif %}
  407.             </nav>
  408.             {{ include('pages/common/_header.html.twig') }}
  409.             <main>
  410.                 <!-- Home.html.twig -->
  411.                 {% block body %}{% endblock %}
  412.             </main>
  413.         </div>
  414.         {{ include('pages/common/_footer.html.twig') }}
  415.     </div>
  416. </div>
  417. {% block javascripts %}
  418.     {{ encore_entry_script_tags('base-page') }}
  419.     {{ encore_entry_script_tags('menu') }}
  420. {% endblock %}
  421. {% block modals %}
  422.     <div class=\"modal fade\" id=\"shareModal\" tabindex=\"-1\" aria-labelledby=\"exampleShareModal\" aria-hidden=\"true\">
  423.         <div class=\"modal-dialog modal-dialog-centered\">
  424.             <div class=\"modal-content\">
  425.                 <div class=\"modal-header\">
  426.                     <h5 class=\"modal-title\" id=\"exampleShareModal\">Udostępnij materiał</h5>
  427.                     <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  428.                 </div>
  429.                 <div class=\"modal-body\">
  430.                     <div class='col-12'>
  431.                         <label class='w-100'>
  432.                             Adres E-mail*
  433.                             <div class='login-input-holder'>
  434.                                 <input type='email' id='share-modal-address' class='login-input'/>
  435.                             </div>
  436.                         </label>
  437.                     </div>
  438.                     <div class='col-12'>
  439.                         <label class='w-100'>
  440.                             Opis
  441.                             <textarea class='login-input-holder' id='share-modal-description' rows='7'>
  442.                             </textarea>
  443.                         </label>
  444.                     </div>
  445.                 </div>
  446.                 <div class=\"modal-footer\">
  447.                     <button type=\"button\" class=\"blue-btn text-uppercase\" id='share-modal-button'>udostępnij</button>
  448.                 </div>
  449.             </div>
  450.         </div>
  451.     </div>
  452. {% endblock %}
  453. </body>
  454. </html>
  455. ""base.html.twig""/var/www/23-akademiamistrzowpsychiatrii.pl/templates/base.html.twig");
  456.     }
  457. }