chore: cleanup

This commit is contained in:
Cory Dransfeldt 2024-10-03 08:22:35 -07:00
parent 192fcbfcf9
commit cc917e45c5
No known key found for this signature in database
19 changed files with 42 additions and 54 deletions

View file

@ -9,7 +9,7 @@
{%- endif -%}
</span>
{%- else -%}
<a class="{% if icon %}{{ icon | downcase }} icon {% endif %}{{ class }}" href="{{ categoryUrl }}" rel="me">
<a class="{% if icon %}{{ icon | downcase }} icon {% endif %}{{ class }}" href="{{ categoryUrl }}" rel="me" aria-label="{{ title }}">
{%- if icon -%}
{% tablericon icon %}
<span>{{ title }}</span>

View file

@ -1,8 +0,0 @@
<a
class="{{ icon }}"
href="{{ url | downcase }}"
rel="me"
title="{{ title }}"
tabindex="0">
{% tablericon icon %}
</a>

View file

@ -5,10 +5,7 @@
{% tablericon "arrow-left" %}
</a>
{%- else -%}
<span
class="disabled"
aria-label="Previous page (disabled)"
disabled>
<span class="disabled" disabled>
{% tablericon "arrow-left" %}
</span>
{%- endif -%}
@ -29,10 +26,7 @@
{% tablericon "arrow-right" %}
</a>
{%- else -%}
<span
class="disabled"
aria-label="Next page (disabled)"
disabled>
<span class="disabled" disabled>
{% tablericon "arrow-right" %}
</span>
{%- endif -%}

View file

@ -1,7 +1,7 @@
<script type="module" src="/assets/scripts/components/theme-toggle.js?v={% appVersion %}" crossorigin="anonymous"></script>
<span class="client-side">
<theme-toggle>
<button class="theme-toggle">
<button aria-label="Light and dark theme toggle" class="theme-toggle">
<span class="light">
{% tablericon "sun" %}
</span>