a bit of front-end work, changing users almost done on login, "drunk-code" no more (id hope), continuous processes and keybinds still not done.

This commit is contained in:
2026-03-19 17:52:36 +01:00
parent 18aeeb200f
commit c3f1af6818
14 changed files with 136 additions and 62 deletions
+16
View File
@@ -8,10 +8,26 @@
function handleInput(event: Event) {
inputValue = (event.target as HTMLInputElement).value;
}
/* function moveCursor() {
}
function keyDown(event: KeyboardEvent) {
switch(event.key) {
case 'Enter':
inputValue = ''
case 'ArrowRight':
document.getElementById('cursor')?.style.transform = 'translateX(8px)'
case 'ArrowLeft':
}
} */
</script>
<div class=" relative">
<input
autofocus
bind:value={inputValue}
onkeydown={(e) => e.key === 'Enter' && (inputValue = '')}
oninput={handleInput}