From d52b9ede05332898c2fc413984916a8a45d0e3be Mon Sep 17 00:00:00 2001 From: oscgonfer Date: Wed, 27 Nov 2024 11:22:11 +0100 Subject: [PATCH] Improve behaviour of anchors to ensure click follows through --- .../components/landing/landing.controller.js | 1 + src/app/components/landing/landing.html | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/app/components/landing/landing.controller.js b/src/app/components/landing/landing.controller.js index 787a300f..38b11206 100644 --- a/src/app/components/landing/landing.controller.js +++ b/src/app/components/landing/landing.controller.js @@ -11,6 +11,7 @@ vm.showStore = showStore; vm.goToHash = goToHash; + $anchorScroll.yOffset = 80; /////////////////////// diff --git a/src/app/components/landing/landing.html b/src/app/components/landing/landing.html index 96e7d1a6..661a2604 100644 --- a/src/app/components/landing/landing.html +++ b/src/app/components/landing/landing.html @@ -14,7 +14,7 @@ DOCUMENTATION FORUM - GET YOUR KIT + @@ -26,9 +26,9 @@

SMART CITIZEN

OPEN TOOLS FOR ENVIRONMENTAL MONITORING

- LEARN MORE + >LEARN MORE
@@ -50,9 +50,9 @@

EMPOWERING COMMUNITIES FOR ACTION

BUILDING ON OUR HISTORY

The Smart Citizen project provides tools for collecting, understanding, and sharing environmental data. Since 2012, we have developed various iterations of the Smart Citizen Kit, allowing anyone to contribute and take part in data-driven action.

- GET YOUR KIT + >GET YOUR KIT
@@ -140,13 +140,13 @@

GET YOUR KIT

SMART CITIZEN KIT

We're excited to release our newest version of the Smart Citizen Kit! Smart Citizen 2.3 is an upgrade of the kit that you already know and love, and it will be available soon through SEEED Studio. The latest version includes UV readings, an improved PM sensor and lots of new features!

Stay tuned by subscribing to our newsletter.

- SUBSCRIBE +
- +