all repos — gomponents @ c6c5fbd0f92667d9a98a232b455ea26180017e4d

HTML components in pure Go

Add br and hr element helpers (#30)

Hans Raaf
commit

c6c5fbd0f92667d9a98a232b455ea26180017e4d

parent

c99025e6c569827aa5ca8fb3e16545f1b5f821f2

1 file changed, 1 insertion(+), 0 deletions(-)

changed files
M examples/simple/simple.goexamples/simple/simple.go
@@ -44,6 +44,7 @@ ),
), el.Body( navbar(navbarProps{path: props.path}), + el.Hr(), el.H1(props.title), el.P(g.Text(fmt.Sprintf("Welcome to the page at %v.", props.path))), el.P(g.Text(fmt.Sprintf("Rendered at %v", time.Now()))),