From c094266ccbc2cb4ebac4e2f2f6f9aee5c5740db8 Mon Sep 17 00:00:00 2001 From: Markus Wüstenberg Date: Thu, 3 Oct 2024 11:32:52 +0200 Subject: Fix example app to use maragu.dev/gomponents module path (#216) --- internal/examples/app/html/about.go | 4 ++-- internal/examples/app/html/components.go | 6 +++--- internal/examples/app/html/home.go | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'internal/examples/app/html') diff --git a/internal/examples/app/html/about.go b/internal/examples/app/html/about.go index 37b797f..61a5001 100644 --- a/internal/examples/app/html/about.go +++ b/internal/examples/app/html/about.go @@ -3,8 +3,8 @@ package html import ( "time" - . "github.com/maragudk/gomponents" - . "github.com/maragudk/gomponents/html" + . "maragu.dev/gomponents" + . "maragu.dev/gomponents/html" ) func AboutPage() Node { diff --git a/internal/examples/app/html/components.go b/internal/examples/app/html/components.go index 25880a3..ad5d582 100644 --- a/internal/examples/app/html/components.go +++ b/internal/examples/app/html/components.go @@ -1,9 +1,9 @@ package html import ( - . "github.com/maragudk/gomponents" - . "github.com/maragudk/gomponents/components" - . "github.com/maragudk/gomponents/html" + . "maragu.dev/gomponents" + . "maragu.dev/gomponents/components" + . "maragu.dev/gomponents/html" ) func page(title string, children ...Node) Node { diff --git a/internal/examples/app/html/home.go b/internal/examples/app/html/home.go index a3d729b..c06aa66 100644 --- a/internal/examples/app/html/home.go +++ b/internal/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 @@ func HomePage(items []string) Node { P(Text("This is a gomponents example app!")), - P(Raw(`Have a look at the source code to see how it’s structured.`)), + P(Raw(`Have a look at the source code to see how it’s structured.`)), Ul(Map(items, func(s string) Node { return Li(Text(s)) -- cgit 1.4.1