add(js): add correct import ver
This commit is contained in:
parent
80df48284c
commit
91a987e049
8 changed files with 7 additions and 37 deletions
|
|
@ -2,9 +2,9 @@
|
|||
package input
|
||||
|
||||
import (
|
||||
"maot-shortner/web/resources/utils"
|
||||
"maot-shortner/web/templates/components/button"
|
||||
"maot-shortner/web/templates/components/icon"
|
||||
"maot-shortner/web/resources/utils"
|
||||
)
|
||||
|
||||
type Type string
|
||||
|
|
@ -119,5 +119,5 @@ templ Input(props ...Props) {
|
|||
}
|
||||
|
||||
templ Script() {
|
||||
<script defer src="/web/static/js/input.min.js"></script>
|
||||
<script defer src="/static/js/input.min.js"></script>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,5 +38,5 @@ templ Label(props ...Props) {
|
|||
}
|
||||
|
||||
templ Script() {
|
||||
<script defer src="/web/static/js/label.min.js"></script>
|
||||
<script defer src="/static/js/label.min.js"></script>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ templ Home() {
|
|||
@layouts.MainLayout() {
|
||||
<div class="h-full flex justify-center items-center flex-col">
|
||||
@icon.Link(icon.Props{Class: "w-24 h-24"})
|
||||
<h2 class="text-4xl font-bold py">shorten your urls...</h2>
|
||||
<h2 class="text-4xl font-bold py-4">shorten your urls...</h2>
|
||||
<div class="flex gap-4 items-center justify-center mt-4 px-4 w-full max-w-2xl">
|
||||
@input.Input(input.Props{
|
||||
ID: "URL",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue