chore: consolidate broadly used js + cleanup

This commit is contained in:
Cory Dransfeldt 2024-08-05 14:20:28 -07:00
parent ee0832dd0b
commit 10dd21f6e3
No known key found for this signature in database
10 changed files with 78 additions and 85 deletions

View file

@ -155,5 +155,6 @@
})()
</script>
{{ content }}
<script src="/assets/scripts/index.js?v={% appVersion %}" defer></script>
</body>
</html>

View file

@ -1,7 +1,3 @@
{%- capture js -%}
{% render "../../../assets/scripts/modal.js" %}
{%- endcapture -%}
<script>{{ js }}</script>
{%- capture labelContent -%}
{%- if icon -%}
{% tablericon icon label %}

View file

@ -1,7 +1,3 @@
{%- capture js -%}
{% render "../../../assets/scripts/menu.js" %}
{%- endcapture -%}
<script>{{ js }}</script>
<div class="flex-centered">
<input id="menu-toggle" type="checkbox" aria-hidden="true" />
<label class="menu-button-container" for="menu-toggle" tabindex="0">