chore: cleanup
This commit is contained in:
parent
192fcbfcf9
commit
cc917e45c5
19 changed files with 42 additions and 54 deletions
|
@ -7,7 +7,7 @@
|
|||
<li value="{{ item.rank }}">
|
||||
<div class="item">
|
||||
<div class="info">
|
||||
<a class="title window" href="{{ item.url }}">{{ item.title }}</a>
|
||||
<a class="title" href="{{ item.url }}">{{ item.title }}</a>
|
||||
{%- capture playsLabel -%}
|
||||
{%- if item.plays > 1 -%}
|
||||
plays
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{%- capture alt -%}{{ movie.title | escape }} ({{ movie.year }}){%- endcapture -%}
|
||||
<a href="{{ movie.url }}">
|
||||
<div class="watching hero">
|
||||
<div class="meta-text">
|
||||
|
@ -22,7 +21,6 @@
|
|||
(max-width: 1000px) 1024px,
|
||||
2048px"
|
||||
src="https://cdn.coryd.dev{{ movie.backdrop }}?class=bannerlg"
|
||||
alt="{{ alt }}"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
width="1080"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<a
|
||||
class="{{ icon }}"
|
||||
href="{{ url | downcase }}"
|
||||
rel="me"
|
||||
title="{{ title }}"
|
||||
tabindex="0">
|
||||
{% tablericon icon %}
|
||||
</a>
|
|
@ -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 -%}
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue