Logotype

Displays a grid of logotypes.

Logotypegrid

<!-- logotypegrid.blade.php -->
 
    <div class="c-logotypegrid" data-uid="662d7b24b5b04">
                        <a class="c-link c-logotypegrid__link" id="" href="https://helsingborg.se" target="_top" data-uid="662d7b24b5bf9">
        <!-- logotype.blade.php -->
<figure class="c-logotype c-logotypegrid__logo ripple ripple--before" data-uid="662d7b24b5b88">
            <img src="/assets/img/logotype.svg" alt="Alt text" class="c-logotype__image" />
            </figure>
    </a>
                        <a class="c-link c-logotypegrid__link" id="" href="https://helsingborg.se" target="_top" data-uid="662d7b24b5ca2">
        <!-- logotype.blade.php -->
<figure class="c-logotype c-logotypegrid__logo ripple ripple--before" data-uid="662d7b24b5c52">
            <img src="/assets/img/logotype.svg" alt="Alt text" class="c-logotype__image" />
            </figure>
    </a>
                        <a class="c-link c-logotypegrid__link" id="" href="https://helsingborg.se" target="_top" data-uid="662d7b24b5d13">
        <!-- logotype.blade.php -->
<figure class="c-logotype c-logotypegrid__logo ripple ripple--before" data-uid="662d7b24b5ce5">
            <img src="/assets/img/logotype.svg" alt="Alt text" class="c-logotype__image" />
            </figure>
    </a>
                        <span class="c-link c-logotypegrid__link" id="" target="_top" data-uid="662d7b24b5d77">
        <!-- logotype.blade.php -->
<figure class="c-logotype c-logotypegrid__logo ripple ripple--before" data-uid="662d7b24b5d47">
            <img src="/assets/img/logotype.svg" alt="Alt text" class="c-logotype__image" />
            </figure>
        </span>
                </div>
@logotypegrid(['items'=> [
    [
        'logo' => '/assets/img/logotype.svg',
        'alt' => 'Alt text',
        'url' => 'https://helsingborg.se'
    ],
    [
        'logo' => '/assets/img/logotype.svg',
        'alt' => 'Alt text',
        'url' => 'https://helsingborg.se'
    ],
    [
        'logo' => '/assets/img/logotype.svg',
        'alt' => 'Alt text',
        'url' => 'https://helsingborg.se'
    ],
    [
        'logo' => '/assets/img/logotype.svg',
        'alt' => 'Alt text'
    ]
]])
@endlogotypegrid

Blade component parameters

Key Default value Type Available values Description
items [] array - A list of items, containing: src, alt, url(optional)
id string - The DOM id of the component.
classList [] array - Array containing wrapping classes array
attributeList [] array - Array containing keys and values rendered as attributes
containerAware false boolean true/false Makes the component container aware. Appends modifiers --size--xs/sm/md/lg to the component.
Settings location: /var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/Logotypegrid/logotypegrid.json