mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-14 05:52:54 +00:00
feat: image loading and theme icon on homepage, fix view button color var
This commit is contained in:
parent
90e873d9e2
commit
7ec73f8af8
5 changed files with 32 additions and 19 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue