all repos — gomponents @ c094266ccbc2cb4ebac4e2f2f6f9aee5c5740db8

HTML components in pure Go

Fix example app to use maragu.dev/gomponents module path (#216)

Markus Wüstenberg
commit

c094266ccbc2cb4ebac4e2f2f6f9aee5c5740db8

parent

fe24f0575214093cc72201ecc1cc463865dcb1e2

1 file changed, 3 insertions(+), 3 deletions(-)

changed files
M internal/examples/app/html/home.gointernal/examples/app/html/home.go
@@ -1,8 +1,8 @@
package html import ( - . "github.com/maragudk/gomponents" - . "github.com/maragudk/gomponents/html" + . "maragu.dev/gomponents" + . "maragu.dev/gomponents/html" ) func HomePage(items []string) Node {
@@ -11,7 +11,7 @@ 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://maragu.dev/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))