From 57eb8f6712361a3bf75983ce153fac4846dc0273 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Tue, 11 Feb 2025 16:31:08 +0530 Subject: Initial commit --- cmd/web/templates/sign-up/htmx-sign-up-page.tmpl | 3 +++ cmd/web/templates/sign-up/index.tmpl | 23 +++++++++++++++++ .../templates/sign-up/partials/sign-up-form.tmpl | 30 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 cmd/web/templates/sign-up/htmx-sign-up-page.tmpl create mode 100644 cmd/web/templates/sign-up/index.tmpl create mode 100644 cmd/web/templates/sign-up/partials/sign-up-form.tmpl (limited to 'cmd/web/templates/sign-up') diff --git a/cmd/web/templates/sign-up/htmx-sign-up-page.tmpl b/cmd/web/templates/sign-up/htmx-sign-up-page.tmpl new file mode 100644 index 0000000..a4cf3d7 --- /dev/null +++ b/cmd/web/templates/sign-up/htmx-sign-up-page.tmpl @@ -0,0 +1,3 @@ +{{ template "sign-up/index" . }} +{{ template "components/navbar" . }} +{{ template "components/head" . }} \ No newline at end of file diff --git a/cmd/web/templates/sign-up/index.tmpl b/cmd/web/templates/sign-up/index.tmpl new file mode 100644 index 0000000..2c0992e --- /dev/null +++ b/cmd/web/templates/sign-up/index.tmpl @@ -0,0 +1,23 @@ +
+
+
+ +
+

Sign up

+

+ + Have an account? + +

+ + {{ template "sign-up/partials/sign-up-form" }} +
+ +
+
+
\ No newline at end of file diff --git a/cmd/web/templates/sign-up/partials/sign-up-form.tmpl b/cmd/web/templates/sign-up/partials/sign-up-form.tmpl new file mode 100644 index 0000000..be34243 --- /dev/null +++ b/cmd/web/templates/sign-up/partials/sign-up-form.tmpl @@ -0,0 +1,30 @@ +
+ {{ if .Errors }} +
+
    + {{ range $error := .Errors }} +
  • {{ $error }}
  • + {{ end }} +
+
+ {{ end }} +
+ +
+
+ +
+
+ +
+
+ +
+ +
\ No newline at end of file -- cgit v1.2.3