summaryrefslogtreecommitdiff
path: root/pages/information/offer.fnl
blob: 87d33d8bf429bc6b3446d473c165fc93bd4a8dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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}