feat: modal + concert notes

This commit is contained in:
Cory Dransfeldt 2024-08-03 13:32:53 -07:00
parent 8479ab9219
commit 07cea7fafe
No known key found for this signature in database
8 changed files with 102 additions and 3 deletions

View file

@ -0,0 +1,18 @@
{%- capture labelContent -%}
{% if icon %}
{% tablericon icon label %}
{% elsif label %}
{{ label }}
{% endif %}
{%- endcapture -%}
{% assign modalId = id | default: "modal-controls" %}
<input class="modal-input" id="{{ id }}" type="checkbox" tabindex="0" />
<label class="modal-toggle" for="{{ id }}">{{ labelContent }}</label>
<div class="modal-wrapper">
<div class="modal-body">
<label class="modal-close" for="{{ id }}">
{% tablericon "x" "Close modal" %}
</label>
{{ content }}
</div>
</div>