added translations

This commit is contained in:
Hendrik Behme committed 2026-10-09 16:37:53 +02:00
1 parent 36ed3880e8
commit 71635eb574
33 files changed
+1025 -241

No files matched your search

+22 -22
View File
@@ -1,6 +1,6 @@
{% extends 'base.html.twig' %}
{% block title %}VINDN — Find what's on{% endblock %}
{% block title %}{{ 'home.title'|trans }}{% endblock %}
{% block head_extra %}
{% include '_leaflet_head.html.twig' %}
@@ -14,8 +14,8 @@
<div class="wrap">
<p class="eyebrow" style="margin-bottom:8px;"></p>
<div class="section-head">
<h1 style="font-size:clamp(28px,4vw,40px);">Was in deiner Nähe los ist</h1>
<a href="{{ path('map') }}" class="btn btn-primary btn-sm">Open full map →</a>
<h1 style="font-size:clamp(28px,4vw,40px);">{{ 'home.hero.title'|trans }}</h1>
<a href="{{ path('map') }}" class="btn btn-primary btn-sm">{{ 'home.hero.map_link'|trans }}</a>
</div>
</div>
</section>
@@ -28,10 +28,10 @@
<div class="wrap">
<div class="section-head">
<div>
<p class="eyebrow" style="margin-bottom:8px;">Browse</p>
<h2>Find events by category</h2>
<p class="eyebrow" style="margin-bottom:8px;">{{ 'home.browse.eyebrow'|trans }}</p>
<h2>{{ 'home.browse.title'|trans }}</h2>
</div>
<a href="{{ path('event_list') }}" class="section-link">Browse all events →</a>
<a href="{{ path('event_list') }}" class="section-link">{{ 'home.browse.all'|trans }}</a>
</div>
<div class="chip-row">
{% for category in popularCategories %}
@@ -46,16 +46,16 @@
<div class="wrap">
<div class="section-head">
<div>
<p class="eyebrow" style="margin-bottom:8px;">Live from the importer</p>
<h2>Worth planning around</h2>
<p class="eyebrow" style="margin-bottom:8px;">{{ 'home.recent.eyebrow'|trans }}</p>
<h2>{{ 'home.recent.title'|trans }}</h2>
</div>
<a href="{{ path('event_list') }}" class="section-link">Browse all events →</a>
<a href="{{ path('event_list') }}" class="section-link">{{ 'home.browse.all'|trans }}</a>
</div>
<div class="card-grid">
{% for event in upcomingEvents %}
{% include 'events/_card.html.twig' with { event: event } %}
{% else %}
<p style="color:var(--muted);">No events imported yet — check back once the backend's import job has run.</p>
<p style="color:var(--muted);">{{ 'home.recent.empty'|trans }}</p>
{% endfor %}
</div>
</div>
@@ -67,29 +67,29 @@
<div class="footer-grid">
<div>
<img src="{{ asset('images/vindn_logo_adobe.svg') }}" alt="VINDN" style="height:24px; margin-bottom:14px;">
<p style="max-width:260px; font-size:14px; color:var(--muted);">The board for everything on, wherever you are.</p>
<p style="max-width:260px; font-size:14px; color:var(--muted);">{{ 'home.footer.tagline'|trans }}</p>
</div>
<div>
<h4>Explore</h4>
<h4>{{ 'home.footer.explore'|trans }}</h4>
<ul>
<li><a href="{{ path('event_list') }}">Browse events</a></li>
<li><a href="{{ path('map') }}">Map</a></li>
<li><a href="{{ path('event_list') }}">{{ 'nav.browse'|trans }}</a></li>
<li><a href="{{ path('map') }}">{{ 'nav.map'|trans }}</a></li>
</ul>
</div>
<div>
<h4>Organizers</h4>
<h4>{{ 'home.footer.organizers'|trans }}</h4>
<ul>
<li><a href="#">List an event</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Guidelines</a></li>
<li><a href="#">{{ 'home.footer.list_event'|trans }}</a></li>
<li><a href="#">{{ 'home.footer.pricing'|trans }}</a></li>
<li><a href="#">{{ 'home.footer.guidelines'|trans }}</a></li>
</ul>
</div>
<div>
<h4>Company</h4>
<h4>{{ 'home.footer.company'|trans }}</h4>
<ul>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Privacy</a></li>
<li><a href="#">{{ 'home.footer.about'|trans }}</a></li>
<li><a href="#">{{ 'home.footer.contact'|trans }}</a></li>
<li><a href="#">{{ 'home.footer.privacy'|trans }}</a></li>
</ul>
</div>
</div>