From 12220c730ec502e91b6d9512f421d04537df8137 Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Wed, 3 Sep 2025 13:12:13 -0400 Subject: [PATCH] HEEx pages for the website --- .../controllers/page_html/contact.html.heex | 122 ++++++++++++++++++ .../controllers/page_html/index.html.heex | 87 +++++++++++++ .../controllers/page_html/login.html.heex | 82 ++++++++++++ .../controllers/page_html/logout.html.heex | 81 ++++++++++++ .../controllers/page_html/pubkey.html.heex | 91 +++++++++++++ .../controllers/page_html/thinkers.html.heex | 86 ++++++++++++ .../controllers/page_html/twofact.html.heex | 90 +++++++++++++ 7 files changed, 639 insertions(+) create mode 100644 lib/sukaato_web/controllers/page_html/contact.html.heex create mode 100644 lib/sukaato_web/controllers/page_html/index.html.heex create mode 100644 lib/sukaato_web/controllers/page_html/login.html.heex create mode 100644 lib/sukaato_web/controllers/page_html/logout.html.heex create mode 100644 lib/sukaato_web/controllers/page_html/pubkey.html.heex create mode 100644 lib/sukaato_web/controllers/page_html/thinkers.html.heex create mode 100644 lib/sukaato_web/controllers/page_html/twofact.html.heex diff --git a/lib/sukaato_web/controllers/page_html/contact.html.heex b/lib/sukaato_web/controllers/page_html/contact.html.heex new file mode 100644 index 0000000..ffbe3ed --- /dev/null +++ b/lib/sukaato_web/controllers/page_html/contact.html.heex @@ -0,0 +1,122 @@ + +<% rel_proj_root = "../../../.." %> + + <.html_head site_name={@config["site"]["name"]} site_author={@config["site"]["author"]} site_desc={@config["site"]["desc"]} /> + + + + + + +
+
+ + +
+
+
+
+ <.html_foot /> + + + \ No newline at end of file diff --git a/lib/sukaato_web/controllers/page_html/index.html.heex b/lib/sukaato_web/controllers/page_html/index.html.heex new file mode 100644 index 0000000..74af4d9 --- /dev/null +++ b/lib/sukaato_web/controllers/page_html/index.html.heex @@ -0,0 +1,87 @@ + +<% rel_proj_root = "../../../.." %> + + <.html_head site_name={@config["site"]["name"]} site_author={@config["site"]["author"]} site_desc={@config["site"]["desc"]} /> + + + + <% # database queries may go here %> + + + +
+
+ +
+ <% # <.greet /> %> + <.markdown_content page_query={@page_name} /> +
+
+
+
+
+ <.html_foot /> + + + \ No newline at end of file diff --git a/lib/sukaato_web/controllers/page_html/login.html.heex b/lib/sukaato_web/controllers/page_html/login.html.heex new file mode 100644 index 0000000..1c0b241 --- /dev/null +++ b/lib/sukaato_web/controllers/page_html/login.html.heex @@ -0,0 +1,82 @@ + +<% rel_proj_root = "../../../.." %> + + <.html_head site_name={@config["site"]["name"]} site_author={@config["site"]["author"]} site_desc={@config["site"]["desc"]} /> + + + + + + +
+
+ + <%= if @attempted do %> +

Either you forgot your clerical title, or the incantation was wrong.

+ <% end %> +
+
+
+
+
+ + <.submission btn_name={@button_choice} /> +
+
+
+
+
+ <.html_foot /> + + + \ No newline at end of file diff --git a/lib/sukaato_web/controllers/page_html/logout.html.heex b/lib/sukaato_web/controllers/page_html/logout.html.heex new file mode 100644 index 0000000..9392925 --- /dev/null +++ b/lib/sukaato_web/controllers/page_html/logout.html.heex @@ -0,0 +1,81 @@ + +<% rel_proj_root = "../../../.." %> + + <.html_head site_name={@config["site"]["name"]} site_author={@config["site"]["author"]} site_desc={@config["site"]["desc"]} /> + + + + + + +
+
+

You are already acting in your capacity as clergy.
Do you wish to return to laity?

+
+ + + <.submission btn_name={@button_choice} /> +
+
+
+
+
+ <.html_foot /> + + + \ No newline at end of file diff --git a/lib/sukaato_web/controllers/page_html/pubkey.html.heex b/lib/sukaato_web/controllers/page_html/pubkey.html.heex new file mode 100644 index 0000000..fc4d8c7 --- /dev/null +++ b/lib/sukaato_web/controllers/page_html/pubkey.html.heex @@ -0,0 +1,91 @@ + +<% rel_proj_root = "../../../.." %> + + <.html_head site_name={@config["site"]["name"]} site_author={@config["site"]["author"]} site_desc={@config["site"]["desc"]} /> + + + + <% # database queries may go here %> + + + +
+
+ + +
+
+
+
+ <.html_foot /> + + + \ No newline at end of file diff --git a/lib/sukaato_web/controllers/page_html/thinkers.html.heex b/lib/sukaato_web/controllers/page_html/thinkers.html.heex new file mode 100644 index 0000000..47a7ba4 --- /dev/null +++ b/lib/sukaato_web/controllers/page_html/thinkers.html.heex @@ -0,0 +1,86 @@ + +<% rel_proj_root = "../../../.." %> + + <.html_head site_name={@config["site"]["name"]} site_author={@config["site"]["author"]} site_desc={@config["site"]["desc"]} /> + + + + <% # database queries may go here %> + + + +
+
+ +
+ <.markdown_content page_query={@page_name} /> +
+ +
+
+
+
+ <.html_foot /> + + + \ No newline at end of file diff --git a/lib/sukaato_web/controllers/page_html/twofact.html.heex b/lib/sukaato_web/controllers/page_html/twofact.html.heex new file mode 100644 index 0000000..32bac94 --- /dev/null +++ b/lib/sukaato_web/controllers/page_html/twofact.html.heex @@ -0,0 +1,90 @@ + +<% rel_proj_root = "../../../.." %> + + <.html_head site_name={@config["site"]["name"]} site_author={@config["site"]["author"]} site_desc={@config["site"]["desc"]} /> + + + + + + +
+
+ + <%= if @attempted do %> +

No traces of daimonic possession detected via clairvoyance. Try again?

+ <% else %> +

By clairvoyance the cult shall detect if you've been properly daimonically possessed!

+ <% end %> + +
+ + <%= if @totp do %> +
+
+ <% end %> + <%= if @fido do %> +
+
+ + <% end %> + +
+
+
+
+
+ <.html_foot /> + + + \ No newline at end of file