From dd6f49b1c98e01cc1eafad2e58238c31ab92a853 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 14 Apr 2026 23:43:54 +0200 Subject: [PATCH] ui: start tailwind utility migration --- internal/shared/ui/empty_state.templ | 6 +-- internal/shared/ui/loading.templ | 8 ++-- internal/templates/auth.templ | 58 ++++++++++++++-------------- internal/templates/not_found.templ | 10 ++--- 4 files changed, 41 insertions(+), 41 deletions(-) diff --git a/internal/shared/ui/empty_state.templ b/internal/shared/ui/empty_state.templ index ab0dd4b..6aa9f82 100644 --- a/internal/shared/ui/empty_state.templ +++ b/internal/shared/ui/empty_state.templ @@ -1,9 +1,9 @@ package ui templ EmptyState(title string) { -
-
{ title }
-
+
+
{ title }
+
{ children... }
diff --git a/internal/shared/ui/loading.templ b/internal/shared/ui/loading.templ index 3dac5a5..2ac6439 100644 --- a/internal/shared/ui/loading.templ +++ b/internal/shared/ui/loading.templ @@ -1,10 +1,10 @@ package ui templ LoadingIndicator(text string) { -
-
-
-
+
+
+
+
{ text }
} diff --git a/internal/templates/auth.templ b/internal/templates/auth.templ index edd44ed..12086ef 100644 --- a/internal/templates/auth.templ +++ b/internal/templates/auth.templ @@ -2,28 +2,28 @@ package templates templ Login(formError string, username string) { @Layout("Login", false) { -
-