From 4151e7a73ef0476b4aea5a356d391a7060b8a01c Mon Sep 17 00:00:00 2001 From: unwox Date: Thu, 30 Oct 2025 19:01:32 +0600 Subject: small improvements here and there --- pages/information/offer.fnl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/information/offer.fnl (limited to 'pages/information/offer.fnl') 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} -- cgit v1.2.3