web: add link to index from search page

This commit is contained in:
Drew DeVault 2022-07-09 18:07:46 +02:00
parent b41abd9376
commit 3535309004
2 changed files with 11 additions and 4 deletions

View file

@ -102,6 +102,11 @@ h1 {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
h1 a {
text-decoration: none;
color: black;
}
.input-group { .input-group {
display: flex; display: flex;
} }

View file

@ -1,9 +1,11 @@
<form action="/search"> <form action="/search">
<h1> <h1>
<span class="icon"> <a href="/">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg> <span class="icon">
</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg>
<span>searchhut</span> </span>
<span>searchhut</span>
</a>
</h1> </h1>
<div class="input-group"> <div class="input-group">
<label for="q">Search terms</label> <label for="q">Search terms</label>