<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* general/homepage.html.twig */
class __TwigTemplate_9e35a8ee865c008a7a1eefd5e3226fdd extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 10
return "basepm.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "general/homepage.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "general/homepage.html.twig"));
$this->parent = $this->load("basepm.html.twig", 10);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 13
yield "
<div class=\" bandeHaut jaune full\"></div>
";
// line 19
if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 20
yield "
<div class=\"row\" style=\" margin-top: -100px;\">
<div class=\"col centrer\">
<a href=\"";
// line 24
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_redirect");
yield "\" class=\"boutonProf\">Mon espace personnel <i
class=\" fa fa-arrow-right\"></i></a>
</div>
</div>
<br>
<br>
<br>
";
} else {
// line 33
yield "
<div class=\"flex-container\" style=\"margin-top: -200px;\">
<div>
<a href=\"";
// line 36
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/ChoixEleve.png"), "html", null, true);
yield "\"
class=\"rond\" alt=\"Je suis eleve\"></a>
<a href=\"";
// line 38
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
yield "\"><h5>Je suis un élève</h5></a>
</div>
<div>
<a href=\"";
// line 43
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/JeunesAdultes.png"), "html", null, true);
yield "\"
class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
<a href=\"";
// line 45
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
yield "\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
</div>
<div>
<a href=\"";
// line 48
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/choixParent.png"), "html", null, true);
yield "\"
class=\"rond\" alt=\"Je suis parent\"></a>
<a href=\"";
// line 50
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
yield "\"><h5>Je suis un parent</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"";
// line 56
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Proffesseur.png"), "html", null, true);
yield "\"
class=\"rond\" alt=\"Je suis professeur\"></a>
<a href=\"";
// line 58
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
yield "\"><h5 class=\"legend\"> Je suis professeur conseiller ou
accompagnateur</h5></a>
</div>
<div>
<a href=";
// line 62
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
yield "><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Mentor.png"), "html", null, true);
yield "\"
class=\"rond\" alt=\"Je suis un mentor\"></a>
<a href=\"";
// line 64
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
yield "\"><h5>Je suis un mentor</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"";
// line 70
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tmp/banner-2.jpg"), "html", null, true);
yield "\"
class=\"rond\" alt=\"Je suis expert métier\"></a>
<a href=\"";
// line 72
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
yield "\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
</div>
</div>
<br>
";
}
// line 84
yield "
<div class=\"container-sm centrer\" style=\"padding-bottom: 250px;\">
<p>
Le parcours Projets Métiers est accessible aux utilisateurs des établissements ou institutions ayant
signé une convention avec l’Association Projets Métiers.
</p>
<p>
Si vous voulez réaliser un test ou avoir une présentation, merci de laisser un message avec vos
coordonnées
</p>
<p>
</p>
<p>
<a href=\"";
// line 101
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
yield "\" class=\"boutonPerso centrerButton\">Nous contacter</a>
</p>
</div>
";
// line 149
yield "
<style>
.rond {
border-radius: 50%;
width:250px;
height :250px;
opacity: 92%;
}
.rond:hover{
box-shadow: 1px 1px 1px 1px #333333;
opacity: 100%;
}
.legend {
max-width: 400px
}
.blocFooterBas {
padding-top: 20px;
background-color: #e5c234;
color: #034055;
text-align: center;
}
.boutonPerso {
padding-left: 20px;
padding-right: 20px;
background-color: #034055;
color: #e5e9ec;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
border-radius: 12px;
border: 2px solid #034055;
font-family: 'OdibeeSansRegular', sans-serif;
font-size: 36px;
}
.boutonPerso:hover {
background-color: #e5c234;
color: #034055;
border: 2px solid #e5c234;
text-decoration: none;
}
.centrerButton {
width: 90%;
text-align: center;
margin-left: auto;
margin-right: auto;
max-width: 300px;
}
.flex-container {
display: flex;
justify-content: center;
}
.flex-container > div {
width: 20%;
margin: 10px;
text-align: center;
line-height: 75px;
font-size: 30px;
}
.centrer {
text-align: center;}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "general/homepage.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{#
/*
* Ce fichier est la propriété de l'association (c) Projets Métiers
*
* (c) crée par Jean-Marc CATALA <jeanmmarccatala@gmail.com>
*
*/
#}
{% extends 'basepm.html.twig' %}
{% block body %}
<div class=\" bandeHaut jaune full\"></div>
{% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
<div class=\"row\" style=\" margin-top: -100px;\">
<div class=\"col centrer\">
<a href=\"{{ path('app_redirect') }}\" class=\"boutonProf\">Mon espace personnel <i
class=\" fa fa-arrow-right\"></i></a>
</div>
</div>
<br>
<br>
<br>
{% else %}
<div class=\"flex-container\" style=\"margin-top: -200px;\">
<div>
<a href=\"{{ path('accueilEleve') }}\"><img src=\"{{ asset('images/accueil/ChoixEleve.png') }}\"
class=\"rond\" alt=\"Je suis eleve\"></a>
<a href=\"{{ path('accueilEleve') }}\"><h5>Je suis un élève</h5></a>
</div>
<div>
<a href=\"{{ path('app_register',{type:'adulte'}) }}\"><img src=\"{{ asset('images/accueil/JeunesAdultes.png') }}\"
class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
<a href=\"{{ path('app_register',{type:'adulte'}) }}\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
</div>
<div>
<a href=\"{{ path('accueilParent') }}\"><img src=\"{{ asset('images/accueil/choixParent.png') }}\"
class=\"rond\" alt=\"Je suis parent\"></a>
<a href=\"{{ path('accueilParent') }}\"><h5>Je suis un parent</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"{{ path('accueilProf') }}\"><img src=\"{{ asset('images/accueil/Proffesseur.png') }}\"
class=\"rond\" alt=\"Je suis professeur\"></a>
<a href=\"{{ path('accueilProf') }}\"><h5 class=\"legend\"> Je suis professeur conseiller ou
accompagnateur</h5></a>
</div>
<div>
<a href={{ path('app_register',{type:'mentor'}) }}><img src=\"{{ asset('images/accueil/Mentor.png') }}\"
class=\"rond\" alt=\"Je suis un mentor\"></a>
<a href=\"{{ path('app_register',{type:'mentor'}) }}\"><h5>Je suis un mentor</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"{{ path('app_register_expert') }}\"><img src=\"{{ asset('images/tmp/banner-2.jpg') }}\"
class=\"rond\" alt=\"Je suis expert métier\"></a>
<a href=\"{{ path('app_register_expert') }}\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
</div>
</div>
<br>
{% endif %}
<div class=\"container-sm centrer\" style=\"padding-bottom: 250px;\">
<p>
Le parcours Projets Métiers est accessible aux utilisateurs des établissements ou institutions ayant
signé une convention avec l’Association Projets Métiers.
</p>
<p>
Si vous voulez réaliser un test ou avoir une présentation, merci de laisser un message avec vos
coordonnées
</p>
<p>
</p>
<p>
<a href=\"{{ path('contact') }}\" class=\"boutonPerso centrerButton\">Nous contacter</a>
</p>
</div>
{#
<div class=\"full\">
<div class=\"container-fluid zIndex3 padGD\">
<div class=\"row zIndex3\">
<div class=\"col-sm-2 zIndex3\">
<img src=\"{{ asset ('images/JBodin.jpg') }}\"
class=\"rounded-circle centrerImage zIndex3\"
alt=\"Joel BODIN\">
<h3 class=\" centrer\">Joël Bodin</h3>
<h4 class=\"centrer\">Président de Projets Métiers</h4>
</div>
<div class=\"col-sm-10 zIndex3 padGD\" style=\"margin-top: -40px;\">
<br class=\"blockquote zIndex3\">
<p class=\"mb-0\" style=\"text-align: justify;\">« Bienvenue sur le site de l’association PROJETS
METIERS.<br>
Notre objectif est d’aider tous les jeunes à préparer leur insertion professionnelle, qu’elle
soit lointaine ou proche.<br>
Vous êtes collégien, lycéen ou jeune adulte en recherche d’emploi. Vous avez des enseignants,
des conseillers, des parents. Ils ont leur place sur ce site.<br>
Cette plateforme est un parcours pédagogique qui facilitera votre recherche entre les milliers
de métiers possibles.<br>
Dans un premier temps, vous ferez votre Autoportrait. Vous répondrez à des questions simples
dont vous êtes le seul à avoir les réponses.<br>
Ensuite vous serez guidé pour construire votre Projet professionnel. Vous direz ce qui vous
intéresse et ce qui ne vous intéresse pas. Vous tracerez votre chemin de découvertes, jusqu’à
votre projet. Jusqu’à votre métier.<br>
N’oubliez pas de nous dire ce que vous avez trouvé, ce que vous avez appris ou les difficultés
rencontrées.<br>
Bon parcours. Que la réussite soit au bout de votre chemin! »<br>
</p><br>
<p><em>Joël Bodin</em><br>j.bodin@projetsmetiers.fr</p>
</div>
</div>
</div>
</div>
#}
<style>
.rond {
border-radius: 50%;
width:250px;
height :250px;
opacity: 92%;
}
.rond:hover{
box-shadow: 1px 1px 1px 1px #333333;
opacity: 100%;
}
.legend {
max-width: 400px
}
.blocFooterBas {
padding-top: 20px;
background-color: #e5c234;
color: #034055;
text-align: center;
}
.boutonPerso {
padding-left: 20px;
padding-right: 20px;
background-color: #034055;
color: #e5e9ec;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
border-radius: 12px;
border: 2px solid #034055;
font-family: 'OdibeeSansRegular', sans-serif;
font-size: 36px;
}
.boutonPerso:hover {
background-color: #e5c234;
color: #034055;
border: 2px solid #e5c234;
text-decoration: none;
}
.centrerButton {
width: 90%;
text-align: center;
margin-left: auto;
margin-right: auto;
max-width: 300px;
}
.flex-container {
display: flex;
justify-content: center;
}
.flex-container > div {
width: 20%;
margin: 10px;
text-align: center;
line-height: 75px;
font-size: 30px;
}
.centrer {
text-align: center;}
</style>
{% endblock %}
", "general/homepage.html.twig", "/srv/data/web/vhosts/projetsmetiers.org/htdocs/templates/general/homepage.html.twig");
}
}