mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
pricing cards
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{% assign available-features = include.features | default: '1000' | split: '' %}
|
||||
<div class="card">
|
||||
{% if include.featured-color %}
|
||||
<div class="card-status bg-{{ include.featured-color }}"></div>
|
||||
{% include ui/ribbon.html color=include.featured-color bookmark=true top=true %}
|
||||
{% endif %}
|
||||
|
||||
<div class="card-body text-center">
|
||||
|
||||
@@ -9,5 +9,5 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}">{% if include.text %}{{ include.text }}{% else %}{% include ui/icon.html icon="star" class="icon-filled" use-svg=true %}{% endif %}</div>
|
||||
{% include ui/ribbon.html color=include.color top=include.top left=include.left bottom=include.bottom bookmark=include.bookmark %}
|
||||
</div>
|
||||
|
||||
1
pages/_includes/ui/ribbon.html
Normal file
1
pages/_includes/ui/ribbon.html
Normal file
@@ -0,0 +1 @@
|
||||
<div class="ribbon{% if include.top %} ribbon-top{% endif %}{% if include.left %} ribbon-left{% endif %}{% if include.bottom %} ribbon-bottom{% endif %}{% if include.bookmark %} ribbon-bookmark{% endif %}{% if include.color %} bg-{{ include.color }}{% endif %}">{% if include.text %}{{ include.text }}{% else %}{% include ui/icon.html icon="star" class="icon-filled" use-svg=true %}{% endif %}</div>
|
||||
Reference in New Issue
Block a user