feat: replace text/template with templ and refactor code
This commit is contained in:
7
views/navbar.templ
Normal file
7
views/navbar.templ
Normal file
@ -0,0 +1,7 @@
|
||||
package views
|
||||
|
||||
templ navbar() {
|
||||
<nav>
|
||||
<a href="/"><img src="/static/logo.svg"/></a>
|
||||
</nav>
|
||||
}
|
Reference in New Issue
Block a user