From 3a9a1fd26540ddd0299771a729740cdd88239dde Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Wed, 19 Mar 2025 12:20:24 +0100
Subject: Rename and document fork
---
internal/examples/app/html/home.go | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
(limited to 'internal/examples/app/html/home.go')
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 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