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/index.fnl | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pages/information/index.fnl (limited to 'pages/information/index.fnl') 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} -- cgit v1.2.3