diff options
| author | unwox <me@unwox.com> | 2025-10-30 21:05:19 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-10-30 21:05:19 +0600 |
| commit | d5c0dd24c01c3406af3e8f8f166cb629b8bbf811 (patch) | |
| tree | b14bf491558550b28e39a01b9a5b8a44d8b27886 /pages/shop | |
| parent | 5ea0e8309eaed8d0349696504e4a8b78997058b0 (diff) | |
improve navigation on mobiles
Diffstat (limited to 'pages/shop')
| -rw-r--r-- | pages/shop/_product/index.fnl | 2 | ||||
| -rw-r--r-- | pages/shop/index.fnl | 2 |
2 files changed, 2 insertions, 2 deletions
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)))) |
