<?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;
/* @StartPlatzAlphaBundle/Startup/single.homepage.html.twig */
class __TwigTemplate_6dbce1c889a3bc3087c0f0cad1d718b7 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 = [
'metaData' => [$this, 'block_metaData'],
'additionalHead' => [$this, 'block_additionalHead'],
'navigation' => [$this, 'block_navigation'],
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'infiniteLoop' => [$this, 'block_infiniteLoop'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.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", "@StartPlatzAlphaBundle/Startup/single.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", "@StartPlatzAlphaBundle/Startup/single.homepage.html.twig"));
// line 2
$context["currentPath"] = CoreExtension::getAttribute($this->env, $this->source, 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.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "get", ["_route"], "method", false, false, false, 2);
// line 4
$context["entity"] = ["seoDescription" => Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 4, $this->source); })()), "oneSentencePitch", [], "any", false, false, false, 4))];
// line 1
$this->parent = $this->load("@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig", 1);
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 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metaData(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", "metaData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
yield from $this->load("@StartPlatzStyleBundle/_metaData.html.twig", 5)->unwrap()->yield(CoreExtension::merge($context, ["seoDescription" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "seoDescription", [], "any", false, false, false, 5)]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_additionalHead(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", "additionalHead"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
// line 8
yield " ";
yield from $this->load("@StartPlatzStyle/CSS/_sp-connect.version-2021-winter.html.twig", 8)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 11
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_navigation(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", "navigation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
// line 12
yield " ";
yield from $this->load("@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig", 12)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 15
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Startup ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 15, $this->source); })()), "name", [], "any", false, false, false, 15), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 17
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(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", "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 18
yield " ";
$context["targetUrl"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_team_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["team"]) || array_key_exists("team", $context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.', 18, $this->source); })()), "id", [], "any", false, false, false, 18), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 18, $this->source); })()), "slug", [], "any", false, false, false, 18)]);
// line 19
yield " ";
if ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 19), "email", [], "any", true, true, false, 19)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 20
yield " ";
$context["targetPath"] = (isset($context["targetUrl"]) || array_key_exists("targetUrl", $context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.', 20, $this->source); })());
// line 21
yield " ";
$context["targetUrl"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("x_membership_required_modal", ["lang" => (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 21, $this->source); })()), "targetPath" => (isset($context["targetPath"]) || array_key_exists("targetPath", $context) ? $context["targetPath"] : (function () { throw new RuntimeError('Variable "targetPath" does not exist.', 21, $this->source); })())]);
// line 22
yield " ";
}
// line 23
yield "
";
// line 25
yield " ";
if ((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 25, $this->source); })()), "imageLink", [], "any", false, false, false, 25))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 26
yield " <section class=\"headerImgPlaceholder\">
<img class=\"banner-flex-width\" src=\"";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 27, $this->source); })()), "imageLink", [], "any", false, false, false, 27), "html", null, true);
yield "\" style=\"width:100%;\"
alt=\" \">
</section>
";
}
// line 31
yield " ";
if ((null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 31, $this->source); })()), "imageLink", [], "any", false, false, false, 31))) {
// line 32
yield " <section class=\"headerImgPlaceholder placeholder-addition\">
<img class=\"placeholder-banner-flex-width connect\"
src=\"https://res.cloudinary.com/startplatz/image/upload/v1683121186/banners/header_wide_gray.png\"
alt=\" \">
</section>
<div class=\"container-fluid placeholder-banner-text\">
<div class=\"row justify-content-center\">
<h2 class=\"text-black text p-0 m-0\" style=\"font-size: 45px; font-weight: bold\">
";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 40, $this->source); })()), "name", [], "any", false, false, false, 40), "html", null, true);
yield "
</h2>
</div>
</div>
";
}
// line 45
yield " <section class=\"container-fluid m-0 p-0 mt-4\">
<div class=\"ml-0 mt-3 mb-5 mb-md-1 pb-2 pb-md-0\">
<div class=\"d-flex row mx-0 mx-md-2 justify-content-md-end justify-content-center\">
<div>
<div>
<a class=\"btn btn-startplatz col-11 mb-2 mt-1\" style=\"width:280px\"
href=\"";
// line 51
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["targetUrl"]) || array_key_exists("targetUrl", $context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.', 51, $this->source); })()), "html", null, true);
yield "\" ";
if ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 51), "email", [], "any", true, true, false, 51)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" ";
}
yield ">
view startup in sp-connect
</a>
</div>
<div>
<a class=\"btn btn-startplatz col-11 mb-2\" style=\"width:280px\"
";
// line 57
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 57), "email", [], "any", true, true, false, 57)) {
yield " href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_team_contact", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["team"]) || array_key_exists("team", $context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.', 57, $this->source); })()), "id", [], "any", false, false, false, 57), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 57, $this->source); })())]), "html", null, true);
yield "\"";
} else {
yield " href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["targetUrl"]) || array_key_exists("targetUrl", $context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.', 57, $this->source); })()), "html", null, true);
yield "\" data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" ";
}
yield ">
Get in contact
</a>
</div>
";
// line 62
yield " ";
if (((isset($context["allowEdit"]) || array_key_exists("allowEdit", $context) ? $context["allowEdit"] : (function () { throw new RuntimeError('Variable "allowEdit" does not exist.', 62, $this->source); })()) == true)) {
// line 63
yield " <div class=\"dropdown\">
<button class=\"btn btn-startplatz dropdown-toggle col-11 mb-2\"
type=\"button\"
id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
aria-expanded=\"false\">
Edit options (Owner or Admin)
</button>
<div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
<a class=\"dropdown-item\"
href=\"";
// line 72
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("x_post_edit", ["id" => "new", "tag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 72, $this->source); })()), "slug", [], "any", false, false, false, 72), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 72, $this->source); })())]), "html", null, true);
yield "\">
Create Post
</a>
";
// line 76
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 76, $this->source); })()), "slug", [], "any", false, false, false, 76)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 77
yield " <a class=\"dropdown-item\"
href=\"";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_startup_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 78, $this->source); })()), "id", [], "any", false, false, false, 78), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 78, $this->source); })()), "slug", [], "any", false, false, false, 78), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 78, $this->source); })())]), "html", null, true);
yield "\">
Update Startup
</a>
";
}
// line 82
yield " </div>
</div>
";
}
// line 85
yield " ";
// line 86
yield " ";
if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 87
yield " <div class=\"dropdown\">
<button class=\"btn btn-warning dropdown-toggle col-11 mb-2\"
type=\"button\"
id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
aria-expanded=\"false\">
Edit options (SP admin)
</button>
<div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
<a class=\"dropdown-item\"
href=\"";
// line 97
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("x_post_edit", ["id" => "new", "tag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 97, $this->source); })()), "slug", [], "any", false, false, false, 97), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 97, $this->source); })())]), "html", null, true);
yield "\">
Create Post
</a>
";
// line 101
yield "
";
// line 102
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 102, $this->source); })()), "slug", [], "any", false, false, false, 102)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 103
yield "
<a class=\"dropdown-item\"
href=\"";
// line 105
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_startup_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 105, $this->source); })()), "id", [], "any", false, false, false, 105), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 105, $this->source); })()), "slug", [], "any", false, false, false, 105), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 105, $this->source); })())]), "html", null, true);
yield "\">
Update Startup
</a>
";
}
// line 109
yield "
";
// line 111
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("allmeda_team_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["team"]) || array_key_exists("team", $context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.', 111, $this->source); })()), "id", [], "any", false, false, false, 111), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 111, $this->source); })())]), "html", null, true);
yield "\"
class=\"dropdown-item\" role=\"button\">
Update Team in Allmeda
</a>
</div>
</div>
";
}
// line 118
yield " </div>
</div>
</div>
<div class=\"connectCard row d-flex shadow m-0 p-0 px-md-5 pb-2 pr-0 justify-content-around\">
<div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\" style=\"flex:1\">
";
// line 123
yield from $this->load("@StartPlatzAlphaBundle/Team/_widget.team.about.html.twig", 123)->unwrap()->yield(CoreExtension::merge($context, ["description" => (((($tmp = CoreExtension::getAttribute($this->env, $this->source, // line 124
(isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 124, $this->source); })()), "oneSentencePitch", [], "any", false, false, false, 124)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 124, $this->source); })()), "oneSentencePitch", [], "any", false, false, false, 124)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["team"]) || array_key_exists("team", $context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.', 124, $this->source); })()), "description", [], "any", false, false, false, 124)))]));
// line 126
yield " </div>
</div>
<div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\">
<div class=\"container-fluid mt-4 mb-0 mx-0 px-0\">
<h2><span class=\"spGreen\">MEET </span>our team</h2>
<div>
<a class=\"btn btn-startplatz aligncenter col-11 mb-2 mt-1 ml-2\" style=\"width:280px\"
href=\"";
// line 133
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["targetUrl"]) || array_key_exists("targetUrl", $context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.', 133, $this->source); })()), "html", null, true);
yield "\" ";
if ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 133), "email", [], "any", true, true, false, 133)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
yield " data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" ";
}
yield ">
view in sp-connect
</a>
</div>
</div>
</div>
";
// line 149
yield "
";
// line 150
if (((isset($context["feedItems"]) || array_key_exists("feedItems", $context) ? $context["feedItems"] : (function () { throw new RuntimeError('Variable "feedItems" does not exist.', 150, $this->source); })()) || CoreExtension::getAttribute($this->env, $this->source, (isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 150, $this->source); })()), "twitter", [], "any", false, false, false, 150))) {
// line 151
yield " <div class=\"row m-2 px-md-5 m-md-auto mx-xs-1 justify-content-between team-section\">
";
// line 152
yield from $this->load("@StartPlatzAlphaBundle/Team/_widget.team.feed.html.twig", 152)->unwrap()->yield(CoreExtension::merge($context, ["twitter" => CoreExtension::getAttribute($this->env, $this->source, // line 153
(isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 153, $this->source); })()), "twitter", [], "any", false, false, false, 153), "name" => CoreExtension::getAttribute($this->env, $this->source, // line 154
(isset($context["startup"]) || array_key_exists("startup", $context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.', 154, $this->source); })()), "name", [], "any", false, false, false, 154)]));
// line 156
yield " </div>
";
}
// line 158
yield "
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 162
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 163
yield " ";
yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig", 163)->unwrap()->yield($context);
// line 164
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 166
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_infiniteLoop(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", "infiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "infiniteLoop"));
// line 167
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 169
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@StartPlatzAlphaBundle/Startup/single.homepage.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 476 => 169, 465 => 167, 452 => 166, 441 => 164, 438 => 163, 425 => 162, 412 => 158, 408 => 156, 406 => 154, 405 => 153, 404 => 152, 401 => 151, 399 => 150, 396 => 149, 383 => 133, 374 => 126, 372 => 124, 371 => 123, 364 => 118, 353 => 111, 350 => 109, 343 => 105, 339 => 103, 337 => 102, 334 => 101, 328 => 97, 316 => 87, 313 => 86, 311 => 85, 306 => 82, 299 => 78, 296 => 77, 293 => 76, 287 => 72, 276 => 63, 273 => 62, 258 => 57, 245 => 51, 237 => 45, 229 => 40, 219 => 32, 216 => 31, 209 => 27, 206 => 26, 203 => 25, 200 => 23, 197 => 22, 194 => 21, 191 => 20, 188 => 19, 185 => 18, 172 => 17, 148 => 15, 136 => 12, 123 => 11, 111 => 8, 98 => 7, 75 => 5, 64 => 1, 62 => 4, 60 => 2, 47 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig\" %}
{% set currentPath = app.request.get('_route') %}
{% set entity = {'seoDescription':startup.oneSentencePitch|striptags} %}
{% block metaData %}{% include \"@StartPlatzStyleBundle/_metaData.html.twig\" with {'seoDescription':entity.seoDescription} %}{% endblock %}
{% block additionalHead %}
{% include \"@StartPlatzStyle/CSS/_sp-connect.version-2021-winter.html.twig\" %}
{% endblock %}
{% block navigation %}
{% include \"@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig\" %}
{% endblock %}
{% block title %}Startup {{ startup.name }}{% endblock %}
{% block content %}
{% set targetUrl = path('connect_team_show', {'id': team.id, 'slug': startup.slug}) %}
{% if app.user.email is not defined %}
{% set targetPath = targetUrl %}
{% set targetUrl = path('x_membership_required_modal', {'lang':lang, 'targetPath': targetPath}) %}
{% endif %}
{# header #}
{% if startup.imageLink is not null %}
<section class=\"headerImgPlaceholder\">
<img class=\"banner-flex-width\" src=\"{{ startup.imageLink }}\" style=\"width:100%;\"
alt=\" \">
</section>
{% endif %}
{% if startup.imageLink is null %}
<section class=\"headerImgPlaceholder placeholder-addition\">
<img class=\"placeholder-banner-flex-width connect\"
src=\"https://res.cloudinary.com/startplatz/image/upload/v1683121186/banners/header_wide_gray.png\"
alt=\" \">
</section>
<div class=\"container-fluid placeholder-banner-text\">
<div class=\"row justify-content-center\">
<h2 class=\"text-black text p-0 m-0\" style=\"font-size: 45px; font-weight: bold\">
{{ startup.name }}
</h2>
</div>
</div>
{% endif %}
<section class=\"container-fluid m-0 p-0 mt-4\">
<div class=\"ml-0 mt-3 mb-5 mb-md-1 pb-2 pb-md-0\">
<div class=\"d-flex row mx-0 mx-md-2 justify-content-md-end justify-content-center\">
<div>
<div>
<a class=\"btn btn-startplatz col-11 mb-2 mt-1\" style=\"width:280px\"
href=\"{{ targetUrl }}\" {% if not app.user.email is defined %} data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" {% endif %}>
view startup in sp-connect
</a>
</div>
<div>
<a class=\"btn btn-startplatz col-11 mb-2\" style=\"width:280px\"
{% if app.user.email is defined %} href=\"{{ path('connect_team_contact', {id: team.id, redirect: redirectUrl}) }}\"{% else %} href=\"{{ targetUrl }}\" data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" {% endif %}>
Get in contact
</a>
</div>
{# administration by startup - only for owner and admins of that startup ------------------------------------ #}
{% if allowEdit == true %}
<div class=\"dropdown\">
<button class=\"btn btn-startplatz dropdown-toggle col-11 mb-2\"
type=\"button\"
id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
aria-expanded=\"false\">
Edit options (Owner or Admin)
</button>
<div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
<a class=\"dropdown-item\"
href=\"{{ path('x_post_edit', {'id':'new','tag':startup.slug, 'redirect': redirectUrl}) }}\">
Create Post
</a>
{# Update Startup / team #}
{% if startup.slug %}
<a class=\"dropdown-item\"
href=\"{{ path('connect_startup_show', {id: startup.id, 'slug':startup.slug, redirect: redirectUrl}) }}\">
Update Startup
</a>
{% endif %}
</div>
</div>
{% endif %}
{# administration by STARTPLATZ admins -------------------------------- #}
{% if is_granted(\"ROLE_ADMIN\") %}
<div class=\"dropdown\">
<button class=\"btn btn-warning dropdown-toggle col-11 mb-2\"
type=\"button\"
id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
aria-expanded=\"false\">
Edit options (SP admin)
</button>
<div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
<a class=\"dropdown-item\"
href=\"{{ path('x_post_edit', {'id':'new','tag':startup.slug, 'redirect': redirectUrl}) }}\">
Create Post
</a>
{# Update Startup / team #}
{% if startup.slug %}
<a class=\"dropdown-item\"
href=\"{{ path('connect_startup_show', {id: startup.id, 'slug':startup.slug, redirect: redirectUrl}) }}\">
Update Startup
</a>
{% endif %}
{# Update team in allmeda #}
<a href=\"{{ path('allmeda_team_show', {'id':team.id, redirect: redirectUrl}) }}\"
class=\"dropdown-item\" role=\"button\">
Update Team in Allmeda
</a>
</div>
</div>
{% endif %}
</div>
</div>
</div>
<div class=\"connectCard row d-flex shadow m-0 p-0 px-md-5 pb-2 pr-0 justify-content-around\">
<div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\" style=\"flex:1\">
{% include \"@StartPlatzAlphaBundle/Team/_widget.team.about.html.twig\" with {
'description' : startup.oneSentencePitch ? startup.oneSentencePitch : team.description,
} %}
</div>
</div>
<div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\">
<div class=\"container-fluid mt-4 mb-0 mx-0 px-0\">
<h2><span class=\"spGreen\">MEET </span>our team</h2>
<div>
<a class=\"btn btn-startplatz aligncenter col-11 mb-2 mt-1 ml-2\" style=\"width:280px\"
href=\"{{ targetUrl }}\" {% if not app.user.email is defined %} data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" {% endif %}>
view in sp-connect
</a>
</div>
</div>
</div>
{# don't display team members on homepage
{% if team.members|length > 0 %}
<div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\">
{% include \"@StartPlatzAlphaBundle/Team/_widget.team.ourteam.html.twig\" with {
'maxMembers' : 14,
'memberWidget' : '@StartPlatzAlphaBundle/Member/homepage.startup.member.widget.html.twig'
} %}
</div>
{% endif %}
#}
{% if feedItems or startup.twitter %}
<div class=\"row m-2 px-md-5 m-md-auto mx-xs-1 justify-content-between team-section\">
{% include \"@StartPlatzAlphaBundle/Team/_widget.team.feed.html.twig\" with {
'twitter' : startup.twitter,
'name' : startup.name,
} %}
</div>
{% endif %}
</section>
{% endblock %}
{% block footer %}
{% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
{% endblock %}
{% block infiniteLoop %}
{% endblock %}
{% block javascripts %}{% endblock %}
", "@StartPlatzAlphaBundle/Startup/single.homepage.html.twig", "/var/www/html/src/StartPlatz/Bundle/AlphaBundle/Resources/views/Startup/single.homepage.html.twig");
}
}