Add TikTok icon

This commit is contained in:
Max Goodhart
2022-06-24 23:22:34 -07:00
parent 9de3ffd1e2
commit 5c10e7fc82
2 changed files with 4 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ import FacebookIcon from '../static/facebook.svg'
import PeriscopeIcon from '../static/periscope.svg'
import TwitchIcon from '../static/twitch.svg'
import YouTubeIcon from '../static/youtube.svg'
import TikTokIcon from '../static/tiktok.svg'
import SoundIcon from '../static/volume-up-solid.svg'
function Overlay({ config, views, streams }) {
@@ -131,6 +132,8 @@ function StreamIcon({ url, ...props }) {
return <PeriscopeIcon {...props} />
} else if (host === 'instagram.com') {
return <InstagramIcon {...props} />
} else if (host === 'tiktok.com') {
return <TikTokIcon {...props} />
}
return null
}

1
src/static/tiktok.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"/></svg>

After

Width:  |  Height:  |  Size: 467 B