frontend cleanup
This commit is contained in:
parent
78eb0c0080
commit
4ceaa7ff20
38 changed files with 2873 additions and 1180 deletions
11
frontend/_src/components/elements/SearchBar.svelte
Normal file
11
frontend/_src/components/elements/SearchBar.svelte
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<script>
|
||||
let search_q = "";
|
||||
</script>
|
||||
|
||||
<div id="search-form" class="search" class:active={search_q != ""}>
|
||||
<form action="#" method="GET">
|
||||
<input bind:value={search_q} type="text" name="q" placeholder="Введите команду или скажите «Джарвис» ..." autocomplete="off" minlength="3" maxlength="30">
|
||||
<button type="submit"></button>
|
||||
<small>Enter</small>
|
||||
</form>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue