diff options
Diffstat (limited to 'pages/about/index.fnl')
| -rw-r--r-- | pages/about/index.fnl | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pages/about/index.fnl b/pages/about/index.fnl new file mode 100644 index 0000000..3a54ef2 --- /dev/null +++ b/pages/about/index.fnl @@ -0,0 +1,39 @@ +(import-macros {:compile-html HTML} :macros) +(local templates (require :templates)) + +(local %page-title "О нас") + +(fn content [authenticated?] + [(HTML + [:aside {} + (templates.header "/about" authenticated?)]) + (HTML + [:div {:class "content"} + [:div {:class "back"} [:a {:href "/"} "⟵ Обратно на главную"]] + [:section {:class "mb-2"} + [:h2 {:id "contact"} %page-title] + [:p {:class "mb-0-5"} [:strong {} "Адрес:"] + "г. Омск, ул. Пушкина, д. 133/9, этаж 2. Вход с крыльца Магнита, дверь слева, домофон 4."] + [:p {:class "mb-0-5"} [:strong {:class "mb-0-5"} "Телеграм:"] + [:a {:href "https://t.me/whitetoadvlad"} "@whitetoadvlad"]] + [:p {} [:strong {} "E-mail:"] + [:a {:href "mailto:vlad@whitetoad.ru"} "vlad@whitetoad.ru"]]] + + [:section {:class "mb-2"} + [:h3 {} "Реквизиты"] + [:p {:class "mb-0-5"} "ИП Горенкин Владислав Константинович"] + [:p {:class "mb-0-5"} [:strong {:class "mb-0-5"} "ИНН:"] "550414799930"] + [:p {} [:strong {} "ОГРН:"] "325554300088182"]] + + [:section {} + [:h3 {:id "conditions"} "Документы"] + [:p {:class "mb-0-25"} + [:a {:href "/about/privacy-policy"} + "Политика обработки и хранения персональных данных"]] + ;; [:p {} [:a {:href "/about/offer"} "Публичная оферта"]] + ]])]) + +(fn render [request db authenticated?] + (values 200 {} (templates.base (content authenticated?) %page-title))) + +{: render} |
