From bbb4b5774b5682899740d6900590aae4e79d3717 Mon Sep 17 00:00:00 2001 From: Jake Hamilton Date: Fri, 25 Oct 2024 13:56:29 -0700 Subject: [PATCH] feat(root page): break out hero links into chips, add accent colors on hover --- src/lib/assets/leaf.svg | 57 +++++++++++++++++++++++++ src/lib/assets/petal.svg | 57 +++++++++++++++++++++++++ src/lib/components/FlowerDivider.svelte | 7 +-- src/lib/components/LinkChip.svelte | 9 ++++ src/routes/+page.svelte | 34 +++++++-------- 5 files changed, 144 insertions(+), 20 deletions(-) create mode 100644 src/lib/assets/leaf.svg create mode 100644 src/lib/assets/petal.svg create mode 100644 src/lib/components/LinkChip.svelte 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 862cbd0..572b263 100644 --- a/src/lib/components/FlowerDivider.svelte +++ b/src/lib/components/FlowerDivider.svelte @@ -1,5 +1,6 @@
@@ -8,8 +9,8 @@ using the normal img element instead... --> flower + flower flower - flower - flower + flower flower
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 0985929..f8da998 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,6 @@