Logo Grid
This is the Logo Grid component, which combines a collection of logos.
- Markup Details
-
{{ attach_library('goizueta_theme/logo-grid') }} {% set attributes = attributes ? attributes.addClass('logo-grid') : ' class="logo-grid"' %} <section{{ attributes|raw }}> {% if heading %} {% include '@components/heading/heading.twig' with { "heading": heading } only %} {% endif %} <div class="logo-grid--wrapper"> <ul class="logo-grid__list"> {% for item in items %} <li class="logo-grid__item"> {% if item.url is not empty %} <a href="{{ item.url }}"> {% endif %} {{ item.logo_img }} <span class="visually-hidden">{{ item.company }}</span> {% if item.url is not empty %} </a> {% endif %} </li> {% endfor %} </ul> </div> </section>