From 174516f34f62cbee0eb7346f1341578f90a10a72 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sat, 13 Jul 2024 10:34:59 -0700 Subject: [PATCH] moved html components as a child of bulma. They can be moved out of this project if needed --- .../{templ-html => bulma/html}/br.templ | 2 +- .../{templ-html => bulma/html}/href.templ | 2 +- components/bulma/html/html.templ | 26 +++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) rename components/{templ-html => bulma/html}/br.templ (57%) rename components/{templ-html => bulma/html}/href.templ (91%) create mode 100644 components/bulma/html/html.templ diff --git a/components/templ-html/br.templ b/components/bulma/html/br.templ similarity index 57% rename from components/templ-html/br.templ rename to components/bulma/html/br.templ index 13177ec..f62f03a 100644 --- a/components/templ-html/br.templ +++ b/components/bulma/html/br.templ @@ -1,4 +1,4 @@ -package templhtml +package html templ Br(){
diff --git a/components/templ-html/href.templ b/components/bulma/html/href.templ similarity index 91% rename from components/templ-html/href.templ rename to components/bulma/html/href.templ index 038cbdb..87a353c 100644 --- a/components/templ-html/href.templ +++ b/components/bulma/html/href.templ @@ -1,4 +1,4 @@ -package templhtml +package html templ ALink(url, title string) { { title } diff --git a/components/bulma/html/html.templ b/components/bulma/html/html.templ new file mode 100644 index 0000000..ad16efe --- /dev/null +++ b/components/bulma/html/html.templ @@ -0,0 +1,26 @@ +package html + +templ Doctype() { + +} + +// Creates that accepts children +templ New(lang string) { + + { children... } + +} + +// Creates that accepts children +templ NewHeader() { + + { children... } + +} + +// Creates that accepts children +templ NewBody() { + + { children... } + +}