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 | 15dffb3a0216c0eccc06b2fc449c423aba6811b2 (patch) | |
| tree | a664d3217f40c06b81c1b73f4c1761b3961f8bc8 /src/components/HowItWorksCard.svelte | |
| parent | a124ebdfdc90aee2c8af0fffa83500055829db92 (diff) | |
| download | coinos-ui-15dffb3a0216c0eccc06b2fc449c423aba6811b2.tar.gz coinos-ui-15dffb3a0216c0eccc06b2fc449c423aba6811b2.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} |
