From e633218936cb4da5b19353026748e4a57d5643d1 Mon Sep 17 00:00:00 2001 From: maddalax Date: Fri, 20 Sep 2024 14:13:40 -0500 Subject: [PATCH] some fixes --- cli/htmgo/tasks/run/build.go | 2 +- htmgo-site/pages/base/root.go | 2 +- htmgo-site/partials/navbar.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/htmgo/tasks/run/build.go b/cli/htmgo/tasks/run/build.go index 936d0af..c721a0a 100644 --- a/cli/htmgo/tasks/run/build.go +++ b/cli/htmgo/tasks/run/build.go @@ -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\"") } diff --git a/htmgo-site/pages/base/root.go b/htmgo-site/pages/base/root.go index 4824e53..53de4c2 100644 --- a/htmgo-site/pages/base/root.go +++ b/htmgo-site/pages/base/root.go @@ -25,7 +25,7 @@ func RootPage(children ...h.Ren) *h.Element { `), ), - h.Class("bg-neutral-50 min-h-screen"), + h.Class("bg-neutral-50 min-h-screen overflow-x-hidden"), partials.NavBar(), h.Fragment(children...), ) diff --git a/htmgo-site/partials/navbar.go b/htmgo-site/partials/navbar.go index 5c4495b..004d1d8 100644 --- a/htmgo-site/partials/navbar.go +++ b/htmgo-site/partials/navbar.go @@ -42,7 +42,7 @@ func NavBar() *h.Element { h.A( h.Class("text-2xl"), h.Href("/"), - h.Text("htmgo (prerelease)"), + h.Text("htmgo"), )), h.Div( h.Class("flex gap-4 items-center"),