Merge pull request 'List all slide types on the start page' (#14) from fix/home-slide-types into main
Reviewed-on: #14
This commit was merged in pull request #14.
This commit is contained in:
commit
187af50bcf
4 files changed
+41
-7
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user