project 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 header_logo_is_homepage %}
<h1 class="lrv-u-flex">
{% endif %}
<a class="c-logo lrv-a-unstyle-link u-display-inline-flex lrv-u-width-100p {{ c_logo_classes }}" href="{{ c_logo_url }}" title="Sportico">
{% include '../../build/svg/' ~ c_logo_svg ~ '.svg' %}
<span class="lrv-a-screen-reader-only">{{ c_logo_screen_reader_text }}</span>
</a>
{% if header_logo_is_homepage %}
</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": "sportico",
"c_logo_screen_reader_text": "Sportico"
}