Components
Call to Action (CTA)
Guide for CtaOne.svelte and CtaTwo.svelte components
These components give you the ability to quickly explain your value proposition and draw attention to the problem you can help the user with.
CTA One
Location: src/components/CtaOne.svelte
Setup
You can change the list of benefits that the component rotates through by editing the benefits
array as shown below:
CtaOne.svelte
CTA Two
Location: src/components/CtaTwo.svelte
You can add a an on:click
handler to the button to call the checkout or scroll to the pricing section using the custom functions defined in your $lib (checkout
or scrollIntoView
).