Components
Hero
Guide for HeroOne.svelte and HeroTwo.svelte components
These components will state your hook, value proposition, and a call to action.
For both components you can add an on:click
handler to the buttons to call the checkout or scroll to a section using the custom functions defined in your $lib (checkout
or scrollIntoView
). Alternatively, you could use goto
from Svelte’s navigation library to send the user to a different page.
Hero One
Location: src/components/HeroOne.svelte
Hero Two
Location: src/components/HeroTwo.svelte