<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* home.html.twig */
class __TwigTemplate_f23c89502196cea86e1c061a9163c4d0 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'titlebox' => [$this, 'block_titlebox'],
'content' => [$this, 'block_content'],
'css' => [$this, 'block_css'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "template.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home.html.twig"));
// line 3
$context["desc"] = "";
// line 4
$context["menu"] = "accounts";
// line 1
$this->parent = $this->loadTemplate("template.html.twig", "home.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_titlebox($context, array $blocks = [])
{
$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", "titlebox"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "titlebox"));
// line 7
echo " <div class=\"fill relative flex col middle h1\">
";
// line 8
echo twig_get_attribute($this->env, $this->source, (isset($context["static"]) || array_key_exists("static", $context) ? $context["static"] : (function () { throw new RuntimeError('Variable "static" does not exist.', 8, $this->source); })()), "BannerTitle", [], "any", false, false, false, 8);
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_content($context, array $blocks = [])
{
$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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 13
echo " <div class='";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("gpadding vt-80-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("hz-15-in"), "html", null, true);
echo "'>
<div class='";
// line 14
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("flex row space top"), "html", null, true);
echo "'>
<div id='article' class='w100 ";
// line 15
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()(""), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("vt-20-in"), "html", null, true);
echo "'>
<div class=\"";
// line 16
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("h3 bottom-40"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bottom-20 h3 success bold top-5"), "html", null, true);
echo "\">
";
// line 17
echo twig_get_attribute($this->env, $this->source, (isset($context["static"]) || array_key_exists("static", $context) ? $context["static"] : (function () { throw new RuntimeError('Variable "static" does not exist.', 17, $this->source); })()), "CampaignBlockTitle", [], "any", false, false, false, 17);
echo "
</div>
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["campaigns"]) || array_key_exists("campaigns", $context) ? $context["campaigns"] : (function () { throw new RuntimeError('Variable "campaigns" does not exist.', 20, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 21
echo " ";
echo twig_include($this->env, $context, "RecruitmentCampaign/_campaign_card.html.twig", ["campaign" => $context["o"]]);
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 23
echo " </div>
";
// line 24
if ( !twig_get_attribute($this->env, $this->source, (isset($context["role"]) || array_key_exists("role", $context) ? $context["role"] : (function () { throw new RuntimeError('Variable "role" does not exist.', 24, $this->source); })()), "connected", [], "any", false, false, false, 24)) {
// line 25
echo " <aside class=\"";
echo twig_escape_filter($this->env, $this->env->getFunction('desktop')->getCallable()("third left-80 vt-20-in"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->env->getFunction('mobile')->getCallable()("bottom-40-in"), "html", null, true);
echo "\">
";
// line 26
echo twig_include($this->env, $context, "security/_provider_login_form.html.twig");
echo "
</aside>
";
}
// line 29
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 33
public function block_css($context, array $blocks = [])
{
$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", "css"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
// line 34
echo " <style>
:root{
--background: white;
}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "home.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 204 => 34, 194 => 33, 182 => 29, 176 => 26, 169 => 25, 167 => 24, 164 => 23, 147 => 21, 130 => 20, 124 => 17, 118 => 16, 112 => 15, 108 => 14, 101 => 13, 91 => 12, 78 => 8, 75 => 7, 65 => 6, 54 => 1, 52 => 4, 50 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"template.html.twig\" %}
{% set desc = \"\" %}
{% set menu = 'accounts' %}
{% block titlebox %}
<div class=\"fill relative flex col middle h1\">
{{ static.BannerTitle|raw }}
</div>
{% endblock %}
{% block content %}
<div class='{{desktop(\"gpadding vt-80-in\")}} {{mobile(\"hz-15-in\")}}'>
<div class='{{desktop(\"flex row space top\")}}'>
<div id='article' class='w100 {{desktop(\"\")}} {{mobile(\"vt-20-in\")}}'>
<div class=\"{{desktop(\"h3 bottom-40\")}} {{mobile(\"bottom-20 h3 success bold top-5\")}}\">
{{ static.CampaignBlockTitle|raw }}
</div>
{% for o in campaigns %}
{{ include('RecruitmentCampaign/_campaign_card.html.twig', {campaign: o}) }}
{% endfor %}
</div>
{% if not role.connected %}
<aside class=\"{{desktop('third left-80 vt-20-in')}} {{mobile('bottom-40-in')}}\">
{{ include('security/_provider_login_form.html.twig') }}
</aside>
{% endif %}
</div>
</div>
{% endblock %}
{% block css %}
<style>
:root{
--background: white;
}
</style>
{% endblock %}
", "home.html.twig", "/home/olasoftnka/nsia-provider/templates/home.html.twig");
}
}