From 99800ce8292b95f2b78ba7966f91aa651cfa4eff Mon Sep 17 00:00:00 2001 From: Jake Hamilton Date: Fri, 25 Oct 2024 12:08:10 -0700 Subject: [PATCH] feat(root page): redesign the hero element, add dividers between sections --- src/lib/components/FlowerDivider.svelte | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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}