summaryrefslogtreecommitdiff
path: root/pages/information/offer.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-10-30 19:01:32 +0600
committerunwox <me@unwox.com>2025-10-30 20:36:58 +0600
commit4151e7a73ef0476b4aea5a356d391a7060b8a01c (patch)
treea576a0017fa5fa0c368d39c270a1df99b79b6014 /pages/information/offer.fnl
parentb06fdc9c3b4b6dc0d5d60098303dd57d5c098e13 (diff)
small improvements here and there
Diffstat (limited to 'pages/information/offer.fnl')
-rw-r--r--pages/information/offer.fnl21
1 files changed, 21 insertions, 0 deletions
diff --git a/pages/information/offer.fnl b/pages/information/offer.fnl
new file mode 100644
index 0000000..87d33d8
--- /dev/null
+++ b/pages/information/offer.fnl
@@ -0,0 +1,21 @@
+(import-macros {:compile-html HTML} :macros)
+(local templates (require :templates))
+
+(local %page-title "Публичная оферта")
+
+(fn content [authenticated?]
+ [(HTML
+ [:aside {}
+ (templates.header "/information" authenticated?)])
+ (HTML
+ [:div {:class "content"}
+ [:div {:class "back"} [:a {:href "/information"} "⟵ Обратно к контактной информации"]]
+ [:section {}
+ [:h2 {:class "mb-2"} %page-title]
+
+ "test"]])])
+
+(fn render []
+ (values 200 {} (templates.base (content) %page-title)))
+
+{: render}