chore: tidy up markup

This commit is contained in:
Cory Dransfeldt 2024-06-20 09:46:58 -07:00
parent ebd98b1f34
commit c44ab7a8fd
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
<div class="menu-closed" aria-hidden="true">{% tablericon "menu" "Menu closed" %}</div>
<div class="menu-open" aria-hidden="true">{% tablericon "x" "Menu open" %}</div>
</label>
<ul class="menu-primary" aria-label="Primary site navigation" id="primary-navigation" role="menu">
<ul class="menu-primary" aria-label="Primary site navigation" id="primary-navigation">
{% for link in nav.menu %}
<li>{% render "partials/nav/link.liquid", page:page, link:link.name, icon:link.icon %}</li>
{% endfor %}

View file

@ -1,7 +1,7 @@
<script type="module" src="/assets/scripts/components/theme-toggle.js"></script>
<span class="client-side">
<theme-toggle>
<button class="theme-toggle" aria-label="Toggle site theme" role="menuitem" tabindex="0">
<button class="theme-toggle" aria-label="Toggle site theme" tabindex="0">
<span class="light">
{% tablericon "sun" "Toggle light theme" %}
</span>