diff options
author | Alan Pearce | 2025-03-19 12:20:24 +0100 |
---|---|---|
committer | Alan Pearce | 2025-03-19 12:20:24 +0100 |
commit | 3a9a1fd26540ddd0299771a729740cdd88239dde (patch) | |
tree | 6a65ad391fa2ff3d52132643502739e9645f56a7 /internal/examples/app/html/home.go | |
parent | 5eae1eef0f0a090ae569a23c0c52db356a109cfc (diff) | |
download | gomponents-3a9a1fd26540ddd0299771a729740cdd88239dde.tar.lz gomponents-3a9a1fd26540ddd0299771a729740cdd88239dde.tar.zst gomponents-3a9a1fd26540ddd0299771a729740cdd88239dde.zip |
Rename and document fork v1.2.0
Diffstat (limited to 'internal/examples/app/html/home.go')
-rw-r--r-- | internal/examples/app/html/home.go | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/internal/examples/app/html/home.go b/internal/examples/app/html/home.go index 5743d38..fdd48dc 100644 --- a/internal/examples/app/html/home.go +++ b/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)) |