diff options
Diffstat (limited to 'src/components/HowItWorksCard.svelte')
| -rw-r--r-- | src/components/HowItWorksCard.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/HowItWorksCard.svelte b/src/components/HowItWorksCard.svelte index 6f94efcb..519cdcdc 100644 --- a/src/components/HowItWorksCard.svelte +++ b/src/components/HowItWorksCard.svelte @@ -1,11 +1,12 @@ <script> + import Icon from './Icon.svelte'; export let image; export let step; export let description; </script> <div class="space-y-5"> - <img src="/icons/{image}.svg" alt={image} class="mx-auto w-32 h-32" /> + <Icon icon={image} style="mx-auto w-32 h-32" /> <p class="text-2xl font-medium">{step}</p> <p class="text-secondary text-xl font-medium w-full md:w-2/3 mx-auto"> {description} |
