From c73f79532d8349b8bcd97cbb53f39e5a3c432459 Mon Sep 17 00:00:00 2001 From: simojenki Date: Mon, 30 Aug 2021 21:17:55 +1000 Subject: [PATCH] Add icon --- src/icon.ts | 5 ++++- web/icons/Progressive-Rock-24862.svg | 11 ++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/icon.ts b/src/icon.ts index 51699e2..9d53dd8 100644 --- a/src/icon.ts +++ b/src/icon.ts @@ -236,7 +236,8 @@ export type ICON = | "violin" | "celtic" | "children" - | "chillout"; + | "chillout" + | "progressiveRock"; const iconFrom = (name: string) => new SvgIcon( @@ -260,6 +261,7 @@ export const ICONS: Record = { mushroom: iconFrom("Mushroom-63864.svg"), african: iconFrom("Africa-48087.svg"), rock: iconFrom("Rock-Music-11007.svg"), + progressiveRock: iconFrom("Progressive-Rock-24862.svg"), metal: iconFrom("Metal-Music-17763.svg"), punk: iconFrom("Punk-40450.svg"), americana: iconFrom("US-Capitol-104805.svg"), @@ -329,6 +331,7 @@ const GENRE_RULES: [RULE, ICON][] = [ [eq("Stoner Rock"), "cannabis"], [eq("Turntablism"), "vinyl"], [eq("Celtic"), "celtic"], + [eq("Progressive Rock"), "progressiveRock"], [containsWord("Country"), "country"], [containsWord("Rock"), "rock"], [containsWord("Folk"), "guitar"], diff --git a/web/icons/Progressive-Rock-24862.svg b/web/icons/Progressive-Rock-24862.svg index 6907b17..368cce5 100644 --- a/web/icons/Progressive-Rock-24862.svg +++ b/web/icons/Progressive-Rock-24862.svg @@ -1 +1,10 @@ - \ No newline at end of file + + + + + + + + + + \ No newline at end of file