some fixes
This commit is contained in:
parent
8c51c5227e
commit
e633218936
3 changed files with 3 additions and 3 deletions
|
|
@ -22,6 +22,6 @@ func Build() {
|
||||||
// },
|
// },
|
||||||
//)
|
//)
|
||||||
|
|
||||||
process.RunOrExit("go build -o ./dist .")
|
process.RunOrExit("env GOOS=linux GOARCH=amd64 go build -o ./dist .")
|
||||||
process.RunOrExit("echo \"Build successful\"")
|
process.RunOrExit("echo \"Build successful\"")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ func RootPage(children ...h.Ren) *h.Element {
|
||||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||||
`),
|
`),
|
||||||
),
|
),
|
||||||
h.Class("bg-neutral-50 min-h-screen"),
|
h.Class("bg-neutral-50 min-h-screen overflow-x-hidden"),
|
||||||
partials.NavBar(),
|
partials.NavBar(),
|
||||||
h.Fragment(children...),
|
h.Fragment(children...),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ func NavBar() *h.Element {
|
||||||
h.A(
|
h.A(
|
||||||
h.Class("text-2xl"),
|
h.Class("text-2xl"),
|
||||||
h.Href("/"),
|
h.Href("/"),
|
||||||
h.Text("htmgo (prerelease)"),
|
h.Text("htmgo"),
|
||||||
)),
|
)),
|
||||||
h.Div(
|
h.Div(
|
||||||
h.Class("flex gap-4 items-center"),
|
h.Class("flex gap-4 items-center"),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue