aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/HowItWorksCard.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-07 21:16:25 -0800
committerAdam Soltys <[email protected]>2024-11-08 09:27:40 -0800
commit32fcc461cd43c8907df5e306d520bb671307eab1 (patch)
tree0253780c569998b6c1a5f43026586e94916c3fee /src/components/HowItWorksCard.svelte
parentbe5aa52cea1d57c875cfb22d25c6a866b8de2239 (diff)
downloadcoinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.tar.gz
coinos-ui-32fcc461cd43c8907df5e306d520bb671307eab1.zip
svelte 5
Diffstat (limited to 'src/components/HowItWorksCard.svelte')
-rw-r--r--src/components/HowItWorksCard.svelte5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/HowItWorksCard.svelte b/src/components/HowItWorksCard.svelte
index a8fe63fd..2b8967ae 100644
--- a/src/components/HowItWorksCard.svelte
+++ b/src/components/HowItWorksCard.svelte
@@ -1,12 +1,11 @@
<script>
import Icon from "./Icon.svelte";
import { t } from "$lib/translations";
- export let image;
- export let stepID;
+ let { image, stepID } = $props();
</script>
<div class="space-y-5">
- <iconify-icon icon={image} class="mx-auto" width="128" />
+ <iconify-icon icon={image} class="mx-auto" width="128"></iconify-icon>
<p class="text-2xl font-medium">{$t("howItWorks." + stepID + ".header")}</p>
<p class="text-secondary text-xl font-medium w-full md:w-2/3 mx-auto">
{$t("howItWorks." + stepID + ".description")}