<div class="card card-startup"> {# container #}
{% set team = false %}
{% if attribute(teams,startup.teamId) is defined %}
{% set team = attribute(teams,startup.teamId) %}
{% endif %}
{# Anzeige einer Information danach mit
{{team ? team.name }}
oder
{% if team %}
{% if 'badgeRheinlandPitch' in team.tags %}show badge{% endif %}
{% endif %}
#}
{% if startup.startplatz == 'extern' %}
{% if visibility == 'public' %}
{% set targetUrl = path('homepage_startup_single', {'slug': startup.id ~ '-' ~ startup.slug}) %}
{% else %}
{% set targetUrl = path('x_community_startup_single', {'id':startup.id, 'slug': startup.slug}) %}
{% endif %}
{% else %}
{% set targetUrl = path('homepage_startup_single', {'slug': startup.id ~ '-' ~ startup.slug}) %}
{% endif %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<div class="row m-0 p-0" style="width: 100%; height: 100%;">
<div class="m-0 p-0" style="
width: 50%;
height: 20rem;
flex-direction: column;
overflow: hidden;">
<a href="{{ targetUrl }}"> <div class="card-startup-logo p-3">
{% if startup.logoUrl %}
<img src="{{ startup.logoUrl }}" alt="Logo {{ startup.name }}">
{% else %}
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-image-fill card-img-top d-block p-1 SvGtextColor" viewBox="0 0 16 16">
<path d="M.002 3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2V3zm1 9v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5l-3.777-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12zm5-6.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0z"/>
</svg>
{% endif %}
</div>
</a>
</div>
<div class="m-0 p-2" style="
width: 50%;
height: 20rem;
flex-direction: column;
overflow: hidden;">
<div class="card-name">
<div class="oneLineEllipsis" title="{{ startup.name }}">
{{ startup.name }}
</div>
</div>
<div class="card-content">
{% if team and ('badge-startplatz' in team.tags or 'badge-accelerator' in team.tags or 'badge-rheinland-pitch' in team.tags or 'badge-gruenderstipendium' in team.tags ) %}
<div class="pt-1 inline">
{# <span class="material-symbols-outlined" style="color: #7ab800; font-size: 30px">
workspace_premium
</span>#}
{% if 'badge-startplatz' in team.tags %}
<img class="startplatzBadgeSizeHomepage startplatzBadgePositionHomepage m-0 p-0" style="vertical-align: middle; object-fit:contain;"
src="https://res.cloudinary.com/startplatz/image/upload/v1635935633/logos/STARTPLATZ_Logos/STARTPLATZ_Logo_La%CC%88ufer_Rund_1.png">
{% endif %}
{% if 'badge-rheinland-pitch' in team.tags %}
<img class="startplatzBadgeSizeHomepage startplatzBadgePositionHomepage m-0 p-0" style="vertical-align: middle; object-fit:contain;"
src="https://res.cloudinary.com/startplatz/image/upload/v1678349347/rheinland-pitch/Logos/rheinlandpitch-logo-rund.png">
{% endif %}
{% if 'badge-gruenderstipendium' in team.tags %}
<img class="startplatzBadgeSizeHomepage startplatzBadgePositionHomepage m-0 p-0" style="vertical-align: middle; object-fit:contain;"
src="https://res.cloudinary.com/startplatz/image/upload/v1678959540/logos/gru%CC%88nderstipendium-logo-rund.png">
{% endif %}
{% if 'badge-accelerator' in team.tags %}
<img class="startplatzBadgeSizeHomepage startplatzBadgePositionHomepage m-0 p-0" style="vertical-align: middle; object-fit:contain;"
src="https://res.cloudinary.com/startplatz/image/upload/v1678959541/logos/accelerator-logo-rund.png">
{% endif %}
</div>
<div class="general-line-clamp general-line-clamp-4">
<p class="">{{ startup.oneSentencePitch|raw }}</p>
</div>
{% else %}
<div class="general-line-clamp general-line-clamp-5">
<p>{{ startup.oneSentencePitch|raw }}</p>
</div>
{% endif %}
<div class="card-place">
{% if startup.city %}
<img src="https://res.cloudinary.com/startplatz/image/upload/v1662592361/Icons/Vector_2.png" alt="">
{{ startup.city }}
{% endif %}
</div>
<div class="card-link">
<img src="https://res.cloudinary.com/startplatz/image/upload/v1662592847/Icons/Vector_1.png" alt="">
<a href="{{ targetUrl }}">{% if lang== 'DE' %} kennenlernen {% else %} Get to know them {% endif %}</a>
</div>
</div>
</div>
</div>
</div>