From 87bf26e039d9150abb4dd6dc2daaf44824b97db5 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Fri, 17 May 2024 11:27:46 -0400 Subject: [PATCH] web: refactor site into picocss from foundation --- bot/web/index.templ | 70 +++++++++------- bot/web/index_templ.go | 42 ++++++---- plugins/admin/admin.templ | 124 +++++++++++++--------------- plugins/admin/admin_templ.go | 32 ++++---- plugins/counter/counter.templ | 31 +++---- plugins/counter/counter_templ.go | 16 ++-- plugins/emojy/list.templ | 48 +++++------ plugins/emojy/list_templ.go | 14 ++-- plugins/meme/meme.templ | 134 ++++++++++++++----------------- plugins/meme/meme_templ.go | 38 +++++---- plugins/secrets/secrets.templ | 44 ++++------ plugins/secrets/secrets_templ.go | 8 +- 12 files changed, 286 insertions(+), 315 deletions(-) diff --git a/bot/web/index.templ b/bot/web/index.templ index cc555a2..a648fa8 100644 --- a/bot/web/index.templ +++ b/bot/web/index.templ @@ -4,8 +4,23 @@ import "fmt" templ (w *Web) Header(title string) {
- + + if title != "" {