feat: reorganize templates + layouts
This commit is contained in:
parent
c5793b9ad4
commit
3c80eb4b5f
61 changed files with 81 additions and 80 deletions
13
src/includes/nav/theme-toggle.liquid
Normal file
13
src/includes/nav/theme-toggle.liquid
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script type="module" src="/assets/scripts/components/theme-toggle.js?v={% appVersion %}" crossorigin="anonymous"></script>
|
||||
<span class="client-side">
|
||||
<theme-toggle>
|
||||
<button aria-label="Light and dark theme toggle" class="theme-toggle">
|
||||
<span class="light">
|
||||
{% tablericon "sun" %}
|
||||
</span>
|
||||
<span class="dark">
|
||||
{% tablericon "moon" %}
|
||||
</span>
|
||||
</button>
|
||||
</theme-toggle>
|
||||
</span>
|
Reference in a new issue