add(frontend): remove htmx import and add animations
This commit is contained in:
parent
96a5d9f230
commit
5adada0422
4 changed files with 1285 additions and 33 deletions
|
|
@ -3,7 +3,6 @@ package layouts
|
|||
import (
|
||||
"maot-shortner/web/templates/components/input"
|
||||
"maot-shortner/web/templates/components/label"
|
||||
"maot-shortner/web/templates/components/toast"
|
||||
"maot-shortner/web/templates/modules"
|
||||
)
|
||||
|
||||
|
|
@ -17,9 +16,6 @@ templ MainLayout() {
|
|||
<link rel="icon" type="image/x-icon" href="/static/img/favicon.ico"/>
|
||||
@input.Script()
|
||||
@label.Script()
|
||||
@toast.Script()
|
||||
<script src="/static/js/htmx.min.js"></script>
|
||||
<script src="/static/js/alpine.min.js"></script>
|
||||
</head>
|
||||
<body class="h-full">
|
||||
<div class="h-full flex flex-col">
|
||||
|
|
@ -28,6 +24,7 @@ templ MainLayout() {
|
|||
{ children... }
|
||||
</main>
|
||||
</div>
|
||||
<script src="/static/js/alpine.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue