feat(root page): redesign the hero element, add dividers between sections
This commit is contained in:
parent
18dfb6face
commit
99800ce829
|
@ -3,11 +3,15 @@
|
|||
</script>
|
||||
|
||||
<div class="flex w-full justify-center gap-x-12">
|
||||
{#snippet flower()}
|
||||
<enhanced:img src="$lib/assets/flower-gray.svg" width="24" height="24" alt="flower" />
|
||||
{#snippet flower(alt)}
|
||||
{#if alt}
|
||||
<enhanced:img src="$lib/assets/flower-gray.svg" width="24" height="24" alt="flower" />
|
||||
{:else}
|
||||
<enhanced:img src="$lib/assets/flower.svg" width="24" height="24" alt="flower" />
|
||||
{/if}
|
||||
{/snippet}
|
||||
|
||||
{#each range(1, 5) as i}
|
||||
{@render flower()}
|
||||
{@render flower(i % 2 == 0)}
|
||||
{/each}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue