var/cache/dev/twig/e7/e7f18053cf0386da0b6a5e5357264098.php line 58

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. /* /default/contact.html.twig */
  16. class __TwigTemplate_cce352b2fa26f07137ec81dfe5560cb1 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. 'stylesheets' => [$this, 'block_stylesheets'],
  29. 'main_content' => [$this, 'block_main_content'],
  30. 'javascripts' => [$this, 'block_javascripts'],
  31. ];
  32. }
  33. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34. {
  35. // line 1
  36. return "/base.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", "/default/contact.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", "/default/contact.html.twig"));
  45. // line 2
  46. $context["isJanusPage"] = true;
  47. // line 1
  48. $this->parent = $this->load("/base.html.twig", 1);
  49. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  50. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52. }
  53. // line 4
  54. /**
  55. * @return iterable<null|scalar|\Stringable>
  56. */
  57. public function block_stylesheets(array $context, array $blocks = []): iterable
  58. {
  59. $macros = $this->macros;
  60. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  62. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  64. // line 5
  65. yield " ";
  66. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  67. yield "
  68. <link rel=\"stylesheet\" href=\"";
  69. // line 6
  70. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/generated/living_styleguide.css"), "html", null, true);
  71. yield "\">
  72. <style>
  73. table, th, td {
  74. border: 1px solid black;
  75. border-collapse: collapse;
  76. }
  77. td {
  78. padding: 8px;
  79. }
  80. </style>
  81. ";
  82. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  84. yield from [];
  85. }
  86. // line 19
  87. /**
  88. * @return iterable<null|scalar|\Stringable>
  89. */
  90. public function block_main_content(array $context, array $blocks = []): iterable
  91. {
  92. $macros = $this->macros;
  93. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  94. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  95. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  96. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  97. // line 20
  98. yield "<div class=\"jlls-page-container\">
  99. <div class=\"jlls-card\">
  100. <div class=\"jlls-card-title\">
  101. <h1 class=\"jlls-card-title-text\">";
  102. // line 25
  103. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.headline");
  104. yield "</h1>
  105. </div>
  106. <div class=\"tw-p-0 md:tw-p-4\">
  107. ";
  108. // line 30
  109. if (( !CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 30) || (null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "user", [], "any", false, false, false, 30)))) {
  110. // line 31
  111. yield " ";
  112. $context['_parent'] = $context;
  113. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["faqs"]) || array_key_exists("faqs", $context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.', 31, $this->source); })()));
  114. $context['loop'] = [
  115. 'parent' => $context['_parent'],
  116. 'index0' => 0,
  117. 'index' => 1,
  118. 'first' => true,
  119. ];
  120. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  121. $length = count($context['_seq']);
  122. $context['loop']['revindex0'] = $length - 1;
  123. $context['loop']['revindex'] = $length;
  124. $context['loop']['length'] = $length;
  125. $context['loop']['last'] = 1 === $length;
  126. }
  127. foreach ($context['_seq'] as $context["category"] => $context["faqsGroupedBySubcategory"]) {
  128. // line 32
  129. yield " ";
  130. $context["outerIndex"] = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 32);
  131. // line 33
  132. yield " <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-";
  133. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 33, $this->source); })()), "html", null, true);
  134. yield " tw-border-b tw-border-gray-200\">
  135. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  136. onclick=\"window.appFunctions.toggleFaqSection(";
  137. // line 35
  138. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 35, $this->source); })()), "html", null, true);
  139. yield ")\">
  140. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-";
  141. // line 36
  142. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 36, $this->source); })()), "html", null, true);
  143. yield "\" style=\"color: #CE99F2;\"
  144. aria-hidden=\"true\"></i>
  145. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">";
  146. // line 38
  147. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["category"], "html", null, true);
  148. yield "</span>
  149. </div>
  150. <div class=\"col-12 tw-py-3 faq-section-content faq-section-content-";
  151. // line 40
  152. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 40, $this->source); })()), "html", null, true);
  153. yield " d-none tw-text-left tw-pl-2 md:tw-pl-8\">
  154. ";
  155. // line 41
  156. $context['_parent'] = $context;
  157. $context['_seq'] = CoreExtension::ensureTraversable($context["faqsGroupedBySubcategory"]);
  158. $context['loop'] = [
  159. 'parent' => $context['_parent'],
  160. 'index0' => 0,
  161. 'index' => 1,
  162. 'first' => true,
  163. ];
  164. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  165. $length = count($context['_seq']);
  166. $context['loop']['revindex0'] = $length - 1;
  167. $context['loop']['revindex'] = $length;
  168. $context['loop']['length'] = $length;
  169. $context['loop']['last'] = 1 === $length;
  170. }
  171. foreach ($context['_seq'] as $context["subcategory"] => $context["faqsAndAnswers"]) {
  172. // line 42
  173. yield " ";
  174. $context["innerIndex"] = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 42);
  175. // line 43
  176. yield " <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-";
  177. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 43, $this->source); })()), "html", null, true);
  178. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 43, $this->source); })()), "html", null, true);
  179. yield "\">
  180. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  181. onclick=\"window.appFunctions.toggleFaqSection('";
  182. // line 45
  183. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 45, $this->source); })()), "html", null, true);
  184. yield "' + '";
  185. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 45, $this->source); })()), "html", null, true);
  186. yield "')\">
  187. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-";
  188. // line 46
  189. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 46, $this->source); })()), "html", null, true);
  190. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 46, $this->source); })()), "html", null, true);
  191. yield "\" style=\"color: #CE99F2;\"
  192. aria-hidden=\"true\"></i>
  193. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">";
  194. // line 48
  195. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["subcategory"], "html", null, true);
  196. yield "</span>
  197. </div>
  198. <div class=\"col-12 tw-py-3 faq-section-content faq-section-content-";
  199. // line 50
  200. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 50, $this->source); })()), "html", null, true);
  201. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 50, $this->source); })()), "html", null, true);
  202. yield " d-none tw-text-left tw-pl-2 md:tw-pl-8\">
  203. ";
  204. // line 51
  205. $context['_parent'] = $context;
  206. $context['_seq'] = CoreExtension::ensureTraversable($context["faqsAndAnswers"]);
  207. $context['loop'] = [
  208. 'parent' => $context['_parent'],
  209. 'index0' => 0,
  210. 'index' => 1,
  211. 'first' => true,
  212. ];
  213. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  214. $length = count($context['_seq']);
  215. $context['loop']['revindex0'] = $length - 1;
  216. $context['loop']['revindex'] = $length;
  217. $context['loop']['length'] = $length;
  218. $context['loop']['last'] = 1 === $length;
  219. }
  220. foreach ($context['_seq'] as $context["_key"] => $context["faq"]) {
  221. // line 52
  222. yield " ";
  223. $context["innermostIndex"] = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 52);
  224. // line 53
  225. yield " <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-";
  226. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 53, $this->source); })()), "html", null, true);
  227. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 53, $this->source); })()), "html", null, true);
  228. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 53, $this->source); })()), "html", null, true);
  229. yield "\">
  230. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-1\"
  231. onclick=\"window.appFunctions.toggleFaqSection('";
  232. // line 55
  233. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 55, $this->source); })()), "html", null, true);
  234. yield "' + '";
  235. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 55, $this->source); })()), "html", null, true);
  236. yield "' + '";
  237. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 55, $this->source); })()), "html", null, true);
  238. yield "')\">
  239. <i class=\"fa fa-chevron-circle-right tw-mr-2 faq-section-icon faq-section-icon-";
  240. // line 56
  241. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 56, $this->source); })()), "html", null, true);
  242. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 56, $this->source); })()), "html", null, true);
  243. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 56, $this->source); })()), "html", null, true);
  244. yield "\" style=\"color: #CE99F2;\"
  245. aria-hidden=\"true\"></i>
  246. <span class=\"jlls-text tw-font-semibold tw-mb-0 tw-cursor-pointer\">";
  247. // line 58
  248. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["faq"], "question", [], "any", false, false, false, 58), "html", null, true);
  249. yield "</span>
  250. </div>
  251. <div class=\"col-12 tw-pt-3 tw-pb-2 tw-mb-2 faq-answer faq-section-content faq-section-content-";
  252. // line 60
  253. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 60, $this->source); })()), "html", null, true);
  254. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 60, $this->source); })()), "html", null, true);
  255. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 60, $this->source); })()), "html", null, true);
  256. yield " d-none tw-text-left tw-pl-2 md:tw-pl-4 tw-border-b tw-border-gray-200\"
  257. onclick=\"window.appFunctions.toggleFaqSection('";
  258. // line 61
  259. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["outerIndex"]) || array_key_exists("outerIndex", $context) ? $context["outerIndex"] : (function () { throw new RuntimeError('Variable "outerIndex" does not exist.', 61, $this->source); })()), "html", null, true);
  260. yield "' + '";
  261. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 61, $this->source); })()), "html", null, true);
  262. yield "' + '";
  263. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 61, $this->source); })()), "html", null, true);
  264. yield "')\">
  265. <span class=\"jlls-text\">";
  266. // line 62
  267. yield Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env, $this->source, $context["faq"], "answer", [], "any", false, false, false, 62), ["%linkRegJobseeker%" => (("<a class=\"jlls-link-default tw-underline\" href=" . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_registration_register", ["createWithRole" => Twig\Extension\CoreExtension::constant("App\\Entity\\User::ROLE_NAME_JOBSEEKER")])) . ">hier</a>"), "%linkRegJobofferer%" => (("<a class=\"jlls-link-default tw-underline\" href=" . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_registration_register", ["createWithRole" => Twig\Extension\CoreExtension::constant("App\\Entity\\User::ROLE_NAME_JOBOFFERER")])) . ">hier</a>"), "%linkPasswordReset%" => (("<a class=\"jlls-link-default tw-underline\" href=" . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_resetting_request")) . ">hier</a>")]);
  268. // line 68
  269. yield "</span>
  270. </div>
  271. </div>
  272. ";
  273. ++$context['loop']['index0'];
  274. ++$context['loop']['index'];
  275. $context['loop']['first'] = false;
  276. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  277. --$context['loop']['revindex0'];
  278. --$context['loop']['revindex'];
  279. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  280. }
  281. }
  282. $_parent = $context['_parent'];
  283. unset($context['_seq'], $context['_key'], $context['faq'], $context['_parent'], $context['loop']);
  284. $context = array_intersect_key($context, $_parent) + $_parent;
  285. // line 72
  286. yield " </div>
  287. </div>
  288. ";
  289. ++$context['loop']['index0'];
  290. ++$context['loop']['index'];
  291. $context['loop']['first'] = false;
  292. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  293. --$context['loop']['revindex0'];
  294. --$context['loop']['revindex'];
  295. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  296. }
  297. }
  298. $_parent = $context['_parent'];
  299. unset($context['_seq'], $context['subcategory'], $context['faqsAndAnswers'], $context['_parent'], $context['loop']);
  300. $context = array_intersect_key($context, $_parent) + $_parent;
  301. // line 75
  302. yield " </div>
  303. </div>
  304. ";
  305. ++$context['loop']['index0'];
  306. ++$context['loop']['index'];
  307. $context['loop']['first'] = false;
  308. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  309. --$context['loop']['revindex0'];
  310. --$context['loop']['revindex'];
  311. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  312. }
  313. }
  314. $_parent = $context['_parent'];
  315. unset($context['_seq'], $context['category'], $context['faqsGroupedBySubcategory'], $context['_parent'], $context['loop']);
  316. $context = array_intersect_key($context, $_parent) + $_parent;
  317. // line 78
  318. yield " ";
  319. } else {
  320. // line 79
  321. yield " ";
  322. $context['_parent'] = $context;
  323. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["faqs"]) || array_key_exists("faqs", $context) ? $context["faqs"] : (function () { throw new RuntimeError('Variable "faqs" does not exist.', 79, $this->source); })()));
  324. $context['loop'] = [
  325. 'parent' => $context['_parent'],
  326. 'index0' => 0,
  327. 'index' => 1,
  328. 'first' => true,
  329. ];
  330. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  331. $length = count($context['_seq']);
  332. $context['loop']['revindex0'] = $length - 1;
  333. $context['loop']['revindex'] = $length;
  334. $context['loop']['length'] = $length;
  335. $context['loop']['last'] = 1 === $length;
  336. }
  337. foreach ($context['_seq'] as $context["subcategory"] => $context["faqsAndAnswers"]) {
  338. // line 80
  339. yield " ";
  340. $context["innerIndex"] = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 80);
  341. // line 81
  342. yield " <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-";
  343. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 81, $this->source); })()), "html", null, true);
  344. yield " tw-border-b tw-border-gray-200\">
  345. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  346. onclick=\"window.appFunctions.toggleFaqSection('";
  347. // line 83
  348. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 83, $this->source); })()), "html", null, true);
  349. yield "')\">
  350. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-";
  351. // line 84
  352. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 84, $this->source); })()), "html", null, true);
  353. yield "\" style=\"color: #CE99F2;\"
  354. aria-hidden=\"true\"></i>
  355. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">";
  356. // line 86
  357. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["subcategory"], "html", null, true);
  358. yield "</span>
  359. </div>
  360. <div class=\"col-12 tw-py-3 faq-section-content faq-section-content-";
  361. // line 88
  362. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 88, $this->source); })()), "html", null, true);
  363. yield " d-none tw-text-left tw-pl-2 md:tw-pl-8\">
  364. ";
  365. // line 89
  366. $context['_parent'] = $context;
  367. $context['_seq'] = CoreExtension::ensureTraversable($context["faqsAndAnswers"]);
  368. $context['loop'] = [
  369. 'parent' => $context['_parent'],
  370. 'index0' => 0,
  371. 'index' => 1,
  372. 'first' => true,
  373. ];
  374. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  375. $length = count($context['_seq']);
  376. $context['loop']['revindex0'] = $length - 1;
  377. $context['loop']['revindex'] = $length;
  378. $context['loop']['length'] = $length;
  379. $context['loop']['last'] = 1 === $length;
  380. }
  381. foreach ($context['_seq'] as $context["_key"] => $context["faq"]) {
  382. // line 90
  383. yield " ";
  384. $context["innermostIndex"] = CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 90);
  385. // line 91
  386. yield " <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-";
  387. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 91, $this->source); })()), "html", null, true);
  388. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 91, $this->source); })()), "html", null, true);
  389. yield "\">
  390. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-1\"
  391. onclick=\"window.appFunctions.toggleFaqSection('";
  392. // line 93
  393. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 93, $this->source); })()), "html", null, true);
  394. yield "' + '";
  395. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 93, $this->source); })()), "html", null, true);
  396. yield "')\">
  397. <i class=\"fa fa-chevron-circle-right tw-mr-2 faq-section-icon faq-section-icon-";
  398. // line 94
  399. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 94, $this->source); })()), "html", null, true);
  400. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 94, $this->source); })()), "html", null, true);
  401. yield "\" style=\"color: #CE99F2;\"
  402. aria-hidden=\"true\"></i>
  403. <span class=\"jlls-text tw-font-semibold tw-mb-0 tw-cursor-pointer\">";
  404. // line 96
  405. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["faq"], "question", [], "any", false, false, false, 96), "html", null, true);
  406. yield "</span>
  407. </div>
  408. <div class=\"col-12 tw-pt-3 tw-pb-2 tw-mb-2 faq-section-content faq-answer faq-section-content-";
  409. // line 98
  410. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 98, $this->source); })()), "html", null, true);
  411. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 98, $this->source); })()), "html", null, true);
  412. yield " d-none tw-text-left tw-pl-2 md:tw-pl-4 tw-border-b tw-border-gray-200\"
  413. onclick=\"window.appFunctions.toggleFaqSection('";
  414. // line 99
  415. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innerIndex"]) || array_key_exists("innerIndex", $context) ? $context["innerIndex"] : (function () { throw new RuntimeError('Variable "innerIndex" does not exist.', 99, $this->source); })()), "html", null, true);
  416. yield "' + '";
  417. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["innermostIndex"]) || array_key_exists("innermostIndex", $context) ? $context["innermostIndex"] : (function () { throw new RuntimeError('Variable "innermostIndex" does not exist.', 99, $this->source); })()), "html", null, true);
  418. yield "')\">
  419. <span class=\"jlls-text\">";
  420. // line 100
  421. yield Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env, $this->source, $context["faq"], "answer", [], "any", false, false, false, 100), ["%linkRegJobseeker%" => (("<a class=\"jlls-link-default tw-underline\" href=" . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_registration_register", ["createWithRole" => Twig\Extension\CoreExtension::constant("App\\Entity\\User::ROLE_NAME_JOBSEEKER")])) . ">hier</a>"), "%linkRegJobofferer%" => (("<a class=\"jlls-link-default tw-underline\" href=" . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_registration_register", ["createWithRole" => Twig\Extension\CoreExtension::constant("App\\Entity\\User::ROLE_NAME_JOBOFFERER")])) . ">hier</a>"), "%linkPasswordReset%" => (("<a class=\"jlls-link-default tw-underline\" href=" . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_resetting_request")) . ">hier</a>"), "info@joboo.de" => "<a class=\"jlls-link-default tw-underline\" href=\"mailto:info@joboo.de\">info@joboo.de</a>"]);
  422. // line 107
  423. yield "</span>
  424. </div>
  425. </div>
  426. ";
  427. ++$context['loop']['index0'];
  428. ++$context['loop']['index'];
  429. $context['loop']['first'] = false;
  430. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  431. --$context['loop']['revindex0'];
  432. --$context['loop']['revindex'];
  433. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  434. }
  435. }
  436. $_parent = $context['_parent'];
  437. unset($context['_seq'], $context['_key'], $context['faq'], $context['_parent'], $context['loop']);
  438. $context = array_intersect_key($context, $_parent) + $_parent;
  439. // line 111
  440. yield " </div>
  441. </div>
  442. ";
  443. ++$context['loop']['index0'];
  444. ++$context['loop']['index'];
  445. $context['loop']['first'] = false;
  446. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  447. --$context['loop']['revindex0'];
  448. --$context['loop']['revindex'];
  449. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  450. }
  451. }
  452. $_parent = $context['_parent'];
  453. unset($context['_seq'], $context['subcategory'], $context['faqsAndAnswers'], $context['_parent'], $context['loop']);
  454. $context = array_intersect_key($context, $_parent) + $_parent;
  455. // line 114
  456. yield "
  457. ";
  458. }
  459. // line 117
  460. yield " <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-contact tw-border-b tw-border-gray-200\" id=\"contact-form-area\">
  461. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  462. onclick=\"window.appFunctions.toggleFaqSection('contact')\">
  463. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-contact\" style=\"color: #CE99F2;\"
  464. aria-hidden=\"true\"></i>
  465. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">Kontakt</span>
  466. </div>
  467. <div class=\"col-12 tw-pb-3 faq-section-content faq-section-content-contact ";
  468. // line 124
  469. if (( !array_key_exists("contactOpen", $context) || !(isset($context["contactOpen"]) || array_key_exists("contactOpen", $context) ? $context["contactOpen"] : (function () { throw new RuntimeError('Variable "contactOpen" does not exist.', 124, $this->source); })()))) {
  470. yield "d-none–";
  471. }
  472. yield " tw-text-left tw-bg-gray-50 tw-rounded-lg\">
  473. <div class=\"container-fluid tw-px-0 md:tw-px-4\">
  474. <div class=\"tw-flex tw-flex-col md:tw-flex-row\">
  475. <div class=\"col-md tw-p-0 md:tw-py-3 md:tw-pr-4 md:tw-mb-5\">
  476. <img src=\"";
  477. // line 128
  478. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->cdnifyUri($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/contact-640.jpg")), "html", null, true);
  479. yield "\"
  480. alt=\"";
  481. // line 129
  482. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.image_alt_texts.contact", [], "seo"), "html", null, true);
  483. yield "\"
  484. class=\"tw-w-full tw-rounded-lg\">
  485. <div class=\"tw-py-2 tw-px-4 md:tw-px-2 md:tw-pt-4 jlls-text\">
  486. ";
  487. // line 132
  488. yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.description");
  489. yield "
  490. </div>
  491. </div>
  492. <div class=\"col-md tw-px-4 md:tw-px-0\">
  493. ";
  494. // line 137
  495. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 137, $this->source); })()), 'form_start', ["attr" => ["id" => "contact-form"]]);
  496. yield "
  497. <div class=\"tw-mb-6\">
  498. ";
  499. // line 140
  500. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 140, $this->source); })()), "subject", [], "any", false, false, false, 140), 'row', ["attr" => ["class" => "jlls-form-input"]]);
  501. yield "
  502. </div>
  503. <div class=\"tw-mb-6\">
  504. ";
  505. // line 144
  506. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 144, $this->source); })()), "email", [], "any", false, false, false, 144), 'row', ["attr" => ["class" => "jlls-form-input"]]);
  507. yield "
  508. </div>
  509. <div class=\"tw-mb-4\">
  510. ";
  511. // line 148
  512. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 148, $this->source); })()), "body", [], "any", false, false, false, 148), 'row', ["attr" => ["class" => "tw-px-2 jlls-form-textarea", "style" => "height: 20em;"]]);
  513. yield "
  514. </div>
  515. <div class=\"tw-pb-3 md:tw-pb-0 tw-text-center\">
  516. <div class=\"";
  517. // line 151
  518. yield $this->extensions['App\Twig\AppExtension']->captchaSubmitClassFunction();
  519. yield "\" ";
  520. yield $this->extensions['App\Twig\AppExtension']->captchaSubmitDataAttributesFunction();
  521. yield "></div>
  522. <button type=\"submit\" class=\"submit-button jlls-button-default\">";
  523. // line 152
  524. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.send"), "html", null, true);
  525. yield "</button>
  526. </div>
  527. ";
  528. // line 155
  529. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 155, $this->source); })()), 'form_end');
  530. yield "
  531. </div>
  532. </div>
  533. </div>
  534. </div>
  535. </div>
  536. </div>
  537. </div>
  538. </div>
  539. ";
  540. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  541. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  542. yield from [];
  543. }
  544. // line 169
  545. /**
  546. * @return iterable<null|scalar|\Stringable>
  547. */
  548. public function block_javascripts(array $context, array $blocks = []): iterable
  549. {
  550. $macros = $this->macros;
  551. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  552. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  553. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  554. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  555. // line 170
  556. yield " ";
  557. yield $this->extensions['App\Twig\AppExtension']->captchaJavascriptFunction("contact-form", "submit-button");
  558. yield "
  559. <script>
  560. ";
  561. // line 172
  562. yield $this->extensions['App\Twig\AppExtension']->inlineJsWrapperBeginFunction();
  563. yield "
  564. window.appFunctions.toggleFaqSection = function (sectionId) {
  565. if (jQuery('.faq-section-content-' + sectionId).hasClass('d-none')) {
  566. jQuery('.faq-section-content-' + sectionId).removeClass('d-none');
  567. jQuery('.faq-section-icon-' + sectionId).removeClass('fa-chevron-circle-right').addClass('fa-chevron-circle-down');
  568. } else {
  569. jQuery('.faq-section-content-' + sectionId).addClass('d-none');
  570. jQuery('.faq-section-icon-' + sectionId).removeClass('fa-chevron-circle-down').addClass('fa-chevron-circle-right');
  571. }
  572. }
  573. ";
  574. // line 183
  575. yield $this->extensions['App\Twig\AppExtension']->inlineJsWrapperEndFunction();
  576. yield "
  577. </script>
  578. ";
  579. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  580. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  581. yield from [];
  582. }
  583. /**
  584. * @codeCoverageIgnore
  585. */
  586. public function getTemplateName(): string
  587. {
  588. return "/default/contact.html.twig";
  589. }
  590. /**
  591. * @codeCoverageIgnore
  592. */
  593. public function isTraitable(): bool
  594. {
  595. return false;
  596. }
  597. /**
  598. * @codeCoverageIgnore
  599. */
  600. public function getDebugInfo(): array
  601. {
  602. return array ( 620 => 183, 606 => 172, 600 => 170, 587 => 169, 563 => 155, 557 => 152, 551 => 151, 545 => 148, 538 => 144, 531 => 140, 525 => 137, 517 => 132, 511 => 129, 507 => 128, 498 => 124, 489 => 117, 484 => 114, 468 => 111, 451 => 107, 449 => 100, 443 => 99, 438 => 98, 433 => 96, 427 => 94, 421 => 93, 414 => 91, 411 => 90, 394 => 89, 390 => 88, 385 => 86, 380 => 84, 376 => 83, 370 => 81, 367 => 80, 349 => 79, 346 => 78, 330 => 75, 314 => 72, 297 => 68, 295 => 62, 287 => 61, 281 => 60, 276 => 58, 269 => 56, 261 => 55, 253 => 53, 250 => 52, 233 => 51, 228 => 50, 223 => 48, 217 => 46, 211 => 45, 204 => 43, 201 => 42, 184 => 41, 180 => 40, 175 => 38, 170 => 36, 166 => 35, 160 => 33, 157 => 32, 139 => 31, 137 => 30, 129 => 25, 122 => 20, 109 => 19, 86 => 6, 81 => 5, 68 => 4, 57 => 1, 55 => 2, 42 => 1,);
  603. }
  604. public function getSourceContext(): Source
  605. {
  606. return new Source("{% extends '/base.html.twig' %}
  607. {% set isJanusPage = true %}
  608. {% block stylesheets %}
  609. {{ parent() }}
  610. <link rel=\"stylesheet\" href=\"{{ asset('assets/generated/living_styleguide.css') }}\">
  611. <style>
  612. table, th, td {
  613. border: 1px solid black;
  614. border-collapse: collapse;
  615. }
  616. td {
  617. padding: 8px;
  618. }
  619. </style>
  620. {% endblock %}
  621. {% block main_content %}
  622. <div class=\"jlls-page-container\">
  623. <div class=\"jlls-card\">
  624. <div class=\"jlls-card-title\">
  625. <h1 class=\"jlls-card-title-text\">{{ 'contact_page.headline'|trans|raw }}</h1>
  626. </div>
  627. <div class=\"tw-p-0 md:tw-p-4\">
  628. {% if app.user is not defined or app.user is null %}
  629. {% for category, faqsGroupedBySubcategory in faqs %}
  630. {% set outerIndex = loop.index %}
  631. <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-{{ outerIndex }} tw-border-b tw-border-gray-200\">
  632. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  633. onclick=\"window.appFunctions.toggleFaqSection({{ outerIndex }})\">
  634. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-{{ outerIndex }}\" style=\"color: #CE99F2;\"
  635. aria-hidden=\"true\"></i>
  636. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">{{ category }}</span>
  637. </div>
  638. <div class=\"col-12 tw-py-3 faq-section-content faq-section-content-{{ outerIndex }} d-none tw-text-left tw-pl-2 md:tw-pl-8\">
  639. {% for subcategory, faqsAndAnswers in faqsGroupedBySubcategory %}
  640. {% set innerIndex = loop.index %}
  641. <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-{{ outerIndex }}{{ innerIndex }}\">
  642. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  643. onclick=\"window.appFunctions.toggleFaqSection('{{ outerIndex }}' + '{{ innerIndex }}')\">
  644. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-{{ outerIndex }}{{ innerIndex }}\" style=\"color: #CE99F2;\"
  645. aria-hidden=\"true\"></i>
  646. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">{{ subcategory }}</span>
  647. </div>
  648. <div class=\"col-12 tw-py-3 faq-section-content faq-section-content-{{ outerIndex }}{{ innerIndex }} d-none tw-text-left tw-pl-2 md:tw-pl-8\">
  649. {% for faq in faqsAndAnswers %}
  650. {% set innermostIndex = loop.index %}
  651. <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-{{ outerIndex }}{{ innerIndex }}{{ innermostIndex }}\">
  652. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-1\"
  653. onclick=\"window.appFunctions.toggleFaqSection('{{ outerIndex }}' + '{{ innerIndex }}' + '{{ innermostIndex }}')\">
  654. <i class=\"fa fa-chevron-circle-right tw-mr-2 faq-section-icon faq-section-icon-{{ outerIndex }}{{ innerIndex }}{{ innermostIndex }}\" style=\"color: #CE99F2;\"
  655. aria-hidden=\"true\"></i>
  656. <span class=\"jlls-text tw-font-semibold tw-mb-0 tw-cursor-pointer\">{{ faq.question }}</span>
  657. </div>
  658. <div class=\"col-12 tw-pt-3 tw-pb-2 tw-mb-2 faq-answer faq-section-content faq-section-content-{{ outerIndex }}{{ innerIndex }}{{ innermostIndex }} d-none tw-text-left tw-pl-2 md:tw-pl-4 tw-border-b tw-border-gray-200\"
  659. onclick=\"window.appFunctions.toggleFaqSection('{{ outerIndex }}' + '{{ innerIndex }}' + '{{ innermostIndex }}')\">
  660. <span class=\"jlls-text\">{{ faq.answer|replace(
  661. {
  662. '%linkRegJobseeker%': '<a class=\"jlls-link-default tw-underline\" href=' ~ path(\"fos_user_registration_register\", {'createWithRole': constant('App\\\\Entity\\\\User::ROLE_NAME_JOBSEEKER')}) ~ '>hier</a>',
  663. '%linkRegJobofferer%': '<a class=\"jlls-link-default tw-underline\" href=' ~ path(\"fos_user_registration_register\", {'createWithRole': constant('App\\\\Entity\\\\User::ROLE_NAME_JOBOFFERER')}) ~ '>hier</a>',
  664. '%linkPasswordReset%': '<a class=\"jlls-link-default tw-underline\" href=' ~ path(\"fos_user_resetting_request\") ~ '>hier</a>'
  665. }
  666. )|raw }}</span>
  667. </div>
  668. </div>
  669. {% endfor %}
  670. </div>
  671. </div>
  672. {% endfor %}
  673. </div>
  674. </div>
  675. {% endfor %}
  676. {% else %}
  677. {% for subcategory, faqsAndAnswers in faqs %}
  678. {% set innerIndex = loop.index %}
  679. <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-{{ innerIndex }} tw-border-b tw-border-gray-200\">
  680. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  681. onclick=\"window.appFunctions.toggleFaqSection('{{ innerIndex }}')\">
  682. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-{{ innerIndex }}\" style=\"color: #CE99F2;\"
  683. aria-hidden=\"true\"></i>
  684. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">{{ subcategory }}</span>
  685. </div>
  686. <div class=\"col-12 tw-py-3 faq-section-content faq-section-content-{{ innerIndex }} d-none tw-text-left tw-pl-2 md:tw-pl-8\">
  687. {% for faq in faqsAndAnswers %}
  688. {% set innermostIndex = loop.index %}
  689. <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-{{ innerIndex }}{{ innermostIndex }}\">
  690. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-1\"
  691. onclick=\"window.appFunctions.toggleFaqSection('{{ innerIndex }}' + '{{ innermostIndex }}')\">
  692. <i class=\"fa fa-chevron-circle-right tw-mr-2 faq-section-icon faq-section-icon-{{ innerIndex }}{{ innermostIndex }}\" style=\"color: #CE99F2;\"
  693. aria-hidden=\"true\"></i>
  694. <span class=\"jlls-text tw-font-semibold tw-mb-0 tw-cursor-pointer\">{{ faq.question }}</span>
  695. </div>
  696. <div class=\"col-12 tw-pt-3 tw-pb-2 tw-mb-2 faq-section-content faq-answer faq-section-content-{{ innerIndex }}{{ innermostIndex }} d-none tw-text-left tw-pl-2 md:tw-pl-4 tw-border-b tw-border-gray-200\"
  697. onclick=\"window.appFunctions.toggleFaqSection('{{ innerIndex }}' + '{{ innermostIndex }}')\">
  698. <span class=\"jlls-text\">{{ faq.answer|replace(
  699. {
  700. '%linkRegJobseeker%': '<a class=\"jlls-link-default tw-underline\" href=' ~ path(\"fos_user_registration_register\", {'createWithRole': constant('App\\\\Entity\\\\User::ROLE_NAME_JOBSEEKER')}) ~ '>hier</a>',
  701. '%linkRegJobofferer%': '<a class=\"jlls-link-default tw-underline\" href=' ~ path(\"fos_user_registration_register\", {'createWithRole': constant('App\\\\Entity\\\\User::ROLE_NAME_JOBOFFERER')}) ~ '>hier</a>',
  702. '%linkPasswordReset%': '<a class=\"jlls-link-default tw-underline\" href=' ~ path(\"fos_user_resetting_request\") ~ '>hier</a>',
  703. 'info@joboo.de': '<a class=\"jlls-link-default tw-underline\" href=\"mailto:info@joboo.de\">info@joboo.de</a>'
  704. }
  705. )|raw }}</span>
  706. </div>
  707. </div>
  708. {% endfor %}
  709. </div>
  710. </div>
  711. {% endfor %}
  712. {% endif %}
  713. <div class=\"row tw-px-3 faq-section-trigger faq-section-trigger-contact tw-border-b tw-border-gray-200\" id=\"contact-form-area\">
  714. <div class=\"col-12 tw-text-left tw-flex tw-flex-row tw-items-center tw-justify-start tw-text-joboo-gray-800 tw-py-3\"
  715. onclick=\"window.appFunctions.toggleFaqSection('contact')\">
  716. <i class=\"fa fa-chevron-circle-right fa-lg tw-mr-2 faq-section-icon faq-section-icon-contact\" style=\"color: #CE99F2;\"
  717. aria-hidden=\"true\"></i>
  718. <span class=\"jlls-text tw-font-bold tw-mb-0 tw-cursor-pointer\">Kontakt</span>
  719. </div>
  720. <div class=\"col-12 tw-pb-3 faq-section-content faq-section-content-contact {% if contactOpen is not defined or not contactOpen %}d-none–{% endif %} tw-text-left tw-bg-gray-50 tw-rounded-lg\">
  721. <div class=\"container-fluid tw-px-0 md:tw-px-4\">
  722. <div class=\"tw-flex tw-flex-col md:tw-flex-row\">
  723. <div class=\"col-md tw-p-0 md:tw-py-3 md:tw-pr-4 md:tw-mb-5\">
  724. <img src=\"{{ asset('assets/images/contact-640.jpg')|cdnifyUri }}\"
  725. alt=\"{{ 'seo.image_alt_texts.contact'|trans([], 'seo') }}\"
  726. class=\"tw-w-full tw-rounded-lg\">
  727. <div class=\"tw-py-2 tw-px-4 md:tw-px-2 md:tw-pt-4 jlls-text\">
  728. {{ 'contact_page.description'|trans|raw }}
  729. </div>
  730. </div>
  731. <div class=\"col-md tw-px-4 md:tw-px-0\">
  732. {{ form_start(form, { 'attr': {'id': 'contact-form'} }) }}
  733. <div class=\"tw-mb-6\">
  734. {{ form_row(form.subject, { 'attr': {'class': 'jlls-form-input'} }) }}
  735. </div>
  736. <div class=\"tw-mb-6\">
  737. {{ form_row(form.email, { 'attr': {'class': 'jlls-form-input'} }) }}
  738. </div>
  739. <div class=\"tw-mb-4\">
  740. {{ form_row(form.body, { 'attr': {'class': 'tw-px-2 jlls-form-textarea', 'style': 'height: 20em;'} }) }}
  741. </div>
  742. <div class=\"tw-pb-3 md:tw-pb-0 tw-text-center\">
  743. <div class=\"{{ captchaSubmitClass() }}\" {{ captchaSubmitDataAttributes() }}></div>
  744. <button type=\"submit\" class=\"submit-button jlls-button-default\">{{ 'contact_page.send'|trans }}</button>
  745. </div>
  746. {{ form_end(form) }}
  747. </div>
  748. </div>
  749. </div>
  750. </div>
  751. </div>
  752. </div>
  753. </div>
  754. </div>
  755. {% endblock %}
  756. {% block javascripts %}
  757. {{ captchaJavascript('contact-form', 'submit-button') }}
  758. <script>
  759. {{ inlineJsWrapperBegin() }}
  760. window.appFunctions.toggleFaqSection = function (sectionId) {
  761. if (jQuery('.faq-section-content-' + sectionId).hasClass('d-none')) {
  762. jQuery('.faq-section-content-' + sectionId).removeClass('d-none');
  763. jQuery('.faq-section-icon-' + sectionId).removeClass('fa-chevron-circle-right').addClass('fa-chevron-circle-down');
  764. } else {
  765. jQuery('.faq-section-content-' + sectionId).addClass('d-none');
  766. jQuery('.faq-section-icon-' + sectionId).removeClass('fa-chevron-circle-down').addClass('fa-chevron-circle-right');
  767. }
  768. }
  769. {{ inlineJsWrapperEnd() }}
  770. </script>
  771. {% endblock %}
  772. ", "/default/contact.html.twig", "/workspace/backend-app/templates/default/contact.html.twig");
  773. }
  774. }