var/cache/dev/twig/e7/e723791c8d72f2caa7cfde417226eb2b.php line 55

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* profil/accueilEleve.html.twig */
  16. class __TwigTemplate_db7ac9404b4ab881fa6f5bad6d4f5675 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'title' => [$this, 'block_title'],
  29. 'body' => [$this, 'block_body'],
  30. 'javascripts' => [$this, 'block_javascripts'],
  31. ];
  32. }
  33. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34. {
  35. // line 10
  36. return "basepm.html.twig";
  37. }
  38. protected function doDisplay(array $context, array $blocks = []): iterable
  39. {
  40. $macros = $this->macros;
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "profil/accueilEleve.html.twig"));
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "profil/accueilEleve.html.twig"));
  45. $this->parent = $this->load("basepm.html.twig", 10);
  46. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49. }
  50. // line 11
  51. /**
  52. * @return iterable<null|scalar|\Stringable>
  53. */
  54. public function block_title(array $context, array $blocks = []): iterable
  55. {
  56. $macros = $this->macros;
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  61. yield "Elèves - Projets Métiers";
  62. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64. yield from [];
  65. }
  66. // line 12
  67. /**
  68. * @return iterable<null|scalar|\Stringable>
  69. */
  70. public function block_body(array $context, array $blocks = []): iterable
  71. {
  72. $macros = $this->macros;
  73. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  75. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  77. // line 13
  78. yield "</div>
  79. <div class=\"full\">
  80. <div class=\"container-sm\">
  81. <h1 class=\"centrer fontOdibee mt60\">Un parcours adapté à chaque âge</h1>
  82. </div>
  83. </div>
  84. <div class=\"row centrer container-sm\">
  85. <div class=\"col margColeleve\">
  86. <div>
  87. <a href=\"";
  88. // line 27
  89. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "college"]);
  90. yield "\">
  91. <img src=\"";
  92. // line 28
  93. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/Illustration/college.svg"), "html", null, true);
  94. yield "\" alt=\"COLLÉGIENS\" width=\"100%\" height=\"100%\" class=\"allume\"></a>
  95. </div>
  96. <a href=\"";
  97. // line 30
  98. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "college"]);
  99. yield "\">
  100. <h4 class=\"legendePofil college\">COLLÉGIENS</h4>
  101. <p>Tu es collégien et tu cherches une orientation dans la poursuite de tes études ou d'un apprentissage.</p></a>
  102. </div>
  103. <div class=\"col margColeleve\">
  104. <div>
  105. <a href=\"";
  106. // line 37
  107. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "lycee"]);
  108. yield "\">
  109. <img src=\"";
  110. // line 38
  111. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/Illustration/lycee.svg"), "html", null, true);
  112. yield "\" alt=\"LYCEENS\" width=\"100%\" height=\"100%\" class=\"allume\"></a>
  113. </div>
  114. <a href=\"";
  115. // line 40
  116. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "lycee"]);
  117. yield "\">
  118. <h4 class=\"legendePofil lycee\">LYCEENS</h4>
  119. <p>Vous êtes lycéen et vous cherchez une orientation dans la poursuite de vos études ou d'un métier.</p></a>
  120. </div>
  121. </div>
  122. <div class=\"full eleves\">
  123. <img src=\"";
  124. // line 49
  125. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/slider/eleves.svg"), "html", null, true);
  126. yield "\" alt=\"Projets métiers\" width=\"80%\" height=\"80%\" class=\"centrer\">
  127. </div>
  128. <div class=\"full aLaLigne\"></div>
  129. <br>
  130. <br>
  131. <br>
  132. <style>
  133. .allume{
  134. opacity: 80%;
  135. }
  136. .allume:hover{
  137. opacity: 100%;
  138. }
  139. </style>
  140. ";
  141. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  142. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  143. yield from [];
  144. }
  145. // line 77
  146. /**
  147. * @return iterable<null|scalar|\Stringable>
  148. */
  149. public function block_javascripts(array $context, array $blocks = []): iterable
  150. {
  151. $macros = $this->macros;
  152. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  153. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  154. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  155. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  156. // line 78
  157. yield " ";
  158. yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  159. yield "
  160. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.js\"></script>
  161. <script>
  162. \$(document).ready(function(){
  163. \$('.customer-logos').slick({
  164. slidesToShow: 6,
  165. slidesToScroll: 1,
  166. autoplay: true,
  167. autoplaySpeed: 1500,
  168. arrows: false,
  169. dots: false,
  170. pauseOnHover: false,
  171. responsive: [{
  172. eakpoint: 768,
  173. settings: {
  174. slidesToShow: 4
  175. }
  176. }, {
  177. eakpoint: 520,
  178. settings: {
  179. slidesToShow: 3
  180. }
  181. }]
  182. });
  183. });
  184. </script>
  185. ";
  186. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  188. yield from [];
  189. }
  190. /**
  191. * @codeCoverageIgnore
  192. */
  193. public function getTemplateName(): string
  194. {
  195. return "profil/accueilEleve.html.twig";
  196. }
  197. /**
  198. * @codeCoverageIgnore
  199. */
  200. public function isTraitable(): bool
  201. {
  202. return false;
  203. }
  204. /**
  205. * @codeCoverageIgnore
  206. */
  207. public function getDebugInfo(): array
  208. {
  209. return array ( 206 => 78, 193 => 77, 157 => 49, 145 => 40, 140 => 38, 136 => 37, 126 => 30, 121 => 28, 117 => 27, 101 => 13, 88 => 12, 65 => 11, 42 => 10,);
  210. }
  211. public function getSourceContext(): Source
  212. {
  213. return new Source("{#
  214. /*
  215. * Ce fichier est la propriété de l'association (c) Projets Métiers
  216. *
  217. * (c) crée par Jean-Marc CATALA <jeanmmarccatala@gmail.com>
  218. *
  219. */
  220. #}
  221. {% extends 'basepm.html.twig' %}
  222. {% block title %}Elèves - Projets Métiers{% endblock %}
  223. {% block body %}
  224. </div>
  225. <div class=\"full\">
  226. <div class=\"container-sm\">
  227. <h1 class=\"centrer fontOdibee mt60\">Un parcours adapté à chaque âge</h1>
  228. </div>
  229. </div>
  230. <div class=\"row centrer container-sm\">
  231. <div class=\"col margColeleve\">
  232. <div>
  233. <a href=\"{{ path('app_register',{type:'college'}) }}\">
  234. <img src=\"{{ asset('images/Illustration/college.svg') }}\" alt=\"COLLÉGIENS\" width=\"100%\" height=\"100%\" class=\"allume\"></a>
  235. </div>
  236. <a href=\"{{ path('app_register',{type:'college'}) }}\">
  237. <h4 class=\"legendePofil college\">COLLÉGIENS</h4>
  238. <p>Tu es collégien et tu cherches une orientation dans la poursuite de tes études ou d'un apprentissage.</p></a>
  239. </div>
  240. <div class=\"col margColeleve\">
  241. <div>
  242. <a href=\"{{ path('app_register',{type:'lycee'}) }}\">
  243. <img src=\"{{ asset('images/Illustration/lycee.svg') }}\" alt=\"LYCEENS\" width=\"100%\" height=\"100%\" class=\"allume\"></a>
  244. </div>
  245. <a href=\"{{ path('app_register',{type:'lycee'}) }}\">
  246. <h4 class=\"legendePofil lycee\">LYCEENS</h4>
  247. <p>Vous êtes lycéen et vous cherchez une orientation dans la poursuite de vos études ou d'un métier.</p></a>
  248. </div>
  249. </div>
  250. <div class=\"full eleves\">
  251. <img src=\"{{ asset('images/slider/eleves.svg') }}\" alt=\"Projets métiers\" width=\"80%\" height=\"80%\" class=\"centrer\">
  252. </div>
  253. <div class=\"full aLaLigne\"></div>
  254. <br>
  255. <br>
  256. <br>
  257. <style>
  258. .allume{
  259. opacity: 80%;
  260. }
  261. .allume:hover{
  262. opacity: 100%;
  263. }
  264. </style>
  265. {% endblock %}
  266. {% block javascripts %}
  267. {{ parent() }}
  268. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.js\"></script>
  269. <script>
  270. \$(document).ready(function(){
  271. \$('.customer-logos').slick({
  272. slidesToShow: 6,
  273. slidesToScroll: 1,
  274. autoplay: true,
  275. autoplaySpeed: 1500,
  276. arrows: false,
  277. dots: false,
  278. pauseOnHover: false,
  279. responsive: [{
  280. eakpoint: 768,
  281. settings: {
  282. slidesToShow: 4
  283. }
  284. }, {
  285. eakpoint: 520,
  286. settings: {
  287. slidesToShow: 3
  288. }
  289. }]
  290. });
  291. });
  292. </script>
  293. {% endblock %}
  294. ", "profil/accueilEleve.html.twig", "/srv/data/web/vhosts/projetsmetiers.org/htdocs/templates/profil/accueilEleve.html.twig");
  295. }
  296. }