From d5c0dd24c01c3406af3e8f8f166cb629b8bbf811 Mon Sep 17 00:00:00 2001 From: unwox Date: Thu, 30 Oct 2025 21:05:19 +0600 Subject: improve navigation on mobiles --- pages/shop/_product/index.fnl | 2 +- pages/shop/index.fnl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pages') diff --git a/pages/shop/_product/index.fnl b/pages/shop/_product/index.fnl index aabd713..6d2e3f3 100644 --- a/pages/shop/_product/index.fnl +++ b/pages/shop/_product/index.fnl @@ -61,7 +61,7 @@ [:div {:class "product-page-layout"} [:section {} - [:h2 {:class "product-page-title"} product.title] + [:h2 {:class "product-page-title" :id "content"} product.title] (if authenticated? (HTML [:div {:class "mb-1" :style "margin-top: -0.5rem;"} diff --git a/pages/shop/index.fnl b/pages/shop/index.fnl index 2486bc3..c456408 100644 --- a/pages/shop/index.fnl +++ b/pages/shop/index.fnl @@ -103,7 +103,7 @@ "")) (fn item-template [product basket redirect-url] - (local item-url (.. "/shop/" product.name)) + (local item-url (.. "/shop/" product.name "#content")) (local images []) (for [i 2 5] (table.insert images (. product (.. "image" i)))) -- cgit v1.2.3