From 07da0694fb5b1ee083b82c8a4467e8fc17c36da3 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Wed, 1 Nov 2023 15:57:22 +0100 Subject: [PATCH] add Nonntal --- assets/favicons/salzburg.svg | 5 +++++ data/Salzburg.json | 38 ++++++++++++++++++++++++++++++++++++ src/favicon.ts | 3 +++ 3 files changed, 46 insertions(+) create mode 100644 assets/favicons/salzburg.svg diff --git a/assets/favicons/salzburg.svg b/assets/favicons/salzburg.svg new file mode 100644 index 0000000..0341fc4 --- /dev/null +++ b/assets/favicons/salzburg.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/data/Salzburg.json b/data/Salzburg.json index bc1ce3b..1814f0c 100644 --- a/data/Salzburg.json +++ b/data/Salzburg.json @@ -319,5 +319,43 @@ ], "length": 13.83 } + }, + { + "id": 3743706375, + "type": "prideFlag", + "name": "Salzburg Nonntal", + "sources": [ + { + "type": "official", + "url": "https://www.stadt-salzburg.at/presseaussendungen/presseaussendungen-2023/neuer-regenbogen-zebrastreifen-im-nonntal-vor-praxisvolksschule/", + "date": "2023-10-12" + } + ], + "geosource": { + "type": "RawCoords", + "coords": [ + [ + 13.052757447940975, + 47.7922130293519 + ], + [ + 13.052689626448107, + 47.79231175108717 + ] + ] + }, + "geo": { + "coords": [ + [ + 13.052757447940975, + 47.7922130293519 + ], + [ + 13.052689626448107, + 47.79231175108717 + ] + ], + "length": 12.09 + } } ] diff --git a/src/favicon.ts b/src/favicon.ts index 7a6aa03..bdffa3d 100644 --- a/src/favicon.ts +++ b/src/favicon.ts @@ -20,6 +20,7 @@ import apaIcon from "../assets/favicons/apa.png" import facebookIcon from "../assets/favicons/facebook.svg" import heuteIcon from "../assets/favicons/heute.at.png" import gmapsIcon from "../assets/favicons/gmaps.svg" +import salzburgIcon from "../assets/favicons/salzburg.svg" export function faviconByHostname(hostname: string, pathname: string): string | undefined { @@ -61,6 +62,8 @@ export function faviconByHostname(hostname: string, pathname: string): string | return facebookIcon case "www.heute.at": return heuteIcon + case "www.stadt-salzburg.at": + return salzburgIcon } if (hostname.includes("spoe")) {