This commit is contained in:
maddalax 2024-10-30 14:14:12 -05:00
parent cb6fcdd676
commit 5feb271aed

View file

@ -13,19 +13,21 @@ func Installation(ctx *h.RequestContext) *h.Page {
Title("Getting Started"), Title("Getting Started"),
h.Ul( h.Ul(
h.Text("Prerequisites:"), h.Text("Prerequisites:"),
h.Class("list-disc list-outside"), h.Class("list-disc list-inside"),
h.Li( h.Li(
Inline( Inline(
Link("Go 1.23 or above", "https://go.dev/doc/install"), Link("Go 1.23 or above", "https://go.dev/doc/install"),
), ),
), ),
Inline( h.Li(
Text("Familiarity with "), Inline(
Link("https://htmx.org", "https://htmx.org"), Text("Familiarity with "),
Text(" and html/hypermedia"), Link("https://htmx.org", "https://htmx.org"),
Text(" and html/hypermedia"),
),
), ),
), ),
HelpText("If you have not read the htmx docs, please do so before continuing, a lot of concepts below will be much more clear after."), HelpText("If you have not read the htmx docs, please do so before continuing, many of the concepts htmgo uses will become clearer."),
StepTitle("1. Install htmgo"), StepTitle("1. Install htmgo"),
ui.SingleLineBashCodeSnippet(`GOPROXY=direct go install github.com/maddalax/htmgo/cli/htmgo@latest`), ui.SingleLineBashCodeSnippet(`GOPROXY=direct go install github.com/maddalax/htmgo/cli/htmgo@latest`),
StepTitle("2. Create new project"), StepTitle("2. Create new project"),