From a4c5d4fa64f4e5491b1ef3195a00801ea4f21b44 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 16 Apr 2026 16:54:19 +0200 Subject: feat: add form component templates, i18n strings, and Alpine.js utilities --- .../layouts/partials/form-components.html | 219 +++++++++++++++++++++ .../layouts/partials/toast-container.html | 13 ++ 2 files changed, 232 insertions(+) create mode 100644 themes/danix-xyz-hacker/layouts/partials/form-components.html create mode 100644 themes/danix-xyz-hacker/layouts/partials/toast-container.html (limited to 'themes/danix-xyz-hacker/layouts/partials') diff --git a/themes/danix-xyz-hacker/layouts/partials/form-components.html b/themes/danix-xyz-hacker/layouts/partials/form-components.html new file mode 100644 index 0000000..9a69d43 --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/partials/form-components.html @@ -0,0 +1,219 @@ +{{ define "form-components" }} + + + +
+

Form Components

+ + +
+ + +
+ + +
+ + +
{{ i18n "form_invalid_email" }}
+
+ + +
+ + +
{{ i18n "form_password_help" | default "Must be at least 8 characters" }}
+
+ + +
+ + +
+ + + +
+ + +
+ + + +
+ + +
+ + + +
+ +
+ + +
+

{{ i18n "form_select_interests" | default "Select your interests" }}

+ + +
+ + + +
+

{{ i18n "form_select_preference" | default "Select a preference" }}

+ + +
+ + + +
+
+ + +
+
+ + +
+
+ + + +
+
+ + +
+ +
+ + + +
+

Modal Examples

+ + + +
+ + + +
+

Notifications

+ + + + +
+ +
+ + + + + + + + + + + + + +{{ end }} diff --git a/themes/danix-xyz-hacker/layouts/partials/toast-container.html b/themes/danix-xyz-hacker/layouts/partials/toast-container.html new file mode 100644 index 0000000..1c5fbf2 --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/partials/toast-container.html @@ -0,0 +1,13 @@ +{{ define "toast-container" }} + + +
+ +
+ +{{ end }} -- cgit v1.2.3