var/cache/dev/twig/67/67497b1df881b7759d2863fef0f78ba2.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\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. /* general/homepage.html.twig */
  16. class __TwigTemplate_9e35a8ee865c008a7a1eefd5e3226fdd 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. 'body' => [$this, 'block_body'],
  29. ];
  30. }
  31. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32. {
  33. // line 10
  34. return "basepm.html.twig";
  35. }
  36. protected function doDisplay(array $context, array $blocks = []): iterable
  37. {
  38. $macros = $this->macros;
  39. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "general/homepage.html.twig"));
  41. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "general/homepage.html.twig"));
  43. $this->parent = $this->load("basepm.html.twig", 10);
  44. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  45. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47. }
  48. // line 12
  49. /**
  50. * @return iterable<null|scalar|\Stringable>
  51. */
  52. public function block_body(array $context, array $blocks = []): iterable
  53. {
  54. $macros = $this->macros;
  55. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  57. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  59. // line 13
  60. yield "
  61. <div class=\" bandeHaut jaune full\"></div>
  62. ";
  63. // line 19
  64. if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  65. // line 20
  66. yield "
  67. <div class=\"row\" style=\" margin-top: -100px;\">
  68. <div class=\"col centrer\">
  69. <a href=\"";
  70. // line 24
  71. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_redirect");
  72. yield "\" class=\"boutonProf\">Mon espace personnel <i
  73. class=\" fa fa-arrow-right\"></i></a>
  74. </div>
  75. </div>
  76. <br>
  77. <br>
  78. <br>
  79. ";
  80. } else {
  81. // line 33
  82. yield "
  83. <div class=\"flex-container\" style=\"margin-top: -200px;\">
  84. <div>
  85. <a href=\"";
  86. // line 36
  87. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
  88. yield "\"><img src=\"";
  89. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/ChoixEleve.png"), "html", null, true);
  90. yield "\"
  91. class=\"rond\" alt=\"Je suis eleve\"></a>
  92. <a href=\"";
  93. // line 38
  94. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
  95. yield "\"><h5>Je suis un élève</h5></a>
  96. </div>
  97. <div>
  98. <a href=\"";
  99. // line 43
  100. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
  101. yield "\"><img src=\"";
  102. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/JeunesAdultes.png"), "html", null, true);
  103. yield "\"
  104. class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
  105. <a href=\"";
  106. // line 45
  107. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
  108. yield "\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
  109. </div>
  110. <div>
  111. <a href=\"";
  112. // line 48
  113. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
  114. yield "\"><img src=\"";
  115. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/choixParent.png"), "html", null, true);
  116. yield "\"
  117. class=\"rond\" alt=\"Je suis parent\"></a>
  118. <a href=\"";
  119. // line 50
  120. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
  121. yield "\"><h5>Je suis un parent</h5></a>
  122. </div>
  123. </div>
  124. <div class=\"flex-container\">
  125. <div>
  126. <a href=\"";
  127. // line 56
  128. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
  129. yield "\"><img src=\"";
  130. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Proffesseur.png"), "html", null, true);
  131. yield "\"
  132. class=\"rond\" alt=\"Je suis professeur\"></a>
  133. <a href=\"";
  134. // line 58
  135. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
  136. yield "\"><h5 class=\"legend\"> Je suis professeur conseiller ou
  137. accompagnateur</h5></a>
  138. </div>
  139. <div>
  140. <a href=";
  141. // line 62
  142. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
  143. yield "><img src=\"";
  144. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Mentor.png"), "html", null, true);
  145. yield "\"
  146. class=\"rond\" alt=\"Je suis un mentor\"></a>
  147. <a href=\"";
  148. // line 64
  149. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
  150. yield "\"><h5>Je suis un mentor</h5></a>
  151. </div>
  152. </div>
  153. <div class=\"flex-container\">
  154. <div>
  155. <a href=\"";
  156. // line 70
  157. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
  158. yield "\"><img src=\"";
  159. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tmp/banner-2.jpg"), "html", null, true);
  160. yield "\"
  161. class=\"rond\" alt=\"Je suis expert métier\"></a>
  162. <a href=\"";
  163. // line 72
  164. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
  165. yield "\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
  166. </div>
  167. </div>
  168. <br>
  169. ";
  170. }
  171. // line 84
  172. yield "
  173. <div class=\"container-sm centrer\" style=\"padding-bottom: 250px;\">
  174. <p>
  175. Le parcours Projets Métiers est accessible aux utilisateurs des établissements ou institutions ayant
  176. signé une convention avec l’Association Projets Métiers.
  177. </p>
  178. <p>
  179. Si vous voulez réaliser un test ou avoir une présentation, merci de laisser un message avec vos
  180. coordonnées
  181. </p>
  182. <p>
  183. </p>
  184. <p>
  185. <a href=\"";
  186. // line 101
  187. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  188. yield "\" class=\"boutonPerso centrerButton\">Nous contacter</a>
  189. </p>
  190. </div>
  191. ";
  192. // line 149
  193. yield "
  194. <style>
  195. .rond {
  196. border-radius: 50%;
  197. width:250px;
  198. height :250px;
  199. opacity: 92%;
  200. }
  201. .rond:hover{
  202. box-shadow: 1px 1px 1px 1px #333333;
  203. opacity: 100%;
  204. }
  205. .legend {
  206. max-width: 400px
  207. }
  208. .blocFooterBas {
  209. padding-top: 20px;
  210. background-color: #e5c234;
  211. color: #034055;
  212. text-align: center;
  213. }
  214. .boutonPerso {
  215. padding-left: 20px;
  216. padding-right: 20px;
  217. background-color: #034055;
  218. color: #e5e9ec;
  219. text-align: center;
  220. text-decoration: none;
  221. display: inline-block;
  222. cursor: pointer;
  223. border-radius: 12px;
  224. border: 2px solid #034055;
  225. font-family: 'OdibeeSansRegular', sans-serif;
  226. font-size: 36px;
  227. }
  228. .boutonPerso:hover {
  229. background-color: #e5c234;
  230. color: #034055;
  231. border: 2px solid #e5c234;
  232. text-decoration: none;
  233. }
  234. .centrerButton {
  235. width: 90%;
  236. text-align: center;
  237. margin-left: auto;
  238. margin-right: auto;
  239. max-width: 300px;
  240. }
  241. .flex-container {
  242. display: flex;
  243. justify-content: center;
  244. }
  245. .flex-container > div {
  246. width: 20%;
  247. margin: 10px;
  248. text-align: center;
  249. line-height: 75px;
  250. font-size: 30px;
  251. }
  252. .centrer {
  253. text-align: center;}
  254. </style>
  255. ";
  256. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  257. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  258. yield from [];
  259. }
  260. /**
  261. * @codeCoverageIgnore
  262. */
  263. public function getTemplateName(): string
  264. {
  265. return "general/homepage.html.twig";
  266. }
  267. /**
  268. * @codeCoverageIgnore
  269. */
  270. public function isTraitable(): bool
  271. {
  272. return false;
  273. }
  274. /**
  275. * @codeCoverageIgnore
  276. */
  277. public function getDebugInfo(): array
  278. {
  279. return array ( 236 => 149, 224 => 101, 205 => 84, 190 => 72, 183 => 70, 174 => 64, 167 => 62, 160 => 58, 153 => 56, 144 => 50, 137 => 48, 131 => 45, 124 => 43, 116 => 38, 109 => 36, 104 => 33, 92 => 24, 86 => 20, 84 => 19, 76 => 13, 63 => 12, 40 => 10,);
  280. }
  281. public function getSourceContext(): Source
  282. {
  283. return new Source("{#
  284. /*
  285. * Ce fichier est la propriété de l'association (c) Projets Métiers
  286. *
  287. * (c) crée par Jean-Marc CATALA <jeanmmarccatala@gmail.com>
  288. *
  289. */
  290. #}
  291. {% extends 'basepm.html.twig' %}
  292. {% block body %}
  293. <div class=\" bandeHaut jaune full\"></div>
  294. {% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
  295. <div class=\"row\" style=\" margin-top: -100px;\">
  296. <div class=\"col centrer\">
  297. <a href=\"{{ path('app_redirect') }}\" class=\"boutonProf\">Mon espace personnel <i
  298. class=\" fa fa-arrow-right\"></i></a>
  299. </div>
  300. </div>
  301. <br>
  302. <br>
  303. <br>
  304. {% else %}
  305. <div class=\"flex-container\" style=\"margin-top: -200px;\">
  306. <div>
  307. <a href=\"{{ path('accueilEleve') }}\"><img src=\"{{ asset('images/accueil/ChoixEleve.png') }}\"
  308. class=\"rond\" alt=\"Je suis eleve\"></a>
  309. <a href=\"{{ path('accueilEleve') }}\"><h5>Je suis un élève</h5></a>
  310. </div>
  311. <div>
  312. <a href=\"{{ path('app_register',{type:'adulte'}) }}\"><img src=\"{{ asset('images/accueil/JeunesAdultes.png') }}\"
  313. class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
  314. <a href=\"{{ path('app_register',{type:'adulte'}) }}\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
  315. </div>
  316. <div>
  317. <a href=\"{{ path('accueilParent') }}\"><img src=\"{{ asset('images/accueil/choixParent.png') }}\"
  318. class=\"rond\" alt=\"Je suis parent\"></a>
  319. <a href=\"{{ path('accueilParent') }}\"><h5>Je suis un parent</h5></a>
  320. </div>
  321. </div>
  322. <div class=\"flex-container\">
  323. <div>
  324. <a href=\"{{ path('accueilProf') }}\"><img src=\"{{ asset('images/accueil/Proffesseur.png') }}\"
  325. class=\"rond\" alt=\"Je suis professeur\"></a>
  326. <a href=\"{{ path('accueilProf') }}\"><h5 class=\"legend\"> Je suis professeur conseiller ou
  327. accompagnateur</h5></a>
  328. </div>
  329. <div>
  330. <a href={{ path('app_register',{type:'mentor'}) }}><img src=\"{{ asset('images/accueil/Mentor.png') }}\"
  331. class=\"rond\" alt=\"Je suis un mentor\"></a>
  332. <a href=\"{{ path('app_register',{type:'mentor'}) }}\"><h5>Je suis un mentor</h5></a>
  333. </div>
  334. </div>
  335. <div class=\"flex-container\">
  336. <div>
  337. <a href=\"{{ path('app_register_expert') }}\"><img src=\"{{ asset('images/tmp/banner-2.jpg') }}\"
  338. class=\"rond\" alt=\"Je suis expert métier\"></a>
  339. <a href=\"{{ path('app_register_expert') }}\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
  340. </div>
  341. </div>
  342. <br>
  343. {% endif %}
  344. <div class=\"container-sm centrer\" style=\"padding-bottom: 250px;\">
  345. <p>
  346. Le parcours Projets Métiers est accessible aux utilisateurs des établissements ou institutions ayant
  347. signé une convention avec l’Association Projets Métiers.
  348. </p>
  349. <p>
  350. Si vous voulez réaliser un test ou avoir une présentation, merci de laisser un message avec vos
  351. coordonnées
  352. </p>
  353. <p>
  354. </p>
  355. <p>
  356. <a href=\"{{ path('contact') }}\" class=\"boutonPerso centrerButton\">Nous contacter</a>
  357. </p>
  358. </div>
  359. {#
  360. <div class=\"full\">
  361. <div class=\"container-fluid zIndex3 padGD\">
  362. <div class=\"row zIndex3\">
  363. <div class=\"col-sm-2 zIndex3\">
  364. <img src=\"{{ asset ('images/JBodin.jpg') }}\"
  365. class=\"rounded-circle centrerImage zIndex3\"
  366. alt=\"Joel BODIN\">
  367. <h3 class=\" centrer\">Joël Bodin</h3>
  368. <h4 class=\"centrer\">Président de Projets Métiers</h4>
  369. </div>
  370. <div class=\"col-sm-10 zIndex3 padGD\" style=\"margin-top: -40px;\">
  371. <br class=\"blockquote zIndex3\">
  372. <p class=\"mb-0\" style=\"text-align: justify;\">« Bienvenue sur le site de l’association PROJETS
  373. METIERS.<br>
  374. Notre objectif est d’aider tous les jeunes à préparer leur insertion professionnelle, qu’elle
  375. soit lointaine ou proche.<br>
  376. Vous êtes collégien, lycéen ou jeune adulte en recherche d’emploi. Vous avez des enseignants,
  377. des conseillers, des parents. Ils ont leur place sur ce site.<br>
  378. Cette plateforme est un parcours pédagogique qui facilitera votre recherche entre les milliers
  379. de métiers possibles.<br>
  380. Dans un premier temps, vous ferez votre Autoportrait. Vous répondrez à des questions simples
  381. dont vous êtes le seul à avoir les réponses.<br>
  382. Ensuite vous serez guidé pour construire votre Projet professionnel. Vous direz ce qui vous
  383. intéresse et ce qui ne vous intéresse pas. Vous tracerez votre chemin de découvertes, jusqu’à
  384. votre projet. Jusqu’à votre métier.<br>
  385. N’oubliez pas de nous dire ce que vous avez trouvé, ce que vous avez appris ou les difficultés
  386. rencontrées.<br>
  387. Bon parcours. Que la réussite soit au bout de votre chemin! »<br>
  388. </p><br>
  389. <p><em>Joël Bodin</em><br>j.bodin@projetsmetiers.fr</p>
  390. </div>
  391. </div>
  392. </div>
  393. </div>
  394. #}
  395. <style>
  396. .rond {
  397. border-radius: 50%;
  398. width:250px;
  399. height :250px;
  400. opacity: 92%;
  401. }
  402. .rond:hover{
  403. box-shadow: 1px 1px 1px 1px #333333;
  404. opacity: 100%;
  405. }
  406. .legend {
  407. max-width: 400px
  408. }
  409. .blocFooterBas {
  410. padding-top: 20px;
  411. background-color: #e5c234;
  412. color: #034055;
  413. text-align: center;
  414. }
  415. .boutonPerso {
  416. padding-left: 20px;
  417. padding-right: 20px;
  418. background-color: #034055;
  419. color: #e5e9ec;
  420. text-align: center;
  421. text-decoration: none;
  422. display: inline-block;
  423. cursor: pointer;
  424. border-radius: 12px;
  425. border: 2px solid #034055;
  426. font-family: 'OdibeeSansRegular', sans-serif;
  427. font-size: 36px;
  428. }
  429. .boutonPerso:hover {
  430. background-color: #e5c234;
  431. color: #034055;
  432. border: 2px solid #e5c234;
  433. text-decoration: none;
  434. }
  435. .centrerButton {
  436. width: 90%;
  437. text-align: center;
  438. margin-left: auto;
  439. margin-right: auto;
  440. max-width: 300px;
  441. }
  442. .flex-container {
  443. display: flex;
  444. justify-content: center;
  445. }
  446. .flex-container > div {
  447. width: 20%;
  448. margin: 10px;
  449. text-align: center;
  450. line-height: 75px;
  451. font-size: 30px;
  452. }
  453. .centrer {
  454. text-align: center;}
  455. </style>
  456. {% endblock %}
  457. ", "general/homepage.html.twig", "/srv/data/web/vhosts/projetsmetiers.org/htdocs/templates/general/homepage.html.twig");
  458. }
  459. }