1<?php 2 3declare(strict_types=1); 4 5/** 6 * @var array<string,array<string,string>> $links 7 */ 8 9?> 10<div class="d-flex flex-wrap justify-content-around"> 11 <?php foreach ($links as $link) : ?> 12 <div class="text-center m-1"> 13 <a href="<?= e($link['url']) ?>"> 14 <i class="<?= $link['icon'] ?>"></i> 15 <br> 16 <?= $link['title'] ?> 17 </a> 18 </div> 19 <?php endforeach ?> 20</div> 21