From 257c799946bbc123bc39ef64cf0024040511a6ce Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 3 Nov 2024 22:25:09 -0800 Subject: iconify --- bun.lockb | Bin 162583 -> 163300 bytes package.json | 1 + src/components/AppHeader.svelte | 51 +++++++++++++++++++++++----------------- src/routes/+layout.ts | 1 + 4 files changed, 31 insertions(+), 22 deletions(-) diff --git a/bun.lockb b/bun.lockb index e0742e80..6022c722 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 1c0c1b84..5063dff8 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "daisyui": "^4.12.14", "date-fns": "^2.29.3", "html5-qrcode": "^2.3.8", + "iconify-icon": "^2.1.0", "leaflet": "^1.9.3", "leaflet.markercluster": "^1.5.3", "maplibre-gl": "^3.3.1", diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index 8ec0b5ed..4accd0dc 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -14,12 +14,12 @@ let menuButtons; $: if (user) menuButtons = [ - { key: "nav.settings", icon: "settings", href: `/settings` }, - { key: "nav.support", icon: "support", href: `/support` }, - { key: "nav.map", icon: "map", href: `/map` }, - { key: "nav.merch", icon: "shop", href: `https://coinosmerch.com` }, - { key: "nav.dark", icon: "moon", href: `/dark` }, - { key: "nav.signOut", icon: "logout", href: `/logout` }, + { key: "nav.settings", icon: "ph:gear-bold", href: `/settings` }, + { key: "nav.support", icon: "ph:lifebuoy-bold", href: `/support` }, + { key: "nav.map", icon: "ph:map-trifold-bold", href: `/map` }, + { key: "nav.merch", icon: "ph:storefront-bold", href: `https://coinosmerch.com` }, + { key: "nav.dark", icon: "ph:moon-stars-bold", href: `/dark` }, + { key: "nav.signOut", icon: "ph:sign-out-bold", href: `/logout` }, ]; let showMenu = false; @@ -40,37 +40,39 @@ {#if !$loading}