mirror of
https://github.com/jgthms/bulma
synced 2026-03-19 03:44:31 -07:00
Add link element
This commit is contained in:
17
docs/_includes/elements/link.html
Normal file
17
docs/_includes/elements/link.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<a class="bd-link" href="{{ include.url }}">
|
||||
<h2 class="bd-link-name">
|
||||
<figure class="bd-link-figure">
|
||||
{% if include.icon %}
|
||||
<span class="bd-link-icon has-text-{{ include.color }}">
|
||||
<i class="{% if include.icon_brand %}fab{% elsif include.icon_regular %}far{% else %}fas{% endif %} fa-{{ include.icon }}"></i>
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="bd-link-counter"></span>
|
||||
{% endif %}
|
||||
</figure>
|
||||
{{ include.name }}
|
||||
</h2>
|
||||
<p class="bd-link-subtitle">
|
||||
{{ include.subtitle }}
|
||||
</p>
|
||||
</a>
|
||||
Reference in New Issue
Block a user