{% extends "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig" %}
{% set currentPath = app.request.get('_route') %}
{% block metaData %}{% include "@StartPlatzStyleBundle/_metaData.html.twig" with {'seoDescription':parentPage.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 %}{{ parentPage.seoTitle }}{% endblock %}
{% block content %}
<!-- homepage.startups -->
{% set display = "default" %}
{% for key in criteria|keys %}
{% if 'rheinlandPitch' in key %}
{% set display = "orderedByRheinlandPitches" %}
{% endif %}
{% endfor %}
{% if parentPage.imageLink %}
{% set bgImage = parentPage.imageLink %}
{% else %}
{% set bgImage = "https://res.cloudinary.com/startplatz/image/upload/c_fill,g_xy_center,h_1000,w_1700,y_333/v1558781051/events/startup-night-mg/westend_halle.jpg" %}
{% endif %}
{# rocket banner #}
<section class="">
<div class="container">
<div class="row">
<div class="col-md-12">
{% if lang == "DE" %}
<img style="width:98%; top:-50px" src="https://res.cloudinary.com/startplatz/image/upload/v1681305412/banners/Rakete_Banner.png"
alt="Rakete Banner">
{% elseif lang == "FR" %}
<img style="width:98%; top:-50px" src="https://res.cloudinary.com/startplatz/image/upload/v1681305724/banners/STARTUPS.png"
alt="Startups Banner">
{% else %}
<img style="width:98%; top:-50px" src="https://res.cloudinary.com/startplatz/image/upload/v1681305724/banners/STARTUPS.png"
alt="Rakete Banner">
{% endif %}
</div>
</div>
<div class="search-box">
<div class="form-inline">
<img src="https://res.cloudinary.com/startplatz/image/upload/v1666018079/Icons/Vector_3.png" alt=""
width="35" height="35" style="vertical-align: center">
<div class="ml-3 mb-1 col-9 col-md-11">
<div id="multiple-datasets">
<input class="typeahead form-control searchBoxLayout p-0 " type="text" {% if lang == "DE" %}placeholder="Startup suchen ..." {% elseif lang == "FR" %}placeholder="Rechercher une startup ..."{% else %}placeholder="Looking for startups ..."{% endif %} style="width:100%">
</div>
</div>
</div>
</div>
<hr style="color: #343a40; width:250px; float:left">
</div>
</section>
<section id="sectionFeed" class="ftco-section bg-light p-3">
<div class="container">
{% for flashMessage in app.session.flashbag.get('notice') %}
<div class="alert {% if 'SUCCESS' in flashMessage %}alert-success{% elseif 'ERROR' in flashMessage %}alert-danger{% else %}alert-default{% endif %}"
role="alert">{{ flashMessage|raw }}</div>
{% endfor %}
<div class="row">
<div class="col-12">
{% if lang == 'DE' %}
{{ parentPage.description|raw }}
{% elseif lang == 'FR' %}
{{ parentPage.descriptionFR is defined and parentPage.descriptionFR ? parentPage.descriptionFR|raw : parentPage.descriptionEN|raw }}
{% else %}
{{ parentPage.descriptionEN|raw }}
{% endif %}
</div>
</div>
{% if lang == 'FR' %}
<div class="row mt-3">
<div class="col-12">
<div class="alert alert-info" role="alert">
<i class="fas fa-info-circle"></i> <strong>Note :</strong> Les profils des startups sont actuellement disponibles en allemand.
</div>
</div>
</div>
{% endif %}
{% include '@StartPlatzAlphaBundle/Startup/_widget.industries.html.twig' with {'lang': lang} %}
<div class="row mt-3 pt-0">
<div class="col-12 mt-0 ml-3 mb-3">
{% include '@StartPlatzAlphaBundle/Startup/_filters.startups.homepage.html.twig' with {'lang': lang} %}
{% include '@StartPlatzAlphaBundle/Startup/_widget.showSelectedFilter.sp-connect.html.twig' %}
{% if lang== 'DE' %} Anzahl Startups: {% elseif lang == 'FR' %}Nombre de startups : {% else %} Number of startups: {% endif %} {{ total }}
</div>
</div>
{#
<div class="dropdown mt-3">
<button class="btn btn-secondary dropdown-toggle" type="button" id="startups-dropdown"
data-toggle="dropdown" aria-expanded="false" style="background-color: #fff; color: black; font-weight: bold;">
FILTERN NACH
</button>
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="startups-dropdown">
<li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'tags:accelerator'} ) }}"> ACCELERATOR</a></li>
<li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'accelerator:alumni'} ) }}"> EHEMALIGE</a></li>
<li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'location:CGN'} ) }}">KÖLN</a></li>
<li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'location:DUS'} ) }}">DÜSSELDORF</a></li>
</ul>
</div>
#}
</div>
</section>
{% if display == "orderedByRheinlandPitches" %}
{% include '@StartPlatzAlphaBundle/Startup/_display.feed.orderedByRheinlandPitches.html.twig' %}
{% else %}
{% include '@StartPlatzAlphaBundle/Startup/_display.feed.default.html.twig' %}
{% endif %}
<section class="mb-0 mt-0 pb-3 pt-1" style="background-color: #525459">
<div class="overlay"></div>
<div class="container fluid">
<div class="row">
{% if lang== 'DE' %}
<div class="text-white col-12">
Hier sind unsere Startups aufgelistet.
<br>
Wenn Du jemanden vermisst oder uns ein weiteres Startup vorschlagen möchtest, setze Dich bitte
mit dem STARTPLATZ Team in Verbindung.
<br>
<a href="{{ path('x_connect_member_show',{'id':89654}) }}"
class="btn btn-outline-light btn-small"
>Das STARTPLATZ Team kontaktieren</a>
</div>
{% else %}
<div class="text-white col-12">
Our startups are listed here.
<br>
If you are missing someone or would like to suggest another startup to us, please get in touch with the STARTPLATZ team.
<br>
<a href="{{ path('x_connect_member_show',{'id':89654}) }}"
class="btn btn-outline-light btn-small"
>Contact the STARTPLATZ team</a>
</div>
{% endif %}
</div>
</div>
</section>
{% endblock %}
{% block footer %}
{% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
{% endblock %}
{% block infiniteLoop %}
{% include '@StartPlatzAlphaBundle/_infinite.loop.topic.html.twig' %}
{% endblock %}
{% block javascripts %}
{% include '@StartPlatzStyleBundle/Bootstrap/_javascript.search.homepage.startup.html.twig' %}
{% endblock %}