Merge pull request 'List all slide types on the start page' (#14) from fix/home-slide-types into main
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Successful in 3s

Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
gnilebein committed 2026-11-07 16:30:26 +01:00
commit 187af50bcf
4 files changed
+41 -7

No files matched your search

+12 -5
View File
@@ -5,6 +5,8 @@
* @var \App\View\AppView $this
* @var \App\Model\Entity\Poll $poll
* @var array<string, mixed> $captcha
* @var array<string, string> $typeLabels
* @var array<string, string> $typeDescriptions
*/
$this->assign('title', __('Live-Umfragen ohne Login'));
?>
@@ -53,9 +55,14 @@ $this->assign('title', __('Live-Umfragen ohne Login'));
</section>
</div>
<section class="features">
<div><strong><?= __('Multiple Choice') ?></strong><span><?= __('Balkendiagramm in Echtzeit') ?></span></div>
<div><strong><?= __('Wortwolke') ?></strong><span><?= __('Begriffe sammeln und gewichten') ?></span></div>
<div><strong><?= __('Offene Fragen') ?></strong><span><?= __('Freitext-Antworten live') ?></span></div>
<div><strong><?= __('Skala') ?></strong><span><?= __('Bewertungen mit Durchschnitt') ?></span></div>
<section class="features-section" aria-labelledby="features-title">
<h2 id="features-title"><?= __('Folientypen') ?></h2>
<ul class="features">
<?php foreach ($typeLabels as $type => $label) : ?>
<li class="features__item type-card--<?= h($type) ?>">
<strong><?= h($label) ?></strong>
<span><?= h($typeDescriptions[$type] ?? '') ?></span>
</li>
<?php endforeach; ?>
</ul>
</section>