From 3637edb816f673830b70b05354a5b74909549999 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 28 Apr 2024 01:13:27 +0200 Subject: Start work on styling --- view/components.templ | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 view/components.templ (limited to 'view/components.templ') diff --git a/view/components.templ b/view/components.templ new file mode 100644 index 0000000..b2383ba --- /dev/null +++ b/view/components.templ @@ -0,0 +1,51 @@ +package view + +templ textLikeField(fieldType string, name string, placeholder string) { + +} + +templ TextField(name string, placeholder string) { + @textLikeField("text", name, placeholder) +} + +templ PasswordField(name string, placeholder string) { + @textLikeField("password", name, placeholder) +} + +templ Button(fieldType string, name string, attrs templ.Attributes) { + +} + +templ SecondaryButton(fieldType string, name string, attrs templ.Attributes) { + +} -- cgit