larva modules: article-kicker
Available Variants
prototypearticle-kicker
README
This needs docs!
Create a README.md in the pattern's directory and add details about using this pattern in markdown.
article-kicker
Twig The markup file.
<div class="article-kicker larva // {{ article_kicker_classes }}">
{% if article_kicker_url %}
<a href="{{ article_kicker_url }}" class="article-kicker-link {{ article_kicker_link_classes }}">
{% endif %}
{% if c_svg %}
{% include "@larva/components/c-svg/c-svg.twig" with c_svg %}
{% else %}
{{ article_kicker_text }}
{% endif %}
{% if article_kicker_url %}
</a>
{% endif %}
</div>
article-kicker
JSON The data object for this pattern.
{
"article_kicker_classes": "",
"article_kicker_text": "Article Kicker",
"article_kicker_url": "#",
"article_kicker_link_classes": ""
}