src/StartPlatz/Bundle/AcceleratorBundle/Resources/views/AcceleratorStartup/index.html.twig line 1

Open in your IDE?
  1. {% extends '@StartPlatzStyleBundle/Bootstrap4/base.homepage.oneColumn.html.twig' %}
  2. {% block title %}{{ pageTitle }}{% endblock %}
  3. {% block additionalHead %}
  4.     <link rel="stylesheet" href="{{ asset('bundles/startplatzstyle/css/startplatz.accelerator.css') }}">
  5.     {% if layout is defined and layout != 'v1' %}
  6.         {# For subversions (v7a, v7b), also load the base version (v7) first #}
  7.         {% set baseLayout = layout|replace({'a':'','b':'','c':'','d':'','e':'','f':''}) %}
  8.         {% if baseLayout != layout %}
  9.             <link rel="stylesheet" href="{{ asset('bundles/startplatzstyle/css/startplatz.accelerator.startups-' ~ baseLayout ~ '.css') }}">
  10.         {% endif %}
  11.         <link rel="stylesheet" href="{{ asset('bundles/startplatzstyle/css/startplatz.accelerator.startups-' ~ layout ~ '.css') }}">
  12.     {% endif %}
  13. {% endblock %}
  14. {% block navigation %}
  15.     {{ menu|raw }}
  16. {% endblock %}
  17. {% block content %}
  18. <div class="layout-{{ layout|default('v1') }}">
  19.     {# Hero Section #}
  20.     <section class="startups-hero">
  21.         {# Canvas particles for default layout and v7a #}
  22.         {% if layout is not defined or layout == 'v1' or layout == 'v7a' %}
  23.             <canvas id="particle-canvas"></canvas>
  24.         {% endif %}
  25.         {# Layout-specific hero elements #}
  26.         {% if layout is defined and layout == 'v7' %}
  27.             <div class="particle-layer"></div>
  28.         {% endif %}
  29.         {% if layout is defined and layout == 'v3' %}
  30.             <div id="tsparticles"></div>
  31.         {% endif %}
  32.         <div class="container text-center">
  33.             <h1 class="display-3 font-weight-bold text-white mb-3">{{ pageTitle }}</h1>
  34.             <p class="lead text-white">
  35.                 {{ isEnglish ? 'Meet the startups from our AI Accelerator program' : 'Lernen Sie die Startups aus unserem KI-Accelerator-Programm kennen' }}
  36.             </p>
  37.         </div>
  38.     </section>
  39.     {# Startup Cards Section #}
  40.     <section class="startups-section">
  41.         <div class="container">
  42.             <div class="row" id="startups-grid">
  43.                 {% if startups is empty %}
  44.                     <div class="col-lg-8 mx-auto">
  45.                         <div class="empty-state text-center">
  46.                             <i class="fas fa-rocket fa-4x mb-3 text-success"></i>
  47.                             <h3>
  48.                                 {{ isEnglish ? 'Startups will be presented soon' : 'Startups werden bald vorgestellt' }}
  49.                             </h3>
  50.                             <p>
  51.                                 {{ isEnglish
  52.                                     ? 'We are currently working on presenting our portfolio. More information coming soon.'
  53.                                     : 'Wir arbeiten aktuell an der Präsentation unseres Portfolios. Weitere Informationen folgen in Kürze.' }}
  54.                             </p>
  55.                         </div>
  56.                     </div>
  57.                 {% else %}
  58.                     {% for startup in startups %}
  59.                         {% set team = attribute(teams, startup.teamId) %}
  60.                         {% set detailRoute = isEnglish ? 'accelerator_startup_detail_en' : 'accelerator_startup_detail' %}
  61.                         <div class="col-lg-4 col-md-6 mb-4">
  62.                             <a href="{{ path(detailRoute, {id: startup.id, slug: startup.slug}) }}" class="startup-card-link">
  63.                                 <div class="startup-card">
  64.                                     <div class="card-gradient-overlay"></div>
  65.                                     <div class="startup-visual">
  66.                                         {% if startup.logoUrl %}
  67.                                             <img src="{{ startup.logoUrl }}"
  68.                                                  alt="{{ startup.name }}"
  69.                                                  class="startup-logo{% if startup.logoBackground %} logo-bg-{{ startup.logoBackground }}{% endif %}">
  70.                                         {% else %}
  71.                                             <div class="d-flex align-items-center justify-content-center bg-light text-success"
  72.                                                  style="width: 80px; height: 80px; border-radius: 50%; font-size: 32px; font-weight: bold;">
  73.                                                 {{ startup.name|slice(0, 1)|upper }}
  74.                                             </div>
  75.                                         {% endif %}
  76.                                     </div>
  77.                                     <div class="startup-content">
  78.                                         <h3 class="startup-name">{{ startup.name }}</h3>
  79.                                         {% if startup.industry %}
  80.                                             <p class="startup-industry">{{ startup.industry }}</p>
  81.                                         {% endif %}
  82.                                         {% set pitch = isEnglish and startup.oneSentencePitchEn ? startup.oneSentencePitchEn : startup.oneSentencePitch %}
  83.                                         {% if pitch %}
  84.                                             <p class="startup-pitch">
  85.                                                 {{ pitch|striptags|slice(0, 120) }}{% if pitch|striptags|length > 120 %}...{% endif %}
  86.                                             </p>
  87.                                         {% endif %}
  88.                                         {% if startup.kiAccelerator %}
  89.                                             <span class="startup-batch">
  90.                                                 {{ isEnglish ? 'Batch' : 'Batch' }} {{ startup.kiAccelerator }}
  91.                                             </span>
  92.                                         {% endif %}
  93.                                     </div>
  94.                                 </div>
  95.                             </a>
  96.                         </div>
  97.                     {% endfor %}
  98.                 {% endif %}
  99.             </div>
  100.         </div>
  101.     </section>
  102. </div>
  103. {% endblock %}
  104. {% block javascripts %}
  105.     {{ parent() }}
  106.     <script src="{{ asset('bundles/startplatzstyle/js/startplatz.accelerator.js') }}"></script>
  107.     {# Canvas particles for default layout and v7a #}
  108.     {% if layout is not defined or layout == 'v1' or layout == 'v7a' %}
  109.         <script src="{{ asset('bundles/startplatzstyle/js/startplatz.accelerator.startups-v7a.js') }}"></script>
  110.     {% endif %}
  111.     {% if layout is defined and layout == 'v3' %}
  112.         <script src="https://cdn.jsdelivr.net/npm/tsparticles@2.12.0/tsparticles.bundle.min.js"></script>
  113.         <script src="{{ asset('bundles/startplatzstyle/js/startplatz.accelerator.startups-v3.js') }}"></script>
  114.     {% endif %}
  115. {% endblock %}