perf: tackle lighthouse issues

This commit is contained in:
rramiachraf
2024-05-01 22:22:54 +01:00
parent 7e40892b1d
commit 59929bb891
7 changed files with 28 additions and 9 deletions

View File

@ -3,7 +3,7 @@ package views
templ navbar() {
<nav>
<div id="nav-container">
<a href="/"><img src="/static/logo.svg"/></a>
<a href="/"><img src="/static/logo.svg" alt="Logo"/></a>
<div id="nav-icons">
<a
title="Go to Genius.com"
@ -17,7 +17,7 @@ templ navbar() {
<path stroke="#181d31" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778"></path>
</svg>
</a>
<button id="choose-theme" class="nav-icon">
<button id="choose-theme" class="nav-icon" type="button" aria-label="Change theme">
<svg
width="25px"
height="25px"