{namespace vh=Newland\NeosViewHelpers\ViewHelpers}
{namespace neos=Neos\Neos\ViewHelpers}

<f:if condition="{links}">
    <div class="mb-16">
        <ul class="tb-icon-tiles">
            <f:for each="{links}" as="link">
                <li class="tb-icon-tiles__item">
                    <a href="{link.url}" class="tb-icon-tiles__item-link" itemprop="url">
                        <svg class="c-icon tb-icon-tiles__item-icon" aria-hidden="true">
                            <use xlink:href="#tb-poi-icon-{link.iconClass}"/>
                        </svg>
                        <p class="tb-icon-tiles__item-label">
                            <vh:translate
                                id="link.{link.labelId}"
                                package="Newland.Toubiz.Poi.Neos"
                                source="Views/Cities"/>

                        </p>
                    </a>
                </li>
            </f:for>
        </ul>
    </div>
</f:if>
