summaryrefslogtreecommitdiff
path: root/pages/about/index.fnl
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-11-19 15:05:18 +0600
committerunwox <me@unwox.com>2025-11-19 16:24:40 +0600
commit4edb2d7d0f9b5d1ff730599d07e99aabb7f4b39c (patch)
tree6d70933acfad8bba2854d9598f34a6e3457eb391 /pages/about/index.fnl
parent38b69c97b8eb95d79b88b23ed284e8cdcf643197 (diff)
(hopefully) final improvements before publishing
Diffstat (limited to 'pages/about/index.fnl')
-rw-r--r--pages/about/index.fnl39
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}