diff options
| author | secondl1ght <[email protected]> | 2022-07-21 22:22:30 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-21 22:22:30 -0600 |
| commit | f42fd791172d8b2c0e507399e5081cc906474cb2 (patch) | |
| tree | cb537d8b2c4868a4f61dd0a123f0b5e08d05884c /src/components/HowItWorksCard.svelte | |
| parent | 83052d94f734e8618260c0655cd7b7a23b06d836 (diff) | |
| download | coinos-ui-f42fd791172d8b2c0e507399e5081cc906474cb2.tar.gz coinos-ui-f42fd791172d8b2c0e507399e5081cc906474cb2.zip | |
add register and login pages, DRY up more, add $comp, add new components
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} |
