summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-12-16 21:07:57 +0600
committerunwox <me@unwox.com>2025-12-17 18:00:22 +0600
commit048b41ebadfd455ebe7e3b83d49d4fce842e314d (patch)
tree5272b19ca855564322fa61f31c7e709bce8c07b7 /pages
parent839e4910a93ede404bee5d11506ba2e65d6900e0 (diff)
make basket more noticable
Diffstat (limited to 'pages')
-rw-r--r--pages/shop/index.fnl3
-rw-r--r--pages/shop/order/index.fnl5
2 files changed, 4 insertions, 4 deletions
diff --git a/pages/shop/index.fnl b/pages/shop/index.fnl
index 27060eb..f9f1045 100644
--- a/pages/shop/index.fnl
+++ b/pages/shop/index.fnl
@@ -132,7 +132,8 @@
:style (.. "z-index: " (+ idx 2) ";"
"width: calc(100% / " (# without-videos) ");"
"left: calc(100% / " (# without-videos) " * " (- idx 1) ")")}]))))]]
- [:h3 {:class "shop-item-title" :data-parser "title"} product.title]
+ [:a {:href item-url :class "shop-item-title"}
+ [:h3 {:data-parser "title"} product.title]]
(templates.product-overview product "mb-1-25")
[:div {:class "shop-item-price mt-auto mb-0-5"}
(templates.add-to-basket-form product basket "" redirect-url)]]))
diff --git a/pages/shop/order/index.fnl b/pages/shop/order/index.fnl
index 4cafd62..904c219 100644
--- a/pages/shop/order/index.fnl
+++ b/pages/shop/order/index.fnl
@@ -21,9 +21,8 @@
(fn content [db basket data errors agreed-to-cookies? authenticated?]
[(HTML
[:aside {}
- (templates.header "/shop/order")
+ (templates.header "/shop/order" authenticated?)
(if (< 0 (# basket)) (templates.basket basket "/shop/order") "")
- (templates.conditions-block)
(templates.address-block)
(templates.contact-block)])
(HTML
@@ -31,7 +30,7 @@
(if (not agreed-to-cookies?) (templates.cookies-agreement) "")
[:div {:class "back"} [:a {:href "/shop"} "⟵ Обратно к списку"]]
[:section {}
- [:h2 {:id "content"} "Оформление заказа"]
+ [:h2 {:id "content" :class "mb-1"} "Оформление заказа"]
[:section {:class "narrow"}
[:p {:class "mb-0-5"}
"После подтверждения заказа мы с вами свяжемся для уточнения