Rename and document fork
1 file changed, 9 insertions(+), 4 deletions(-)
changed files
M internal/examples/app/html/home.go → internal/examples/app/html/home.go
@@ -1,17 +1,22 @@ package html import ( - . "maragu.dev/gomponents" - . "maragu.dev/gomponents/html" + . "go.alanpearce.eu/gomponents" + . "go.alanpearce.eu/gomponents/html" ) func HomePage(items []string) Node { - return page("Home", + return page( + "Home", H1(Text("Home")), P(Text("This is a gomponents example app!")), - P(Raw(`Have a look at the <a href="https:/github.com/maragudk/gomponents/tree/main/internal/examples/app">source code</a> to see how it’s structured.`)), + P( + Raw( + `Have a look at the <a href="https:/github.com/alanpearce/gomponents/tree/main/internal/examples/app">source code</a> to see how it’s structured.`, + ), + ), Ul(Map(items, func(s string) Node { return Li(Text(s))