Link property is not working in the Footer component

Please see the attached images for reference.
What I want to achieve: I use the same Footer component for the Home & About page, within that component, I have a [Back to top] button at the left down corner. I want to link that button to destination A when it’s on the Home page, and link the button to destination B on About page.

The issue: I created 2 properties for the button “Link”, one to destination A and one to destination B. However, when I set one link, it always affects the other link on the other page, so the button on Home & About pages ended up link the same destination. How do I fix that? Thank you!



Read only link Here

Published site: https://www.rupingma.com/


Here is my site Read-Only: LINK
(how to share your site Read-Only link)