feat: modal + concert notes
This commit is contained in:
parent
8479ab9219
commit
07cea7fafe
8 changed files with 102 additions and 3 deletions
18
src/includes/partials/blocks/modal.liquid
Normal file
18
src/includes/partials/blocks/modal.liquid
Normal 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>
|
Reference in a new issue