From 58ca5b35469d9beea54fd88f4a31e5a17b81d9c6 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sat, 13 Jul 2024 10:34:28 -0700 Subject: [PATCH] added component to add bulma into head --- components/bulma/script.templ | 5 +++++ internal/views/layout/header.templ | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 components/bulma/script.templ diff --git a/components/bulma/script.templ b/components/bulma/script.templ new file mode 100644 index 0000000..8c72096 --- /dev/null +++ b/components/bulma/script.templ @@ -0,0 +1,5 @@ +package bulma + +templ UseBulmaCdn() { + +} \ No newline at end of file diff --git a/internal/views/layout/header.templ b/internal/views/layout/header.templ index 942e76f..0da3df2 100644 --- a/internal/views/layout/header.templ +++ b/internal/views/layout/header.templ @@ -1,7 +1,9 @@ package layout +import "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma" + templ header() { - + @bulma.UseBulmaCdn()