mirror of
https://github.com/Findus23/RainbowRoad.git
synced 2024-09-12 07:53:51 +02:00
more icons
This commit is contained in:
parent
0a50bb1705
commit
0844ab5be1
5 changed files with 15 additions and 1 deletions
BIN
assets/favicons/5min.png
Normal file
BIN
assets/favicons/5min.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 524 B |
|
@ -1,4 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 40 40" viewBox="0 0 40 40">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40">
|
||||
<linearGradient id="a" x1="-277.375" x2="-277.375" y1="406.602" y2="407.573" gradientTransform="matrix(40 0 0 -39.7778 11115.001 16212.334)" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0" style="stop-color:#0062e0"/>
|
||||
<stop offset="1" style="stop-color:#19afff"/>
|
||||
|
|
Before Width: | Height: | Size: 758 B After Width: | Height: | Size: 697 B |
4
assets/favicons/kleinezeitung.svg
Normal file
4
assets/favicons/kleinezeitung.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
|
||||
<path fill="#c50c0e" d="M119 0C53 0 0 53 0 119v786c0 66 53 119 119 119h786c65 0 119-53 119-119V119c0-66-53-119-119-119H119z"/>
|
||||
<path fill="#fff" d="M136 370h78v115l98-115h93L298 492l111 162h-94l-72-106-29 33v73h-78V370zm308 0h78v215h138v69H444V370zm257 263 154-235H706v-28h188v21L740 626h154v28H701v-21z" class="st1"/>
|
||||
</svg>
|
After Width: | Height: | Size: 395 B |
BIN
assets/favicons/vienna_at.png
Normal file
BIN
assets/favicons/vienna_at.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 506 B |
|
@ -21,6 +21,9 @@ 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"
|
||||
import viennaatIcon from "../assets/favicons/vienna_at.png"
|
||||
import f5minIcon from "../assets/favicons/5min.png"
|
||||
import kleinezeitungIcon from "../assets/favicons/kleinezeitung.svg"
|
||||
|
||||
|
||||
export function faviconByHostname(hostname: string, pathname: string): string | undefined {
|
||||
|
@ -64,6 +67,10 @@ export function faviconByHostname(hostname: string, pathname: string): string |
|
|||
return heuteIcon
|
||||
case "www.stadt-salzburg.at":
|
||||
return salzburgIcon
|
||||
case "www.vienna.at":
|
||||
return viennaatIcon
|
||||
case "www.kleinezeitung.at":
|
||||
return kleinezeitungIcon
|
||||
}
|
||||
|
||||
if (hostname.includes("spoe")) {
|
||||
|
@ -75,6 +82,9 @@ export function faviconByHostname(hostname: string, pathname: string): string |
|
|||
if (hostname.includes("orf.at")) {
|
||||
return orfIcon
|
||||
}
|
||||
if (hostname.endsWith("5min.at")) {
|
||||
return f5minIcon
|
||||
}
|
||||
if (hostname == "www.google.com" && pathname.startsWith("/maps/")) {
|
||||
return gmapsIcon
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue