summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/serve.fnl4
-rw-r--r--static/style.css14
-rw-r--r--texts.fnl5
3 files changed, 20 insertions, 3 deletions
diff --git a/bin/serve.fnl b/bin/serve.fnl
index 27cfae5..4b8a991 100644
--- a/bin/serve.fnl
+++ b/bin/serve.fnl
@@ -396,7 +396,9 @@
spellfix-suggestion
spellfix-suggestion)]
[:NO-ESCAPE texts.no-results]))
- [:footer {} paginator]]]]]])
+ [:div {} paginator]
+ [:footer {}
+ [:p {:class "text"} [:NO-ESCAPE texts.footer-text]]]]]]]])
(fn root-handler [{: path : query}]
(local cache-key (.. "page:" path "?" (serialize-query query)))
diff --git a/static/style.css b/static/style.css
index d4c0001..ed44a8d 100644
--- a/static/style.css
+++ b/static/style.css
@@ -165,10 +165,20 @@ h1, h2, h3, h4, h5, h6 {
object-fit: contain;
}
-.description-text {
+.text {
max-width: 50rem;
- margin-bottom: 2rem;
line-height: 1.4;
+ margin: 0;
+}
+
+.description-text {
+ margin-bottom: 2rem;
+}
+
+footer {
+ padding-top: 1rem;
+ border-top: 1px solid #cfcfcf99;
+ margin-top: 1rem;
}
@media screen and (max-width: 44.9rem) {
diff --git a/texts.fnl b/texts.fnl
index fe5d784..e825c4a 100644
--- a/texts.fnl
+++ b/texts.fnl
@@ -2,6 +2,11 @@
:no-results-with-suggestion "По&nbsp;вашему запросу нет&nbsp;результатов. Возможно, вы&nbsp;имели в&nbsp;виду <a href=\"?query=%s\">%s</a>?"
:meta-title "everytea.ru — каталог китайского чая"
:meta-description "Каталог китайского чая и связанных товаров, автоматически собирающий данные с сайтов чайных."
+ :footer-text "everytea.ru не&nbsp;является интернет-магазином.
+Все права на&nbsp;изображения и названия товаров принадлежат
+соответствующим авторам. Наличие товаров, актуальность цен,
+условия доставки и&nbsp;прочие детали необходимо уточнять на сайтах продавцов.
+E-mail для связи: <a href=\"mailto:contact@everytea.ru\">contact@everytea.ru</a>."
:red-tea-description "
<p>Красный китайский чай (хун&nbsp;ча, 红茶), известный за&nbsp;пределами Китая как&nbsp;черный чай.</p>