larva components: c-logo
Available Variants
prototypec-logo
README
This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.
c-logo
Twig The markup file.
{% if c_logo_is_h1 %}
<h1 class="lrv-u-flex">
{% endif %}
<a class="c-logo {{ modifier_class }} {{ c_logo_classes }}" href="{{ c_logo_url }}">
{% include '../../build/svg/' ~ c_logo_svg ~ '.svg' %}
<span class="lrv-a-screen-reader-only">{{ c_logo_screen_reader_text }}</span>
</a>
{% if c_logo_is_h1 %}
</h1>
{% endif %}
c-logo
JSON The data object for this pattern.
{
"c_logo_is_h1": false,
"c_logo_classes": "",
"c_logo_url": "/",
"c_logo_svg": "brand-logo",
"c_logo_screen_reader_text": "Logo text"
}