src/StartPlatz/Bundle/AlphaBundle/Resources/views/Startup/index.startups.homepage.html.twig line 1

Open in your IDE?
  1. {% extends "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig" %}
  2. {% set currentPath = app.request.get('_route') %}
  3. {% block metaData %}{% include "@StartPlatzStyleBundle/_metaData.html.twig" with {'seoDescription':parentPage.seoDescription} %}{% endblock %}
  4. {% block additionalHead %}
  5.     {% include "@StartPlatzStyle/CSS/_sp-connect.version-2021-winter.html.twig" %}
  6. {% endblock %}
  7. {% block navigation %}
  8.     {% include "@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig" %}
  9. {% endblock %}
  10. {% block title %}{{ parentPage.seoTitle }}{% endblock %}
  11. {% block content %}
  12.     <!-- homepage.startups -->
  13.     {% set display = "default" %}
  14.     {% for key in criteria|keys %}
  15.         {% if 'rheinlandPitch' in key %}
  16.             {% set display = "orderedByRheinlandPitches" %}
  17.         {% endif %}
  18.     {% endfor %}
  19.     {% if parentPage.imageLink %}
  20.         {% set bgImage =  parentPage.imageLink %}
  21.     {% else %}
  22.         {% 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" %}
  23.     {% endif %}
  24.     {# rocket banner #}
  25.     <section class="">
  26.         <div class="container">
  27.             <div class="row">
  28.                 <div class="col-md-12">
  29.                     {% if lang == "DE" %}
  30.                     <img style="width:98%; top:-50px" src="https://res.cloudinary.com/startplatz/image/upload/v1681305412/banners/Rakete_Banner.png"
  31.                          alt="Rakete Banner">
  32.                     {% elseif lang == "FR" %}
  33.                     <img style="width:98%; top:-50px" src="https://res.cloudinary.com/startplatz/image/upload/v1681305724/banners/STARTUPS.png"
  34.                          alt="Startups Banner">
  35.                     {% else %}
  36.                     <img style="width:98%; top:-50px" src="https://res.cloudinary.com/startplatz/image/upload/v1681305724/banners/STARTUPS.png"
  37.                          alt="Rakete Banner">
  38.                     {% endif %}
  39.                 </div>
  40.             </div>
  41.             <div class="search-box">
  42.                 <div class="form-inline">
  43.                     <img src="https://res.cloudinary.com/startplatz/image/upload/v1666018079/Icons/Vector_3.png" alt=""
  44.                          width="35" height="35" style="vertical-align: center">
  45.                     <div class="ml-3 mb-1 col-9 col-md-11">
  46.                         <div id="multiple-datasets">
  47.                             <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%">
  48.                         </div>
  49.                     </div>
  50.                 </div>
  51.             </div>
  52.             <hr style="color: #343a40; width:250px; float:left">
  53.         </div>
  54.     </section>
  55.     <section id="sectionFeed" class="ftco-section bg-light p-3">
  56.         <div class="container">
  57.             {% for flashMessage in app.session.flashbag.get('notice') %}
  58.                 <div class="alert {% if 'SUCCESS' in flashMessage %}alert-success{% elseif 'ERROR' in flashMessage %}alert-danger{% else %}alert-default{% endif %}"
  59.                      role="alert">{{ flashMessage|raw }}</div>
  60.             {% endfor %}
  61.             <div class="row">
  62.                 <div class="col-12">
  63.                     {% if lang == 'DE' %}
  64.                         {{ parentPage.description|raw }}
  65.                     {% elseif lang == 'FR' %}
  66.                         {{ parentPage.descriptionFR is defined and parentPage.descriptionFR ? parentPage.descriptionFR|raw : parentPage.descriptionEN|raw }}
  67.                     {% else %}
  68.                         {{ parentPage.descriptionEN|raw }}
  69.                     {% endif %}
  70.                 </div>
  71.             </div>
  72.             {% if lang == 'FR' %}
  73.             <div class="row mt-3">
  74.                 <div class="col-12">
  75.                     <div class="alert alert-info" role="alert">
  76.                         <i class="fas fa-info-circle"></i> <strong>Note :</strong> Les profils des startups sont actuellement disponibles en allemand.
  77.                     </div>
  78.                 </div>
  79.             </div>
  80.             {% endif %}
  81.             {% include '@StartPlatzAlphaBundle/Startup/_widget.industries.html.twig'  with {'lang': lang} %}
  82.             <div class="row mt-3 pt-0">
  83.                 <div class="col-12 mt-0 ml-3 mb-3">
  84.                     {% include '@StartPlatzAlphaBundle/Startup/_filters.startups.homepage.html.twig' with {'lang': lang}  %}
  85.                     {% include '@StartPlatzAlphaBundle/Startup/_widget.showSelectedFilter.sp-connect.html.twig' %}
  86.                    {% if lang== 'DE'  %} Anzahl Startups: {% elseif lang == 'FR' %}Nombre de startups : {% else %} Number of startups: {%  endif %} {{ total }}
  87.                 </div>
  88.             </div>
  89.             {#
  90.             <div class="dropdown mt-3">
  91.                 <button class="btn btn-secondary dropdown-toggle" type="button" id="startups-dropdown"
  92.                         data-toggle="dropdown" aria-expanded="false" style="background-color: #fff; color: black; font-weight: bold;">
  93.                     FILTERN NACH
  94.                 </button>
  95.                 <ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="startups-dropdown">
  96.                     <li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'tags:accelerator'} ) }}"> ACCELERATOR</a></li>
  97.                     <li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'accelerator:alumni'} ) }}"> EHEMALIGE</a></li>
  98.                     <li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'location:CGN'} ) }}">KÖLN</a></li>
  99.                     <li><a class="dropdown-item dropdown-item-homepage" href="{{ path(currentPath,{'filter':'location:DUS'} ) }}">DÜSSELDORF</a></li>
  100.                 </ul>
  101.             </div>
  102.             #}
  103.         </div>
  104.     </section>
  105.     {% if display == "orderedByRheinlandPitches" %}
  106.         {% include '@StartPlatzAlphaBundle/Startup/_display.feed.orderedByRheinlandPitches.html.twig' %}
  107.     {% else %}
  108.         {% include '@StartPlatzAlphaBundle/Startup/_display.feed.default.html.twig' %}
  109.     {% endif %}
  110.     <section class="mb-0 mt-0 pb-3 pt-1" style="background-color: #525459">
  111.         <div class="overlay"></div>
  112.         <div class="container fluid">
  113.             <div class="row">
  114.                 {% if lang== 'DE' %}
  115.                     <div class="text-white col-12">
  116.                         Hier sind unsere Startups aufgelistet.
  117.                         <br>
  118.                         Wenn Du jemanden vermisst oder uns ein weiteres Startup vorschlagen möchtest, setze Dich bitte
  119.                         mit dem STARTPLATZ Team in Verbindung.
  120.                         <br>
  121.                         <a href="{{ path('x_connect_member_show',{'id':89654}) }}"
  122.                            class="btn btn-outline-light btn-small"
  123.                         >Das STARTPLATZ Team kontaktieren</a>
  124.                     </div>
  125.                 {% else %}
  126.                 <div class="text-white col-12">
  127.                     Our startups are listed here.
  128.                     <br>
  129.                     If you are missing someone or would like to suggest another startup to us, please get in touch with the STARTPLATZ team.
  130.                     <br>
  131.                     <a href="{{ path('x_connect_member_show',{'id':89654}) }}"
  132.                        class="btn btn-outline-light btn-small"
  133.                     >Contact the STARTPLATZ team</a>
  134.                 </div>
  135.                 {% endif %}
  136.             </div>
  137.         </div>
  138.     </section>
  139. {% endblock %}
  140. {% block footer %}
  141.     {% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
  142. {% endblock %}
  143. {% block infiniteLoop %}
  144.     {% include '@StartPlatzAlphaBundle/_infinite.loop.topic.html.twig' %}
  145. {% endblock %}
  146. {% block javascripts %}
  147.     {% include '@StartPlatzStyleBundle/Bootstrap/_javascript.search.homepage.startup.html.twig' %}
  148. {% endblock %}