added search.js

This commit is contained in:
Hazel Noack 2025-07-11 11:55:55 +02:00
parent c3e1d80b8f
commit e4274d1107
3 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,6 @@
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function() {
Array.from(document.querySelectorAll('input')).forEach(element => { Array.from(document.querySelectorAll('input')).forEach(element => {
console.log(element)
element.focus(); element.focus();
}) })
}); });
@ -93,5 +92,7 @@
animateMarquee(); animateMarquee();
}); });
</script> </script>
<script src="scripts/search.js"></script>
</body> </body>
</html> </html>

View File

@ -0,0 +1 @@
console.log("included search")

View File

@ -48,6 +48,7 @@ func main() {
e := echo.New() e := echo.New()
e.Static("/assets", "frontend/assets") e.Static("/assets", "frontend/assets")
e.Static("/scripts", "frontend/scripts")
e.GET("/", getIndex) e.GET("/", getIndex)
// this is for me to later setup the ctl such that I can config the running program on the command line // this is for me to later setup the ctl such that I can config the running program on the command line