diff --git a/web/src/lib/components/ui/ShimmerText.stories.svelte b/web/src/lib/components/ui/ShimmerText.stories.svelte new file mode 100644 index 000000000..3ad162401 --- /dev/null +++ b/web/src/lib/components/ui/ShimmerText.stories.svelte @@ -0,0 +1,38 @@ + + +Cloning repository +Waiting for a runner +Pipeline running +Taking a while + + + {#snippet template()} +
+ Resolving knots + Fetching objects + Building index +
+ {/snippet} +
diff --git a/web/src/lib/components/ui/ShimmerText.svelte b/web/src/lib/components/ui/ShimmerText.svelte new file mode 100644 index 000000000..307537c17 --- /dev/null +++ b/web/src/lib/components/ui/ShimmerText.svelte @@ -0,0 +1,110 @@ + + + + + + {@render children()} + + +