replacing chat with widgetbot for now

This commit is contained in:
sunda 2022-09-07 16:40:27 +02:00
parent c24124c970
commit 2651e1cb37
2 changed files with 9 additions and 10 deletions

View File

@ -26,15 +26,14 @@ const Chat = ({ overlayActive }) => {
</Label> </Label>
<CloseBox colour={colours.white} size={18} onClick={toggleChatOpen} /> <CloseBox colour={colours.white} size={18} onClick={toggleChatOpen} />
</ChatHeader> </ChatHeader>
{/* <iframe <iframe
src="https://discord.com/widget?id=854082188785221662&theme=dark" src={`https://e.widgetbot.io/channels/${config.chat.guildId}/${config.chat.channelId}`}
height={(height / 4) * 3}
width="350" width="350"
height="500"
allowTransparency="true"
frameBorder="0" frameBorder="0"
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts" className="titanembed"
title="chat" title="discord-chat"
/> */} />
</ChatFrame> </ChatFrame>
</ChatWrapper> </ChatWrapper>
) : ( ) : (

View File

@ -1,8 +1,9 @@
export default { export default {
meta: { meta: {
title: 'Underscore streams', title: 'Underscore streams',
description: 'Quality live programming from beyond the surveillance economy.', description:
img: 'https://stream.undersco.re/static/meta.png' 'Quality live programming from beyond the surveillance economy.',
img: 'https://stream.undersco.re/static/meta.png',
}, },
peertube_root: 'https://tv.undersco.re', peertube_root: 'https://tv.undersco.re',
EVENTS_API_URL: 'https://api.undersco.re', EVENTS_API_URL: 'https://api.undersco.re',
@ -11,6 +12,5 @@ export default {
chat: { chat: {
guildId: '709318870909059082', guildId: '709318870909059082',
channelId: '826751398757793842', channelId: '826751398757793842',
css: '215',
}, },
} }