var/cache/website/dev/twig/c5/c564886dea94ebc172ea9cf2972aa694cd6cf052999cbfeebcb6c10497fbc323.php line 53

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. /* pages/homepage.html.twig */
  14. class __TwigTemplate_7cc2593d396e10414a22da9ad07528e4614f2d603bb93ebd9301a682dbe1d404 extends \Twig\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->blocks = [
  23.             'content' => [$this'block_content'],
  24.             'vignetteAd' => [$this'block_vignetteAd'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  37.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/homepage.html.twig"));
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/homepage.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/homepage.html.twig"));
  42.         $this->parent $this->loadTemplate("base.html.twig""pages/homepage.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 4
  52.     public function block_content($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  56.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         // line 5
  62.         echo "    ";
  63.         if ( !(isset($context["data_t_scopus"]) || array_key_exists("data_t_scopus"$context))) {
  64.             $context["data_t_scopus"] = null;
  65.             echo " ";
  66.         }
  67.         // line 6
  68.         echo "    ";
  69.         if ( !(isset($context["data_reuter"]) || array_key_exists("data_reuter"$context))) {
  70.             $context["data_reuter"] = null;
  71.             echo " ";
  72.         }
  73.         // line 7
  74.         echo "
  75.     <!-- Load Facebook SDK for JavaScript -->
  76.     <div id=\"fb-root\"></div>
  77.     <script>
  78.         (function(d, s, id) {
  79.             var js, fjs = d.getElementsByTagName(s)[0];
  80.             if (d.getElementById(id)) return;
  81.             js = d.createElement(s); js.id = id;
  82.             js.src = \"https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0\";
  83.             fjs.parentNode.insertBefore(js, fjs);
  84.         }(document, 'script', 'facebook-jssdk'));
  85.     </script>
  86.        <div class=\"container container-home\">
  87.             ";
  88.         // line 20
  89.         $context['_parent'] = $context;
  90.         $context['_seq'] = twig_ensure_traversable(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.'20$this->source); })()), "flashes", [=> "success"], "method"falsefalsefalse20));
  91.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  92.             // line 21
  93.             echo "                <div class=\"alert alert-success alert-dismissible alert-success-journal w-100 mx-auto d-flex p-2 mb-4\" role=\"alert\">
  94.                     <span class=\"\">";
  95.             // line 22
  96.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  97.             echo "</span>
  98.                     <span type=\"button\" class=\"close position-static ml-auto\" data-dismiss=\"alert\" aria-label=\"Close\" style=\"padding: 0 !important;\"><span aria-hidden=\"true\">&times;</span></span>
  99.                 </div>
  100.             ";
  101.         }
  102.         $_parent $context['_parent'];
  103.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  104.         $context array_intersect_key($context$_parent) + $_parent;
  105.         // line 26
  106.         echo "           ";
  107.         $context['_parent'] = $context;
  108.         $context['_seq'] = twig_ensure_traversable(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.'26$this->source); })()), "flashes", [=> "warning"], "method"falsefalsefalse26));
  109.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  110.             // line 27
  111.             echo "               <div class=\"alert alert-warning alert-dismissible alert-warning-journal w-100 mx-auto d-flex p-2 mb-4\" role=\"alert\">
  112.                    <span class=\"\">";
  113.             // line 28
  114.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  115.             echo "</span>
  116.                    <span type=\"button\" class=\"close position-static ml-auto\" data-dismiss=\"alert\" aria-label=\"Close\" style=\"padding: 0 !important;\"><span aria-hidden=\"true\">&times;</span></span>
  117.                </div>
  118.            ";
  119.         }
  120.         $_parent $context['_parent'];
  121.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  122.         $context array_intersect_key($context$_parent) + $_parent;
  123.         // line 32
  124.         echo "           ";
  125.         $context['_parent'] = $context;
  126.         $context['_seq'] = twig_ensure_traversable(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.'32$this->source); })()), "flashes", [=> "error"], "method"falsefalsefalse32));
  127.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  128.             // line 33
  129.             echo "               <div class=\"alert alert-error alert-dismissible alert-error-journal w-100 mx-auto d-flex p-2 mb-4\" role=\"alert\">
  130.                    <span class=\"\">";
  131.             // line 34
  132.             echo twig_escape_filter($this->env$context["message"], "html"nulltrue);
  133.             echo "</span>
  134.                    <span type=\"button\" class=\"close position-static ml-auto\" data-dismiss=\"alert\" aria-label=\"Close\" style=\"padding: 0 !important;\"><span aria-hidden=\"true\">&times;</span></span>
  135.                </div>
  136.            ";
  137.         }
  138.         $_parent $context['_parent'];
  139.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  140.         $context array_intersect_key($context$_parent) + $_parent;
  141.         // line 38
  142.         echo "            ";
  143.         $this->loadTemplate("pages/parts/form-search.html.twig""pages/homepage.html.twig"38)->display($context);
  144.         // line 39
  145.         echo "            <div class=\"page-content\">
  146.                 ";
  147.         // line 40
  148.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("latestJournals"));
  149.         echo "
  150.                <div class=\"page-title\">
  151.                    <h2>Find Journals or Authors</h2>
  152.                    <p>
  153.                         Your research is easier with a journal that you can save.
  154.                         Follow the author to stay up-to-date on new articles as they are published!
  155.                    </p>
  156.                </div>
  157.                <div class=\"row icons-homepage px-1 mx-0\">
  158.                    <div class=\"col-md-3 block-intro\">
  159.                        <a href=\"";
  160.         // line 53
  161.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("journalSearch");
  162.         echo "\" >
  163.                            <img class=\"img-fluid logo-gj\" src=\"";
  164.         // line 54
  165.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/search.svg"), "html"nulltrue);
  166.         echo "\" alt=\"researchguide\"  />
  167.                            <h5>Journal Search</h5>
  168.                            <p>Find the best journal for your research, depending on various criteria (Title, article keywords).</p>
  169.                        </a>
  170.                    </div>
  171.                    <div class=\"col-md-3 block-intro\">
  172.                        <a href=\"";
  173.         // line 62
  174.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("get_authors");
  175.         echo "\">
  176.                            <img class=\"img-fluid logo-gj\" src=\"";
  177.         // line 63
  178.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/lamp.svg"), "html"nulltrue);
  179.         echo "\" alt=\"researchguide\"  />
  180.                            <h5>Author Search</h5>
  181.                            <p> Find your authors with their published articles and corresponding journals.</p>
  182.                        </a>
  183.                    </div>
  184.                    <div class=\"col-md-3 block-intro\">
  185.                        <a href=\"";
  186.         // line 70
  187.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("journalSearch");
  188.         echo "\" >
  189.                            <img class=\"img-fluid logo-gj\" src=\"";
  190.         // line 71
  191.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/save_icon.svg"), "html"nulltrue);
  192.         echo "\" alt=\"researchguide\"  />
  193.                            <h5>Save journal </h5>
  194.                            <p>Save your favorite journals for easy reference. Stay up-to-date on recent and updated journals.</p>
  195.                        </a>
  196.                    </div>
  197.                    <div class=\"col-md-3 block-intro\">
  198.                        <a href=\"";
  199.         // line 77
  200.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("get_authors");
  201.         echo "\">
  202.                            <img class=\"img-fluid logo-gj\" src=\"";
  203.         // line 78
  204.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/follow_author_icon.svg"), "html"nulltrue);
  205.         echo "\" alt=\"researchguide\"  />
  206.                            <h5>Follow author </h5>
  207.                            <p>Follow your author to receive new journals and latest journal developments in your field.</p>
  208.                        </a>
  209.                    </div>
  210.                </div>
  211.                <div class=\"row description-block  mx-0\">
  212.                    <div class=\"col-md-6 right-content\">
  213.                        <h5>Find your Journal easily</h5>
  214.                        <p class=\"paragraphe\">You can choose to filter by Author or Journal title in order to find the perfect fit for your needs! </p>
  215.                        <div class=\"row check-bloc\">
  216.                            <div class=\"col-2 col-md-2 img-check\">
  217.                                <img class=\"img-fluid\" src=\"";
  218.         // line 91
  219.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/check.svg"), "html"nulltrue);
  220.         echo "\" alt=\"researchguide\"  />
  221.                            </div>
  222.                            <div class=\"col-10 col-md-10\">
  223.                                <p class=\"check-bloc-title\">Search your Journal by title or related keywords.</p>
  224.                                <p class=\"check-bloc-text\"></p>
  225.                            </div>
  226.                        </div>
  227.                        <div class=\"row check-bloc\">
  228.                            <div class=\"col-2 col-md-2 img-check\">
  229.                                <img class=\"img-fluid\" src=\"";
  230.         // line 100
  231.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/check.svg"), "html"nulltrue);
  232.         echo "\" alt=\"researchguide\"  />
  233.                            </div>
  234.                            <div class=\"col-10 col-md-10\">
  235.                                <p class=\"check-bloc-title\">Use the Author’s name to find your Journal.</p>
  236.                                <p class=\"check-bloc-text\"></p>
  237.                            </div>
  238.                        </div>
  239.                        ";
  240.         // line 107
  241.         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.'107$this->source); })()), "user", [], "any"falsefalsefalse107) == null)) {
  242.             // line 108
  243.             echo "                           <div class=\"row block-connexion\">
  244.                                <div class=\"col-md-5 p-0\">
  245.                                    <a href=\"";
  246.             // line 110
  247.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("journalSearch");
  248.             echo "\">
  249.                                        <button class=\"btn btn-connexion btn-journal btn-block\">Find a Journal</button>
  250.                                    </a>
  251.                                </div>
  252.                                <div class=\"col-md-5 pl-3\" >
  253.                                    <a href=\"";
  254.             // line 115
  255.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("get_authors");
  256.             echo "\">
  257.                                        <button class=\"btn btn-connexion btn-author btn-block\">Find an Author</button>
  258.                                    </a>
  259.                                </div>
  260.                            </div>
  261.                        ";
  262.         }
  263.         // line 121
  264.         echo "                   </div>
  265.                    <div class=\"col-md-6 left-content find-journal-bg\">
  266.                        <div class=\"row\">
  267.                            <div class=\"col-md-6 img-sample\">
  268.                               ";
  269.         // line 126
  270.         echo "                           </div>
  271.                            <div class=\"col-md-6 img-sample\">
  272.                                ";
  273.         // line 129
  274.         echo "                           </div>
  275.                        </div>
  276.                    </div>
  277.                </div>
  278.                ";
  279.         // line 145
  280.         echo "               <div class=\"row recent-articles mx-0\" style=\"padding-top:10%\">
  281.                    <div class=\"col-md-12 last-articles\">
  282.                        <h5 class=\"title\">Blog Posts</h5>
  283.                    </div>
  284.                    <div class=\"col-md-6 left-content\"><p>Browse the latest Articles</p></div>
  285.                        <div class=\"container c-carousel\">
  286.                            <div class=\"row row-carousel\">
  287.                                <div class=\"col-md-12 col-carousel mb-4\">
  288.                                    <div class=\"carousel-articles\">
  289.                                        ";
  290.         // line 154
  291.         $context["articles"] = twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'154$this->source); })()), "featured_articles", [], "any"falsefalsefalse154);
  292.         // line 155
  293.         echo "                                       ";
  294.         $context['_parent'] = $context;
  295.         $context['_seq'] = twig_ensure_traversable((isset($context["articles"]) || array_key_exists("articles"$context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.'155$this->source); })()));
  296.         foreach ($context['_seq'] as $context["_key"] => $context["a"]) {
  297.             // line 156
  298.             echo "                                           <div class=\"col-md-4 article-infos\">
  299.                                                ";
  300.             // line 157
  301.             if (twig_get_attribute($this->env$this->source$context["a"], "cover_image", [], "any"falsefalsefalse157)) {
  302.                 // line 158
  303.                 echo "                                                   ";
  304.                 $context["media"] = twig_get_attribute($this->env$this->source$context["a"], "cover_image", [], "any"falsefalsefalse158);
  305.                 // line 159
  306.                 echo "
  307.                                                    ";
  308.                 // line 160
  309.                 if ((((isset($context["media"]) || array_key_exists("media"$context)) &&  !(null === (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'160$this->source); })()))) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'160$this->source); })()), "thumbnails", [], "any"falsefalsefalse160), "sulu-400x400", [], "array"falsefalsefalse160))) {
  310.                     // line 161
  311.                     echo "                                                       <a href=\"";
  312.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "path", [], "any"falsefalsefalse161), "html"nulltrue);
  313.                     echo "\">
  314.                                                            <img class=\"card-img-top\" data-src=\"";
  315.                     // line 162
  316.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'162$this->source); })()), "thumbnails", [], "any"falsefalsefalse162), "sulu-400x400", [], "array"falsefalsefalse162), "html"nulltrue);
  317.                     echo "\" src=\"";
  318.                     echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'162$this->source); })()), "url", [], "any"falsefalsefalse162)) ? (twig_get_attribute($this->env$this->source, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'162$this->source); })()), "url", [], "any"falsefalsefalse162)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["media"]) || array_key_exists("media"$context) ? $context["media"] : (function () { throw new RuntimeError('Variable "media" does not exist.'162$this->source); })()), "thumbnails", [], "any"falsefalsefalse162), "sulu-400x400", [], "array"falsefalsefalse162))), "html"nulltrue);
  319.                     echo "\" data-holder-rendered=\"true\" alt=\"";
  320.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "title", [], "any"falsefalsefalse162), "html"nulltrue);
  321.                     echo "\">
  322.                                                        </a>
  323.                                                    ";
  324.                 } else {
  325.                     // line 165
  326.                     echo "                                                       <a href=\"";
  327.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "path", [], "any"falsefalsefalse165), "html"nulltrue);
  328.                     echo "\">
  329.                                                            <img class=\"card-img-top img-responsive\" data-src=\"";
  330.                     // line 166
  331.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/article.svg"), "html"nulltrue);
  332.                     echo "\" src=\"";
  333.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/article.svg"), "html"nulltrue);
  334.                     echo "\" data-holder-rendered=\"true\" alt=\"";
  335.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "title", [], "any"falsefalsefalse166), "html"nulltrue);
  336.                     echo "\">
  337.                                                        </a>
  338.                                                    ";
  339.                 }
  340.                 // line 169
  341.                 echo "                                               ";
  342.             } else {
  343.                 // line 170
  344.                 echo "                                                   <a href=\"";
  345.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "path", [], "any"falsefalsefalse170), "html"nulltrue);
  346.                 echo "\">
  347.                                                        <img class=\"card-img-top\" data-src=\"";
  348.                 // line 171
  349.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/article.svg"), "html"nulltrue);
  350.                 echo "\" src=\"";
  351.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/article.svg"), "html"nulltrue);
  352.                 echo "\" data-holder-rendered=\"true\" alt=\"researchguide\">
  353.                                                    </a>
  354.                                                ";
  355.             }
  356.             // line 174
  357.             echo "
  358.                                             <div class=\"fav-img\">
  359.                                                 <a href=\"";
  360.             // line 176
  361.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "path", [], "any"falsefalsefalse176), "html"nulltrue);
  362.             echo "\"> <img class=\"img-fluid\" src=\"";
  363.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/favoris.svg"), "html"nulltrue);
  364.             echo "\" alt=\"researchguide\"  /></a>
  365.                                             </div>
  366.                                             <div class=\"content\">
  367.                                                 <h6 class=\"title-article\"><a href=\"";
  368.             // line 179
  369.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "path", [], "any"falsefalsefalse179), "html"nulltrue);
  370.             echo "\"> ";
  371.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "title", [], "any"falsefalsefalse179), "html"nulltrue);
  372.             echo "</a></h6>
  373.                                                 ";
  374.             // line 180
  375.             if ((twig_length_filter($this->envtwig_trim_filter(twig_get_attribute($this->env$this->source$context["a"], "excerptDescription", [], "any"falsefalsefalse180))) > 1)) {
  376.                 // line 181
  377.                 echo "                                                    <p>
  378.                                                         ";
  379.                 // line 182
  380.                 echo twig_slice($this->envtwig_get_attribute($this->env$this->source$context["a"], "excerptDescription", [], "any"falsefalsefalse182), 060);
  381.                 echo "...   <br><a href=\"";
  382.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["a"], "path", [], "any"falsefalsefalse182), "html"nulltrue);
  383.                 echo "\" style=\"float: right;font-weight: 400\" class=\"text-warning\">Read More →</a>
  384.                                                     </p>
  385.                                                 ";
  386.             }
  387.             // line 185
  388.             echo "                                            </div>
  389.                                         </div>
  390.                                     ";
  391.         }
  392.         $_parent $context['_parent'];
  393.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['a'], $context['_parent'], $context['loop']);
  394.         $context array_intersect_key($context$_parent) + $_parent;
  395.         // line 188
  396.         echo "                                </div>
  397.                             </div>
  398.                         </div>
  399.                     </div>
  400.                    ";
  401.         // line 192
  402.         $context['_parent'] = $context;
  403.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("main"));
  404.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  405.             // line 193
  406.             echo "                       ";
  407.             if ((twig_lower_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse193)) == "blog")) {
  408.                 // line 194
  409.                 echo "                           <div class=\"col-md-12 text-center bloc-btn\">
  410.                                <a href=\"";
  411.                 // line 195
  412.                 echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse195), twig_get_attribute($this->env$this->source$context["item"], "webspaceKey", [], "any"falsefalsefalse195)), "html"nulltrue);
  413.                 echo "\">
  414.                                    <button class=\"btn btn-connexion-articles btn-blog\">Explore more</button>
  415.                                </a>
  416.                            </div>
  417.                        ";
  418.             }
  419.             // line 200
  420.             echo "                   ";
  421.         }
  422.         $_parent $context['_parent'];
  423.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  424.         $context array_intersect_key($context$_parent) + $_parent;
  425.         // line 201
  426.         echo "            </div>
  427.             
  428.         </div>
  429.     </div>
  430.         ";
  431.         // line 209
  432.         echo "    ";
  433.         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.'209$this->source); })()), "user", [], "any"falsefalsefalse209) && twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'209$this->source); })()), "user", [], "any"falsefalsefalse209), "categories", [], "any"falsefalsefalse209), "values", [], "any"falsefalsefalse209))) && (twig_get_attribute($this->env$this->sourcetwig_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.'209$this->source); })()), "request", [], "any"falsefalsefalse209), "cookies", [], "any"falsefalsefalse209), "get", [=> "skip-categories"], "method"falsefalsefalse209) != "true"))) {
  434.             // line 210
  435.             echo "        <form action=\"";
  436.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("save_favorite_categories");
  437.             echo "\" method=\"post\">
  438.             <div id=\"choose-categories-modal\" class=\"modal registre-modal\" style=\"display:flex; z-index: 100;\">
  439.                 <div class=\"modal-content animate register-modal-content p-3\" style=\"box-shadow: none !important;border: 0 !important;\">
  440.                     <span class=\"close skip-check-categories d-flex justify-content-end\" title=\"Close Modal\" style=\"margin-left:0 !important;left:20px;top:20px;cursor: pointer;\">
  441.                         <svg width=\"35\" height=\"35\" viewBox=\"0 0 50 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" style=\"float: right\">
  442.                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M21.4898 25.1794L0.521973 46.1519L4.0579 49.687L25.0249 28.7154L45.9919 49.687L49.5279 46.1519L28.5601 25.1794L49.5279 4.20702L45.9919 0.671875L25.0249 21.6435L4.0579 0.671875L0.521973 4.20702L21.4898 25.1794Z\" fill=\"#58595B\"/>
  443.                         </svg>
  444.                     </span>
  445.                     <h2 class=\"modal-register-title w-100 mx-0 text-center my-2\" style=\"margin-top: 60px; color:black\">
  446.                         Select your favorite categories:
  447.                     </h2>
  448.                     <p class=\"text-center\"> <i>This help us recommend the most useful journals</i></p>
  449.                     <div id=\"register-step-2\" style=\"\">
  450.                         <div class=\"d-flex flex-wrap register-categories\">
  451.                             ";
  452.             // line 224
  453.             $context["categories"] = twig_get_attribute($this->env$this->source, (isset($context["publicationManager"]) || array_key_exists("publicationManager"$context) ? $context["publicationManager"] : (function () { throw new RuntimeError('Variable "publicationManager" does not exist.'224$this->source); })()), "getAllCategories", [], "method"falsefalsefalse224);
  454.             // line 225
  455.             echo "                            ";
  456.             $context['_parent'] = $context;
  457.             $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, (isset($context["categories"]) || array_key_exists("categories"$context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.'225$this->source); })()), function ($__a__$__b__) use ($context$macros) { $context["a"] = $__a__$context["b"] = $__b__; return (twig_get_attribute($this->env$this->source, (isset($context["a"]) || array_key_exists("a"$context) ? $context["a"] : (function () { throw new RuntimeError('Variable "a" does not exist.'225$this->source); })()), "name", [], "any"falsefalsefalse225) <=> twig_get_attribute($this->env$this->source, (isset($context["b"]) || array_key_exists("b"$context) ? $context["b"] : (function () { throw new RuntimeError('Variable "b" does not exist.'225$this->source); })()), "name", [], "any"falsefalsefalse225)); }));
  458.             foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  459.                 // line 226
  460.                 echo "                                ";
  461.                 if (((twig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse226) != "") && (twig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse226) != " "))) {
  462.                     // line 227
  463.                     echo "                                    <div class=\"category-item\">
  464.                                         <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display:none\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-check\"><polyline points=\"20 6 9 17 4 12\"/></svg>
  465.                                         <span id=\"";
  466.                     // line 229
  467.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse229), "html"nulltrue);
  468.                     echo "\">";
  469.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse229), "html"nulltrue);
  470.                     echo "</span>
  471.                                     </div>
  472.                                 ";
  473.                 }
  474.                 // line 232
  475.                 echo "
  476.                             ";
  477.             }
  478.             $_parent $context['_parent'];
  479.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  480.             $context array_intersect_key($context$_parent) + $_parent;
  481.             // line 234
  482.             echo "                        </div>
  483.                     </div>
  484.                     <div class=\"d-flex px-4 px-sm-5 my-2\">
  485.                         <input type=\"hidden\" id=\"selected-categories\" name=\"selected-categories\">
  486.                         <button type=\"submit\" id=\"register-btn-2\" class=\"btn form-register-btn mx-auto mt-0\" style=\" width: 100% !important;\" disabled>
  487.                             <p id=\"register-btn-text\" class=\"form-register-btn-text my-auto\">Validate</p>
  488.                         </button>
  489.                     </div>
  490.                     <br><a  href=\"/\" class=\"skip-check-categories text-center form-register-btn-text my-auto text-dark\"  style=\"font-weight: 300 !important;width: 100% !important;\">Skip</a>
  491.                 </div>
  492.             </div>
  493.         </form>
  494.     ";
  495.         }
  496.         // line 247
  497.         echo "
  498.     <div class=\"container-fluid container-banner\">
  499.         <div class=\"banner py-5\">
  500.             <h6 class=\"pt-0\">Trusted by great companies</h6>
  501.             <div class=\"container\">
  502.             <div class=\"row partenaires\">
  503.                 <div class=\"col-sm-4 mt-4 mt-lg-0\">
  504.                     <a href=\"https://monarkit.net\" target=\"_blank\"><img class=\"img-fluid\" src=\"";
  505.         // line 255
  506.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/monark.svg"), "html"nulltrue);
  507.         echo "\" alt=\"monarkIt\"  /></a>
  508.                 </div>
  509.                 <div class=\"col-sm-4 mt-4 mt-lg-0\">
  510.                     <a href=\"https://aion-lab.com\" target=\"_blank\"><img class=\"img-fluid\" src=\"";
  511.         // line 258
  512.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/aion.svg"), "html"nulltrue);
  513.         echo "\" alt=\"aion\"  /></a>
  514.                 </div>
  515.                 <div class=\"col-sm-4 mt-4 mt-lg-0\">
  516.                     <a href=\"https://app-estimator.com\" target=\"_blank\"><img class=\"img-fluid\" width=\"190\" src=\"";
  517.         // line 261
  518.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/homepage/estimitor.svg"), "html"nulltrue);
  519.         echo "\" alt=\"estimator\"  /></a>
  520.                 </div>
  521.             </div>
  522.             </div>
  523.         </div>
  524.     </div>
  525.    <div class=\"suggest-articles container\">
  526.         <div class=\"d-flex flex-column flex-lg-row justify-content-center mx-0\">
  527.             <div class=\"left-content mr-0 mr-lg-5\">
  528.                 ";
  529.         // line 270
  530.         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.'270$this->source); })()), "user", [], "any"falsefalsefalse270) &&  !twig_test_empty(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.'270$this->source); })()), "user", [], "any"falsefalsefalse270), "categories", [], "any"falsefalsefalse270)))) {
  531.             // line 271
  532.             echo "                    ";
  533.             $context["favoriteUserCategories"] = twig_get_attribute($this->env$this->source, (isset($context["publicationManager"]) || array_key_exists("publicationManager"$context) ? $context["publicationManager"] : (function () { throw new RuntimeError('Variable "publicationManager" does not exist.'271$this->source); })()), "showJournalByFavoriteUserCategories", [=> 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.'271$this->source); })()), "user", [], "any"falsefalsefalse271)], "method"falsefalsefalse271);
  534.             // line 272
  535.             echo "                    ";
  536.             if ((isset($context["favoriteUserCategories"]) || array_key_exists("favoriteUserCategories"$context) ? $context["favoriteUserCategories"] : (function () { throw new RuntimeError('Variable "favoriteUserCategories" does not exist.'272$this->source); })())) {
  537.                 // line 273
  538.                 echo "                        <div class=\"row line-1\">
  539.                             ";
  540.                 // line 274
  541.                 $context['_parent'] = $context;
  542.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["favoriteUserCategories"]) || array_key_exists("favoriteUserCategories"$context) ? $context["favoriteUserCategories"] : (function () { throw new RuntimeError('Variable "favoriteUserCategories" does not exist.'274$this->source); })()), 04));
  543.                 foreach ($context['_seq'] as $context["ind"] => $context["favorite"]) {
  544.                     // line 275
  545.                     echo "                                ";
  546.                     $context["id"] = ($context["ind"] + 1);
  547.                     // line 276
  548.                     echo "                                <div class=\"col-12 col-sm-6 text-center home-categorie-card\">
  549.                                     <a href=\"";
  550.                     // line 277
  551.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("journal_show", ["id" => twig_get_attribute($this->env$this->source$context["favorite"], "id", [], "any"falsefalsefalse277)]), "html"nulltrue);
  552.                     echo "\">
  553.                                         <div class=\"img-journal\" >
  554.                                             <p>";
  555.                     // line 279
  556.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["favorite"], "title", [], "any"falsefalsefalse279), "html"nulltrue);
  557.                     echo "</p>
  558.                                         </div>
  559.                                     </a>
  560.                                 </div>
  561.                             ";
  562.                 }
  563.                 $_parent $context['_parent'];
  564.                 unset($context['_seq'], $context['_iterated'], $context['ind'], $context['favorite'], $context['_parent'], $context['loop']);
  565.                 $context array_intersect_key($context$_parent) + $_parent;
  566.                 // line 284
  567.                 echo "                        </div>
  568.                     ";
  569.             }
  570.             // line 286
  571.             echo "                ";
  572.         } else {
  573.             // line 287
  574.             echo "                    <div class=\"row line-1\">
  575.                         <div class=\"col-6 col-md-6 text-center\">
  576.                             <img class=\"img-fluid\" src=\"";
  577.             // line 289
  578.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/journal-selected-1.jpg"), "html"nulltrue);
  579.             echo "\" alt=\"suggest-article\"  />
  580.                         </div>
  581.                         <div class=\"col-6 col-md-6 text-center s-img\">
  582.                             <img class=\"img-fluid\" src=\"";
  583.             // line 292
  584.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/journal-selected-2.jpg"), "html"nulltrue);
  585.             echo "\" alt=\"suggest-article\"  />
  586.                         </div>
  587.                     </div>
  588.                     <div class=\"row line-2 mt-3\">
  589.                         <div class=\"col-6 col-md-6 text-center\">
  590.                             <img class=\"img-fluid\" src=\"";
  591.             // line 297
  592.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/journal-selected-3.jpg"), "html"nulltrue);
  593.             echo "\" alt=\"suggest-article\"  />
  594.                         </div>
  595.                         <div class=\"col-6 col-md-6 text-center f-img\">
  596.                             <img class=\"img-fluid\" src=\"";
  597.             // line 300
  598.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/refonte/journal-selected-4.jpg"), "html"nulltrue);
  599.             echo "\" alt=\"suggest-article\"  />
  600.                         </div>
  601.                     </div>
  602.                 ";
  603.         }
  604.         // line 304
  605.         echo "            </div>
  606.             <div class=\"right-content d-flex flex-column text-center text-lg-left\">
  607.                 <h6 class=\"selected-journals\">Journals selected <br> for you</h6>
  608.                 <p>
  609.                     Explore these  recommended journals that we think you'll find most useful.<br><br>
  610.                     With these, you will be sure to have a complete research.
  611.                 </p>
  612.                 <a href=\"";
  613.         // line 312
  614.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("journalSearch");
  615.         echo "\">
  616.                     <button class=\"btn\">Find a Journal</button>
  617.                 </a>
  618.             </div>
  619.         </div>
  620.     </div>
  621.     <!-- Exemple de div pour un emplacement publicitaire -->
  622.     <div id=\"banner-ad-1\">
  623.         <!-- L'espace réservé pour l'annonce sera rempli ici par Prebid -->
  624.     </div>
  625.     <section class=\"newsletter-section px-3 container\">
  626.         <div class=\"newsletter-container\">
  627.             <div class=\"newsletter-content\">
  628.                 <p class=\"newsletter-title\">Sign up to our newsletter!</p>
  629.                 <p class=\"newsletter-description\">so you can be the first to find out the latest articles and journals. </p>
  630.                 <div class=\"newsletter-btn-subscribe-container\">
  631.                     <form action=\"";
  632.         // line 328
  633.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("newsletter");
  634.         echo "\" method=\"post\" class=\"d-flex\">
  635.                         <input type=\"hidden\" name=\"newsletter\" value=\"true\" class=\"newsletter-input-hidden\">
  636.                         <input name=\"email\" type=\"email\" class=\"newsletter-btn-submit\" placeholder=\"Subscribe to our newsletter\" required/>
  637.                         <input type=\"submit\" value=\"Submit\" class=\"newsletter-input-submit\">
  638.                     </form>
  639.                 </div>
  640.             </div>
  641.         </div>
  642.     </section>
  643.     <!-- Pubi 0001-->
  644.     <!-- /21831250958/guidejournal_home_pub0001 -->
  645. ";
  646.         // line 345
  647.         echo "
  648.     <!-- Fin pub 0001-->
  649. ";
  650.         
  651.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  652.         
  653.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  654.         
  655.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  656.     }
  657.     // line 349
  658.     public function block_vignetteAd($context, array $blocks = [])
  659.     {
  660.         $macros $this->macros;
  661.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  662.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""vignetteAd"));
  663.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  664.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""vignetteAd"));
  665.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  666.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""vignetteAd"));
  667.         // line 350
  668.         echo "    <div class=\"fixed-pub-area w-100\"></div>
  669.     ";
  670.         // line 351
  671.         $this->loadTemplate("_includes/pubs/custom-vignette-ad.html.twig""pages/homepage.html.twig"351)->display($context);
  672.         
  673.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  674.         
  675.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  676.         
  677.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  678.     }
  679.     // line 354
  680.     public function block_javascripts($context, array $blocks = [])
  681.     {
  682.         $macros $this->macros;
  683.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  684.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  685.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  686.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  687.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  688.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  689.         // line 355
  690.         echo "    <script>
  691.         \$('.category-item').click(function (e) {
  692.             \$('#register-btn-2').prop( \"disabled\", false );
  693.             let svg = e.currentTarget.firstElementChild;
  694.             let span = e.currentTarget.lastElementChild;
  695.             var categoryInput = document.getElementById('selected-categories')
  696.             svg.style.display === 'block' ? svg.style.display = 'none' : svg.style.display = 'block'
  697.             if(svg.style.display === 'block') {
  698.               // remove category
  699.                 let spanValue = span.id;
  700.                 // put span value in input
  701.                 if(categoryInput.value){
  702.                     categoryInput.value = categoryInput.value+\",\"+spanValue;
  703.                 } else {
  704.                     categoryInput.value = spanValue;
  705.                 }
  706.             }else{
  707.                 // add category
  708.                 let spanValue = span.id;
  709.                 if(categoryInput.value){
  710.                     let categories = categoryInput.value.split(\",\");
  711.                     let index = categories.indexOf(spanValue);
  712.                     if (index > -1) {
  713.                         categories.splice(index, 1);
  714.                     }
  715.                     categoryInput.value = categories.join(\",\");
  716.                 }
  717.             }
  718.             e.currentTarget.classList.toggle('active');
  719.         })
  720.     </script>
  721. ";
  722.         
  723.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  724.         
  725.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  726.         
  727.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  728.     }
  729.     public function getTemplateName()
  730.     {
  731.         return "pages/homepage.html.twig";
  732.     }
  733.     public function isTraitable()
  734.     {
  735.         return false;
  736.     }
  737.     public function getDebugInfo()
  738.     {
  739.         return array (  734 => 355,  721 => 354,  708 => 351,  705 => 350,  692 => 349,  677 => 345,  662 => 328,  643 => 312,  633 => 304,  626 => 300,  620 => 297,  612 => 292,  606 => 289,  602 => 287,  599 => 286,  595 => 284,  584 => 279,  579 => 277,  576 => 276,  573 => 275,  569 => 274,  566 => 273,  563 => 272,  560 => 271,  558 => 270,  546 => 261,  540 => 258,  534 => 255,  524 => 247,  509 => 234,  502 => 232,  494 => 229,  490 => 227,  487 => 226,  482 => 225,  480 => 224,  462 => 210,  459 => 209,  450 => 201,  444 => 200,  436 => 195,  433 => 194,  430 => 193,  426 => 192,  420 => 188,  412 => 185,  404 => 182,  401 => 181,  399 => 180,  393 => 179,  385 => 176,  381 => 174,  373 => 171,  368 => 170,  365 => 169,  355 => 166,  350 => 165,  340 => 162,  335 => 161,  333 => 160,  330 => 159,  327 => 158,  325 => 157,  322 => 156,  317 => 155,  315 => 154,  304 => 145,  298 => 129,  294 => 126,  288 => 121,  279 => 115,  271 => 110,  267 => 108,  265 => 107,  255 => 100,  243 => 91,  227 => 78,  223 => 77,  214 => 71,  210 => 70,  200 => 63,  196 => 62,  185 => 54,  181 => 53,  165 => 40,  162 => 39,  159 => 38,  149 => 34,  146 => 33,  141 => 32,  131 => 28,  128 => 27,  123 => 26,  113 => 22,  110 => 21,  106 => 20,  91 => 7,  85 => 6,  79 => 5,  66 => 4,  37 => 1,);
  740.     }
  741.     public function getSourceContext()
  742.     {
  743.         return new Source("{% extends 'base.html.twig' %}
  744. {% block content %}
  745.     {% if data_t_scopus is not defined %}{% set data_t_scopus = null %} {% endif %}
  746.     {% if data_reuter is not defined %}{% set data_reuter = null %} {% endif %}
  747.     <!-- Load Facebook SDK for JavaScript -->
  748.     <div id=\"fb-root\"></div>
  749.     <script>
  750.         (function(d, s, id) {
  751.             var js, fjs = d.getElementsByTagName(s)[0];
  752.             if (d.getElementById(id)) return;
  753.             js = d.createElement(s); js.id = id;
  754.             js.src = \"https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0\";
  755.             fjs.parentNode.insertBefore(js, fjs);
  756.         }(document, 'script', 'facebook-jssdk'));
  757.     </script>
  758.        <div class=\"container container-home\">
  759.             {% for message in app.flashes('success') %}
  760.                 <div class=\"alert alert-success alert-dismissible alert-success-journal w-100 mx-auto d-flex p-2 mb-4\" role=\"alert\">
  761.                     <span class=\"\">{{ message }}</span>
  762.                     <span type=\"button\" class=\"close position-static ml-auto\" data-dismiss=\"alert\" aria-label=\"Close\" style=\"padding: 0 !important;\"><span aria-hidden=\"true\">&times;</span></span>
  763.                 </div>
  764.             {% endfor %}
  765.            {% for message in app.flashes('warning') %}
  766.                <div class=\"alert alert-warning alert-dismissible alert-warning-journal w-100 mx-auto d-flex p-2 mb-4\" role=\"alert\">
  767.                    <span class=\"\">{{ message }}</span>
  768.                    <span type=\"button\" class=\"close position-static ml-auto\" data-dismiss=\"alert\" aria-label=\"Close\" style=\"padding: 0 !important;\"><span aria-hidden=\"true\">&times;</span></span>
  769.                </div>
  770.            {% endfor %}
  771.            {% for message in app.flashes('error') %}
  772.                <div class=\"alert alert-error alert-dismissible alert-error-journal w-100 mx-auto d-flex p-2 mb-4\" role=\"alert\">
  773.                    <span class=\"\">{{ message }}</span>
  774.                    <span type=\"button\" class=\"close position-static ml-auto\" data-dismiss=\"alert\" aria-label=\"Close\" style=\"padding: 0 !important;\"><span aria-hidden=\"true\">&times;</span></span>
  775.                </div>
  776.            {% endfor %}
  777.             {% include 'pages/parts/form-search.html.twig' %}
  778.             <div class=\"page-content\">
  779.                 {{ render(path('latestJournals')) }}
  780.                <div class=\"page-title\">
  781.                    <h2>Find Journals or Authors</h2>
  782.                    <p>
  783.                         Your research is easier with a journal that you can save.
  784.                         Follow the author to stay up-to-date on new articles as they are published!
  785.                    </p>
  786.                </div>
  787.                <div class=\"row icons-homepage px-1 mx-0\">
  788.                    <div class=\"col-md-3 block-intro\">
  789.                        <a href=\"{{ path('journalSearch') }}\" >
  790.                            <img class=\"img-fluid logo-gj\" src=\"{{ asset('assets/images/refonte/homepage/search.svg') }}\" alt=\"researchguide\"  />
  791.                            <h5>Journal Search</h5>
  792.                            <p>Find the best journal for your research, depending on various criteria (Title, article keywords).</p>
  793.                        </a>
  794.                    </div>
  795.                    <div class=\"col-md-3 block-intro\">
  796.                        <a href=\"{{ path('get_authors') }}\">
  797.                            <img class=\"img-fluid logo-gj\" src=\"{{ asset('assets/images/refonte/homepage/lamp.svg') }}\" alt=\"researchguide\"  />
  798.                            <h5>Author Search</h5>
  799.                            <p> Find your authors with their published articles and corresponding journals.</p>
  800.                        </a>
  801.                    </div>
  802.                    <div class=\"col-md-3 block-intro\">
  803.                        <a href=\"{{ path('journalSearch') }}\" >
  804.                            <img class=\"img-fluid logo-gj\" src=\"{{ asset('assets/images/refonte/homepage/save_icon.svg') }}\" alt=\"researchguide\"  />
  805.                            <h5>Save journal </h5>
  806.                            <p>Save your favorite journals for easy reference. Stay up-to-date on recent and updated journals.</p>
  807.                        </a>
  808.                    </div>
  809.                    <div class=\"col-md-3 block-intro\">
  810.                        <a href=\"{{ path('get_authors') }}\">
  811.                            <img class=\"img-fluid logo-gj\" src=\"{{ asset('assets/images/refonte/homepage/follow_author_icon.svg') }}\" alt=\"researchguide\"  />
  812.                            <h5>Follow author </h5>
  813.                            <p>Follow your author to receive new journals and latest journal developments in your field.</p>
  814.                        </a>
  815.                    </div>
  816.                </div>
  817.                <div class=\"row description-block  mx-0\">
  818.                    <div class=\"col-md-6 right-content\">
  819.                        <h5>Find your Journal easily</h5>
  820.                        <p class=\"paragraphe\">You can choose to filter by Author or Journal title in order to find the perfect fit for your needs! </p>
  821.                        <div class=\"row check-bloc\">
  822.                            <div class=\"col-2 col-md-2 img-check\">
  823.                                <img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/homepage/check.svg') }}\" alt=\"researchguide\"  />
  824.                            </div>
  825.                            <div class=\"col-10 col-md-10\">
  826.                                <p class=\"check-bloc-title\">Search your Journal by title or related keywords.</p>
  827.                                <p class=\"check-bloc-text\"></p>
  828.                            </div>
  829.                        </div>
  830.                        <div class=\"row check-bloc\">
  831.                            <div class=\"col-2 col-md-2 img-check\">
  832.                                <img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/homepage/check.svg') }}\" alt=\"researchguide\"  />
  833.                            </div>
  834.                            <div class=\"col-10 col-md-10\">
  835.                                <p class=\"check-bloc-title\">Use the Author’s name to find your Journal.</p>
  836.                                <p class=\"check-bloc-text\"></p>
  837.                            </div>
  838.                        </div>
  839.                        {% if app.user== null %}
  840.                            <div class=\"row block-connexion\">
  841.                                <div class=\"col-md-5 p-0\">
  842.                                    <a href=\"{{ path('journalSearch')}}\">
  843.                                        <button class=\"btn btn-connexion btn-journal btn-block\">Find a Journal</button>
  844.                                    </a>
  845.                                </div>
  846.                                <div class=\"col-md-5 pl-3\" >
  847.                                    <a href=\"{{ path('get_authors')}}\">
  848.                                        <button class=\"btn btn-connexion btn-author btn-block\">Find an Author</button>
  849.                                    </a>
  850.                                </div>
  851.                            </div>
  852.                        {% endif %}
  853.                    </div>
  854.                    <div class=\"col-md-6 left-content find-journal-bg\">
  855.                        <div class=\"row\">
  856.                            <div class=\"col-md-6 img-sample\">
  857.                               {#<img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/homepage/sample.svg') }}\" alt=\"GuideJournal\"  />#}
  858.                            </div>
  859.                            <div class=\"col-md-6 img-sample\">
  860.                                {#<img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/homepage/sample.svg') }}\" alt=\"GuideJournal\"  />#}
  861.                            </div>
  862.                        </div>
  863.                    </div>
  864.                </div>
  865.                {#<div class=\"container my-5 ad-banner\">
  866.                     researchguide ad
  867.                     <ins class=\"adsbygoogle\"
  868.                         style=\"display:block\"
  869.                         data-ad-client=\"ca-pub-9897811061542650\"
  870.                         data-ad-slot=\"3798275752\"
  871.                         data-ad-format=\"auto\"
  872.                         data-full-width-responsive=\"true\"></ins>
  873.                     <script>
  874.                         (adsbygoogle = window.adsbygoogle || []).push({});
  875.                     </script>
  876.                </div>#}
  877.                <div class=\"row recent-articles mx-0\" style=\"padding-top:10%\">
  878.                    <div class=\"col-md-12 last-articles\">
  879.                        <h5 class=\"title\">Blog Posts</h5>
  880.                    </div>
  881.                    <div class=\"col-md-6 left-content\"><p>Browse the latest Articles</p></div>
  882.                        <div class=\"container c-carousel\">
  883.                            <div class=\"row row-carousel\">
  884.                                <div class=\"col-md-12 col-carousel mb-4\">
  885.                                    <div class=\"carousel-articles\">
  886.                                        {% set articles= content.featured_articles %}
  887.                                        {% for a in articles %}
  888.                                            <div class=\"col-md-4 article-infos\">
  889.                                                {% if a.cover_image %}
  890.                                                    {% set media = a.cover_image %}
  891.                                                    {% if media is defined and media is not null  and media.thumbnails['sulu-400x400'] %}
  892.                                                        <a href=\"{{ a.path }}\">
  893.                                                            <img class=\"card-img-top\" data-src=\"{{ media.thumbnails['sulu-400x400'] }}\" src=\"{{ media.url? media.url:media.thumbnails['sulu-400x400'] }}\" data-holder-rendered=\"true\" alt=\"{{ a.title }}\">
  894.                                                        </a>
  895.                                                    {% else %}
  896.                                                        <a href=\"{{ a.path }}\">
  897.                                                            <img class=\"card-img-top img-responsive\" data-src=\"{{ asset('assets/images/refonte/homepage/article.svg') }}\" src=\"{{ asset('assets/images/refonte/homepage/article.svg') }}\" data-holder-rendered=\"true\" alt=\"{{ a.title }}\">
  898.                                                        </a>
  899.                                                    {% endif %}
  900.                                                {% else %}
  901.                                                    <a href=\"{{ a.path }}\">
  902.                                                        <img class=\"card-img-top\" data-src=\"{{ asset('assets/images/refonte/homepage/article.svg') }}\" src=\"{{ asset('assets/images/refonte/homepage/article.svg') }}\" data-holder-rendered=\"true\" alt=\"researchguide\">
  903.                                                    </a>
  904.                                                {% endif %}
  905.                                             <div class=\"fav-img\">
  906.                                                 <a href=\"{{ a.path }}\"> <img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/homepage/favoris.svg') }}\" alt=\"researchguide\"  /></a>
  907.                                             </div>
  908.                                             <div class=\"content\">
  909.                                                 <h6 class=\"title-article\"><a href=\"{{ a.path }}\"> {{ a.title }}</a></h6>
  910.                                                 {% if a.excerptDescription|trim|length > 1 %}
  911.                                                     <p>
  912.                                                         {{ a.excerptDescription|slice(0,60)|raw  }}...   <br><a href=\"{{ a.path }}\" style=\"float: right;font-weight: 400\" class=\"text-warning\">Read More →</a>
  913.                                                     </p>
  914.                                                 {% endif %}
  915.                                             </div>
  916.                                         </div>
  917.                                     {% endfor %}
  918.                                 </div>
  919.                             </div>
  920.                         </div>
  921.                     </div>
  922.                    {% for item in sulu_navigation_root_tree('main') %}
  923.                        {% if item.title|lower == \"blog\" %}
  924.                            <div class=\"col-md-12 text-center bloc-btn\">
  925.                                <a href=\"{{ sulu_content_path(item.url, item.webspaceKey) }}\">
  926.                                    <button class=\"btn btn-connexion-articles btn-blog\">Explore more</button>
  927.                                </a>
  928.                            </div>
  929.                        {% endif %}
  930.                    {% endfor %}
  931.             </div>
  932.             
  933.         </div>
  934.     </div>
  935.         {# should check if !catgories  #}
  936.     {% if app.user and app.user.categories.values is empty and app.request.cookies.get('skip-categories') != \"true\" %}
  937.         <form action=\"{{ path('save_favorite_categories') }}\" method=\"post\">
  938.             <div id=\"choose-categories-modal\" class=\"modal registre-modal\" style=\"display:flex; z-index: 100;\">
  939.                 <div class=\"modal-content animate register-modal-content p-3\" style=\"box-shadow: none !important;border: 0 !important;\">
  940.                     <span class=\"close skip-check-categories d-flex justify-content-end\" title=\"Close Modal\" style=\"margin-left:0 !important;left:20px;top:20px;cursor: pointer;\">
  941.                         <svg width=\"35\" height=\"35\" viewBox=\"0 0 50 50\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" style=\"float: right\">
  942.                             <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M21.4898 25.1794L0.521973 46.1519L4.0579 49.687L25.0249 28.7154L45.9919 49.687L49.5279 46.1519L28.5601 25.1794L49.5279 4.20702L45.9919 0.671875L25.0249 21.6435L4.0579 0.671875L0.521973 4.20702L21.4898 25.1794Z\" fill=\"#58595B\"/>
  943.                         </svg>
  944.                     </span>
  945.                     <h2 class=\"modal-register-title w-100 mx-0 text-center my-2\" style=\"margin-top: 60px; color:black\">
  946.                         Select your favorite categories:
  947.                     </h2>
  948.                     <p class=\"text-center\"> <i>This help us recommend the most useful journals</i></p>
  949.                     <div id=\"register-step-2\" style=\"\">
  950.                         <div class=\"d-flex flex-wrap register-categories\">
  951.                             {% set categories = publicationManager.getAllCategories()  %}
  952.                             {% for category in categories|sort((a, b) => a.name <=> b.name) %}
  953.                                 {% if category.name != '' and category.name != ' ' %}
  954.                                     <div class=\"category-item\">
  955.                                         <svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display:none\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-check\"><polyline points=\"20 6 9 17 4 12\"/></svg>
  956.                                         <span id=\"{{ category.id }}\">{{category.name}}</span>
  957.                                     </div>
  958.                                 {% endif %}
  959.                             {% endfor %}
  960.                         </div>
  961.                     </div>
  962.                     <div class=\"d-flex px-4 px-sm-5 my-2\">
  963.                         <input type=\"hidden\" id=\"selected-categories\" name=\"selected-categories\">
  964.                         <button type=\"submit\" id=\"register-btn-2\" class=\"btn form-register-btn mx-auto mt-0\" style=\" width: 100% !important;\" disabled>
  965.                             <p id=\"register-btn-text\" class=\"form-register-btn-text my-auto\">Validate</p>
  966.                         </button>
  967.                     </div>
  968.                     <br><a  href=\"/\" class=\"skip-check-categories text-center form-register-btn-text my-auto text-dark\"  style=\"font-weight: 300 !important;width: 100% !important;\">Skip</a>
  969.                 </div>
  970.             </div>
  971.         </form>
  972.     {% endif %}
  973.     <div class=\"container-fluid container-banner\">
  974.         <div class=\"banner py-5\">
  975.             <h6 class=\"pt-0\">Trusted by great companies</h6>
  976.             <div class=\"container\">
  977.             <div class=\"row partenaires\">
  978.                 <div class=\"col-sm-4 mt-4 mt-lg-0\">
  979.                     <a href=\"https://monarkit.net\" target=\"_blank\"><img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/homepage/monark.svg') }}\" alt=\"monarkIt\"  /></a>
  980.                 </div>
  981.                 <div class=\"col-sm-4 mt-4 mt-lg-0\">
  982.                     <a href=\"https://aion-lab.com\" target=\"_blank\"><img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/homepage/aion.svg') }}\" alt=\"aion\"  /></a>
  983.                 </div>
  984.                 <div class=\"col-sm-4 mt-4 mt-lg-0\">
  985.                     <a href=\"https://app-estimator.com\" target=\"_blank\"><img class=\"img-fluid\" width=\"190\" src=\"{{ asset('assets/images/refonte/homepage/estimitor.svg') }}\" alt=\"estimator\"  /></a>
  986.                 </div>
  987.             </div>
  988.             </div>
  989.         </div>
  990.     </div>
  991.    <div class=\"suggest-articles container\">
  992.         <div class=\"d-flex flex-column flex-lg-row justify-content-center mx-0\">
  993.             <div class=\"left-content mr-0 mr-lg-5\">
  994.                 {% if app.user and app.user.categories is not empty %}
  995.                     {% set favoriteUserCategories = publicationManager.showJournalByFavoriteUserCategories(app.user) %}
  996.                     {% if favoriteUserCategories %}
  997.                         <div class=\"row line-1\">
  998.                             {% for ind,favorite in favoriteUserCategories|slice(0,4) %}
  999.                                 {% set id = ind + 1 %}
  1000.                                 <div class=\"col-12 col-sm-6 text-center home-categorie-card\">
  1001.                                     <a href=\"{{ path('journal_show',{'id':favorite.id}) }}\">
  1002.                                         <div class=\"img-journal\" >
  1003.                                             <p>{{ favorite.title }}</p>
  1004.                                         </div>
  1005.                                     </a>
  1006.                                 </div>
  1007.                             {% endfor %}
  1008.                         </div>
  1009.                     {% endif %}
  1010.                 {% else %}
  1011.                     <div class=\"row line-1\">
  1012.                         <div class=\"col-6 col-md-6 text-center\">
  1013.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/journal-selected-1.jpg') }}\" alt=\"suggest-article\"  />
  1014.                         </div>
  1015.                         <div class=\"col-6 col-md-6 text-center s-img\">
  1016.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/journal-selected-2.jpg') }}\" alt=\"suggest-article\"  />
  1017.                         </div>
  1018.                     </div>
  1019.                     <div class=\"row line-2 mt-3\">
  1020.                         <div class=\"col-6 col-md-6 text-center\">
  1021.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/journal-selected-3.jpg') }}\" alt=\"suggest-article\"  />
  1022.                         </div>
  1023.                         <div class=\"col-6 col-md-6 text-center f-img\">
  1024.                             <img class=\"img-fluid\" src=\"{{ asset('assets/images/refonte/journal-selected-4.jpg') }}\" alt=\"suggest-article\"  />
  1025.                         </div>
  1026.                     </div>
  1027.                 {% endif %}
  1028.             </div>
  1029.             <div class=\"right-content d-flex flex-column text-center text-lg-left\">
  1030.                 <h6 class=\"selected-journals\">Journals selected <br> for you</h6>
  1031.                 <p>
  1032.                     Explore these  recommended journals that we think you'll find most useful.<br><br>
  1033.                     With these, you will be sure to have a complete research.
  1034.                 </p>
  1035.                 <a href=\"{{ path('journalSearch') }}\">
  1036.                     <button class=\"btn\">Find a Journal</button>
  1037.                 </a>
  1038.             </div>
  1039.         </div>
  1040.     </div>
  1041.     <!-- Exemple de div pour un emplacement publicitaire -->
  1042.     <div id=\"banner-ad-1\">
  1043.         <!-- L'espace réservé pour l'annonce sera rempli ici par Prebid -->
  1044.     </div>
  1045.     <section class=\"newsletter-section px-3 container\">
  1046.         <div class=\"newsletter-container\">
  1047.             <div class=\"newsletter-content\">
  1048.                 <p class=\"newsletter-title\">Sign up to our newsletter!</p>
  1049.                 <p class=\"newsletter-description\">so you can be the first to find out the latest articles and journals. </p>
  1050.                 <div class=\"newsletter-btn-subscribe-container\">
  1051.                     <form action=\"{{ path('newsletter') }}\" method=\"post\" class=\"d-flex\">
  1052.                         <input type=\"hidden\" name=\"newsletter\" value=\"true\" class=\"newsletter-input-hidden\">
  1053.                         <input name=\"email\" type=\"email\" class=\"newsletter-btn-submit\" placeholder=\"Subscribe to our newsletter\" required/>
  1054.                         <input type=\"submit\" value=\"Submit\" class=\"newsletter-input-submit\">
  1055.                     </form>
  1056.                 </div>
  1057.             </div>
  1058.         </div>
  1059.     </section>
  1060.     <!-- Pubi 0001-->
  1061.     <!-- /21831250958/guidejournal_home_pub0001 -->
  1062. {#    <div id='div-gpt-ad-1563781924570-0' style=\"align-content: center\">#}
  1063. {#        <script>#}
  1064. {#            googletag.cmd.push(function() { googletag.display('div-gpt-ad-1563781924570-0'); });#}
  1065. {#        </script>#}
  1066. {#    </div>#}
  1067.     <!-- Fin pub 0001-->
  1068. {% endblock %}
  1069.     
  1070. {% block vignetteAd %}
  1071.     <div class=\"fixed-pub-area w-100\"></div>
  1072.     {% include '_includes/pubs/custom-vignette-ad.html.twig' %}
  1073. {% endblock %}
  1074. {% block javascripts %}
  1075.     <script>
  1076.         \$('.category-item').click(function (e) {
  1077.             \$('#register-btn-2').prop( \"disabled\", false );
  1078.             let svg = e.currentTarget.firstElementChild;
  1079.             let span = e.currentTarget.lastElementChild;
  1080.             var categoryInput = document.getElementById('selected-categories')
  1081.             svg.style.display === 'block' ? svg.style.display = 'none' : svg.style.display = 'block'
  1082.             if(svg.style.display === 'block') {
  1083.               // remove category
  1084.                 let spanValue = span.id;
  1085.                 // put span value in input
  1086.                 if(categoryInput.value){
  1087.                     categoryInput.value = categoryInput.value+\",\"+spanValue;
  1088.                 } else {
  1089.                     categoryInput.value = spanValue;
  1090.                 }
  1091.             }else{
  1092.                 // add category
  1093.                 let spanValue = span.id;
  1094.                 if(categoryInput.value){
  1095.                     let categories = categoryInput.value.split(\",\");
  1096.                     let index = categories.indexOf(spanValue);
  1097.                     if (index > -1) {
  1098.                         categories.splice(index, 1);
  1099.                     }
  1100.                     categoryInput.value = categories.join(\",\");
  1101.                 }
  1102.             }
  1103.             e.currentTarget.classList.toggle('active');
  1104.         })
  1105.     </script>
  1106. {% endblock %}
  1107. ""pages/homepage.html.twig""/var/www/researchguide.net/preprod/releases/20240426180729/templates/pages/homepage.html.twig");
  1108.     }
  1109. }