diff --git a/src/lib/assets/leaf.svg b/src/lib/assets/leaf.svg new file mode 100644 index 0000000..906c326 --- /dev/null +++ b/src/lib/assets/leaf.svg @@ -0,0 +1,57 @@ + + + + diff --git a/src/lib/assets/petal.svg b/src/lib/assets/petal.svg new file mode 100644 index 0000000..f572ff8 --- /dev/null +++ b/src/lib/assets/petal.svg @@ -0,0 +1,57 @@ + + + + diff --git a/src/lib/components/FlowerDivider.svelte b/src/lib/components/FlowerDivider.svelte index 0f45ec5..af1f3e1 100644 --- a/src/lib/components/FlowerDivider.svelte +++ b/src/lib/components/FlowerDivider.svelte @@ -3,11 +3,15 @@
- {#snippet flower()} - + {#snippet flower(alt)} + {#if alt} + + {:else} + + {/if} {/snippet} {#each range(1, 5) as i} - {@render flower()} + {@render flower(i % 2 == 0)} {/each}
diff --git a/src/lib/components/LinkChip.svelte b/src/lib/components/LinkChip.svelte new file mode 100644 index 0000000..26a0e41 --- /dev/null +++ b/src/lib/components/LinkChip.svelte @@ -0,0 +1,9 @@ + + + + {@render props.children?.()} + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2cabcd1..da00694 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,6 @@