diff --git a/components/bulma/hero.templ b/components/bulma/hero.templ deleted file mode 100644 index ce5dd39..0000000 --- a/components/bulma/hero.templ +++ /dev/null @@ -1,10 +0,0 @@ -package bulma - -templ Hero(title, subtitle string) { -
-
-

{ title }

-

{ subtitle }

-
-
-} diff --git a/components/bulma/layout/container.templ b/components/bulma/layout/container.templ new file mode 100644 index 0000000..88ab181 --- /dev/null +++ b/components/bulma/layout/container.templ @@ -0,0 +1,7 @@ +package layout + +templ Container(breakpoint string) { +
+ { children... } +
+} diff --git a/components/bulma/layout/hero.templ b/components/bulma/layout/hero.templ new file mode 100644 index 0000000..1dfd6a3 --- /dev/null +++ b/components/bulma/layout/hero.templ @@ -0,0 +1,37 @@ +package layout + +templ Hero(title, subtitle string) { +
+
+

{ title }

+

{ subtitle }

+
+
+} + +templ HeroSize(title, subtitle, size string) { +
+
+

{ title }

+

{ subtitle }

+
+
+} + +templ HeroColor(title, subtitle, color string) { +
+
+

{ title }

+

{ subtitle }

+
+
+} + +templ HeroColorSize(title, subtitle, color, size string) { +
+
+

{ title }

+

{ subtitle }

+
+
+} \ No newline at end of file diff --git a/components/bulma/layout/section.templ b/components/bulma/layout/section.templ new file mode 100644 index 0000000..4775db4 --- /dev/null +++ b/components/bulma/layout/section.templ @@ -0,0 +1,9 @@ +package bulma + +// Creates a
object thats good to break up a page of content. +templ Section(title, subtitle string) { +
+

{ title }

+

{ subtitle }

+
+} diff --git a/components/bulma/section.templ b/components/bulma/section.templ deleted file mode 100644 index 1726976..0000000 --- a/components/bulma/section.templ +++ /dev/null @@ -1,11 +0,0 @@ -package bulma - -templ Section(title, subtitle string) { -
-

Section

-

- A simple container to divide your page into sections, like - the one you're currently reading. -

-
-}