summaryrefslogtreecommitdiff
path: root/pages/information/index.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/index.fnl
parentb06fdc9c3b4b6dc0d5d60098303dd57d5c098e13 (diff)
small improvements here and there
Diffstat (limited to 'pages/information/index.fnl')
-rw-r--r--pages/information/index.fnl39
1 files changed, 39 insertions, 0 deletions
diff --git a/pages/information/index.fnl b/pages/information/index.fnl
new file mode 100644
index 0000000..0084a17
--- /dev/null
+++ b/pages/information/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 "/information" 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 "/information/privacy-policy"}
+ "Политика обработки и хранения персональных данных"]]
+ ;; [:p {} [:a {:href "/information/offer"} "Публичная оферта"]]
+ ]])])
+
+(fn render [request db authenticated?]
+ (values 200 {} (templates.base (content authenticated?) %page-title)))
+
+{: render}