From 82bb2f58233ec86d52a1ffcb41e16c4bec1dac05 Mon Sep 17 00:00:00 2001 From: Ewan Croft Date: Wed, 3 Jun 2026 08:41:38 +0100 Subject: [PATCH] feat(branding): add logos and icon components, fix footer icon hover --- src/lib/components/icons/Eurosky.svelte | 7 +++++++ src/lib/components/icons/Leaflet.svelte | 7 +++++++ src/lib/components/icons/StandardSite.svelte | 7 +++++++ src/lib/styles/components.css | 12 +++++------- static/assets/logos/bluesky.svg | 3 +++ static/assets/logos/eurosky.svg | 3 +++ static/assets/logos/leaflet.svg | 3 +++ static/assets/logos/standard-site.svg | 3 +++ 8 files changed, 38 insertions(+), 7 deletions(-) create mode 100644 src/lib/components/icons/Eurosky.svelte create mode 100644 src/lib/components/icons/Leaflet.svelte create mode 100644 src/lib/components/icons/StandardSite.svelte create mode 100644 static/assets/logos/bluesky.svg create mode 100644 static/assets/logos/eurosky.svg create mode 100644 static/assets/logos/leaflet.svg create mode 100644 static/assets/logos/standard-site.svg diff --git a/src/lib/components/icons/Eurosky.svelte b/src/lib/components/icons/Eurosky.svelte new file mode 100644 index 0000000..886ea96 --- /dev/null +++ b/src/lib/components/icons/Eurosky.svelte @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/src/lib/components/icons/Leaflet.svelte b/src/lib/components/icons/Leaflet.svelte new file mode 100644 index 0000000..41491a5 --- /dev/null +++ b/src/lib/components/icons/Leaflet.svelte @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/src/lib/components/icons/StandardSite.svelte b/src/lib/components/icons/StandardSite.svelte new file mode 100644 index 0000000..50f73b8 --- /dev/null +++ b/src/lib/components/icons/StandardSite.svelte @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/src/lib/styles/components.css b/src/lib/styles/components.css index c33e5b3..db12aac 100644 --- a/src/lib/styles/components.css +++ b/src/lib/styles/components.css @@ -94,12 +94,6 @@ display: flex; align-items: center; gap: var(--space-xs); - opacity: 0.4; - transition: opacity var(--duration-normal) var(--ease-out-quart); -} - -.footer-symbols:hover { - opacity: 0.8; } .symbol-sep { @@ -115,11 +109,15 @@ .footer-icon-link { display: flex; color: var(--color-ink-600); - transition: color var(--duration-fast) var(--ease-out-quart); + opacity: 0.4; + transition: + color var(--duration-fast) var(--ease-out-quart), + opacity var(--duration-fast) var(--ease-out-quart); } .footer-icon-link:hover { color: var(--color-primary-500); + opacity: 1; } .footer-nav { diff --git a/static/assets/logos/bluesky.svg b/static/assets/logos/bluesky.svg new file mode 100644 index 0000000..9bc835c --- /dev/null +++ b/static/assets/logos/bluesky.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/static/assets/logos/eurosky.svg b/static/assets/logos/eurosky.svg new file mode 100644 index 0000000..6452a50 --- /dev/null +++ b/static/assets/logos/eurosky.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/static/assets/logos/leaflet.svg b/static/assets/logos/leaflet.svg new file mode 100644 index 0000000..e616e89 --- /dev/null +++ b/static/assets/logos/leaflet.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/static/assets/logos/standard-site.svg b/static/assets/logos/standard-site.svg new file mode 100644 index 0000000..17b8bb7 --- /dev/null +++ b/static/assets/logos/standard-site.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file -- 2.51.2