diff options
Diffstat (limited to 'pages/information/offer.fnl')
| -rw-r--r-- | pages/information/offer.fnl | 21 |
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} |
