frontend cleanup

This commit is contained in:
Priler 2026-01-04 22:50:34 +05:00
parent 091a41ac33
commit 0c28304840
38 changed files with 2873 additions and 1180 deletions

View file

@ -1,11 +1,19 @@
<script>
let search_q = "";
<script lang="ts">
let searchQuery = ""
</script>
<div id="search-form" class="search" class:active={search_q != ""}>
<div id="search-form" class="search" class:active={searchQuery !== ""}>
<form action="#" method="GET">
<input bind:value={search_q} type="text" name="q" placeholder="Введите команду или скажите &laquo;Джарвис&raquo; ..." autocomplete="off" minlength="3" maxlength="30">
<button type="submit"></button>
<input
bind:value={searchQuery}
type="text"
name="q"
placeholder="Введите команду или скажите «Джарвис» ..."
autocomplete="off"
minlength="3"
maxlength="30"
/>
<button type="submit" aria-label="Search"></button>
<small>Enter</small>
</form>
</div>
</div>