{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">
                <f:if condition="{link.hasResults}">
                    <li class="tb-icon-tiles__item">
                        <f:if condition="{link.target}">
                            <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>
                        </f:if>
                    </li>
                </f:if>
            </f:for>
        </ul>
    </div>
</f:if>
