forked from emre/www_projectmycelium_com
refactor: update CallToAction "Join the Network" button to scroll to download section instead of node-how-it-works
- Changed smoothScrollToElement target from 'node-how-it-works' to 'download' section - Maintained 1200ms scroll duration
This commit is contained in:
@@ -51,7 +51,7 @@ Use the network to link environments, deploy workloads, or host nodes to strengt
|
|||||||
|
|
||||||
{/* ✅ Two cards, stacked center with spacing */}
|
{/* ✅ Two cards, stacked center with spacing */}
|
||||||
<div className="mt-10 flex flex-wrap justify-center items-center gap-x-6 gap-y-4">
|
<div className="mt-10 flex flex-wrap justify-center items-center gap-x-6 gap-y-4">
|
||||||
<Button variant="solid" color="cyan" onClick={() => smoothScrollToElement('node-how-it-works', 1200)}
|
<Button variant="solid" color="cyan" onClick={() => smoothScrollToElement('download', 1200)}
|
||||||
>
|
>
|
||||||
Join the Network
|
Join the Network
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user