From b71d51de211460d2cbd8d854ceaf8b6be6679897 Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 9 Aug 2024 16:35:00 +0600 Subject: [PATCH] web: move svg icons from lib to components --- web/src/components/donate/DonateBanner.svelte | 2 +- web/src/components/donate/DonateShareCard.svelte | 2 +- web/src/{lib => components}/icons/Clipboard.svelte | 0 web/src/{lib => components}/icons/Cobalt.svelte | 0 web/src/{lib => components}/icons/CobaltQR.svelte | 0 web/src/{lib => components}/icons/CobaltSticker.svelte | 0 web/src/{lib => components}/icons/Imput.svelte | 0 web/src/{lib => components}/icons/Music.svelte | 0 web/src/{lib => components}/icons/Mute.svelte | 0 web/src/{lib => components}/icons/Sparkles.svelte | 0 web/src/components/misc/NotchSticker.svelte | 2 +- web/src/components/save/Omnibox.svelte | 8 ++++---- web/src/components/sidebar/CobaltLogo.svelte | 6 ++---- 13 files changed, 9 insertions(+), 11 deletions(-) rename web/src/{lib => components}/icons/Clipboard.svelte (100%) rename web/src/{lib => components}/icons/Cobalt.svelte (100%) rename web/src/{lib => components}/icons/CobaltQR.svelte (100%) rename web/src/{lib => components}/icons/CobaltSticker.svelte (100%) rename web/src/{lib => components}/icons/Imput.svelte (100%) rename web/src/{lib => components}/icons/Music.svelte (100%) rename web/src/{lib => components}/icons/Mute.svelte (100%) rename web/src/{lib => components}/icons/Sparkles.svelte (100%) diff --git a/web/src/components/donate/DonateBanner.svelte b/web/src/components/donate/DonateBanner.svelte index 8a99a136..39437af6 100644 --- a/web/src/components/donate/DonateBanner.svelte +++ b/web/src/components/donate/DonateBanner.svelte @@ -3,7 +3,7 @@ import { t } from "$lib/i18n/translations"; - import Imput from "$lib/icons/Imput.svelte"; + import Imput from "$components/icons/Imput.svelte"; import Meowbalt from "$components/misc/Meowbalt.svelte"; import IconHeart from "@tabler/icons-svelte/IconHeart.svelte"; diff --git a/web/src/components/donate/DonateShareCard.svelte b/web/src/components/donate/DonateShareCard.svelte index 86f69908..99be5eee 100644 --- a/web/src/components/donate/DonateShareCard.svelte +++ b/web/src/components/donate/DonateShareCard.svelte @@ -13,7 +13,7 @@ import IconBrandTwitter from "@tabler/icons-svelte/IconBrandTwitter.svelte"; import IconMoodSmileBeam from "@tabler/icons-svelte/IconMoodSmileBeam.svelte"; - import CobaltQr from "$lib/icons/CobaltQR.svelte"; + import CobaltQr from "$components/icons/CobaltQR.svelte"; import CopyIcon from "$components/misc/CopyIcon.svelte"; const cobaltUrl = "https://cobalt.tools/"; diff --git a/web/src/lib/icons/Clipboard.svelte b/web/src/components/icons/Clipboard.svelte similarity index 100% rename from web/src/lib/icons/Clipboard.svelte rename to web/src/components/icons/Clipboard.svelte diff --git a/web/src/lib/icons/Cobalt.svelte b/web/src/components/icons/Cobalt.svelte similarity index 100% rename from web/src/lib/icons/Cobalt.svelte rename to web/src/components/icons/Cobalt.svelte diff --git a/web/src/lib/icons/CobaltQR.svelte b/web/src/components/icons/CobaltQR.svelte similarity index 100% rename from web/src/lib/icons/CobaltQR.svelte rename to web/src/components/icons/CobaltQR.svelte diff --git a/web/src/lib/icons/CobaltSticker.svelte b/web/src/components/icons/CobaltSticker.svelte similarity index 100% rename from web/src/lib/icons/CobaltSticker.svelte rename to web/src/components/icons/CobaltSticker.svelte diff --git a/web/src/lib/icons/Imput.svelte b/web/src/components/icons/Imput.svelte similarity index 100% rename from web/src/lib/icons/Imput.svelte rename to web/src/components/icons/Imput.svelte diff --git a/web/src/lib/icons/Music.svelte b/web/src/components/icons/Music.svelte similarity index 100% rename from web/src/lib/icons/Music.svelte rename to web/src/components/icons/Music.svelte diff --git a/web/src/lib/icons/Mute.svelte b/web/src/components/icons/Mute.svelte similarity index 100% rename from web/src/lib/icons/Mute.svelte rename to web/src/components/icons/Mute.svelte diff --git a/web/src/lib/icons/Sparkles.svelte b/web/src/components/icons/Sparkles.svelte similarity index 100% rename from web/src/lib/icons/Sparkles.svelte rename to web/src/components/icons/Sparkles.svelte diff --git a/web/src/components/misc/NotchSticker.svelte b/web/src/components/misc/NotchSticker.svelte index 7dd45af2..22a98ae5 100644 --- a/web/src/components/misc/NotchSticker.svelte +++ b/web/src/components/misc/NotchSticker.svelte @@ -1,7 +1,7 @@