feat: image loading and theme icon on homepage, fix view button color var

This commit is contained in:
httpjamesm 2022-12-28 12:37:04 -05:00
parent 90e873d9e2
commit 7ec73f8af8
5 changed files with 32 additions and 19 deletions

View file

@ -51,9 +51,17 @@
</div>
</form>
<div class="options">
<a class="toggle" href="/options/images"
>Toggle Image Loading</a
>
<div class="icon">
<a href="/options/images">
<img src="/static/icons/image.svg" alt="Toggle theme" />
</a>
</div>
<div class="icon">
<a href="/options/theme?redirect_url={{ .currentUrl }}">
<img src="/static/icons/{{ if eq .theme "dark" }}sun{{
else }}moon{{ end }}.svg" alt="Toggle theme" />
</a>
</div>
</div>
<p class="footer">
Brought to you by