From ccd7a2c2677bcacdd33c6271dc61e9e661c3412c Mon Sep 17 00:00:00 2001 From: Luna Date: Sun, 25 Jul 2021 14:12:24 -0700 Subject: [PATCH] Frontend changed twitch embed to chaos stream embed --- frontend/chat.js | 2 +- frontend/index.css | 18 +++++++------ frontend/index.html | 66 ++++++++++++++++++++++++++------------------- 3 files changed, 49 insertions(+), 37 deletions(-) diff --git a/frontend/chat.js b/frontend/chat.js index 173bdd6..0c4794f 100644 --- a/frontend/chat.js +++ b/frontend/chat.js @@ -47,7 +47,7 @@ async function sendMessage() { // RECIEVE MESSAGES -let messageUpdate = window.setInterval(fetchMessages, 500); +let messageUpdate = window.setInterval(fetchMessages, 1000); async function fetchMessages() { const response = await fetch('/api/message/messages.json'); diff --git a/frontend/index.css b/frontend/index.css index 29147e3..dc47104 100644 --- a/frontend/index.css +++ b/frontend/index.css @@ -14,22 +14,24 @@ a { height: 100%; max-width: 960px; margin: 0 auto; + margin-top: -1%; } #stream { - background-color: white; - padding: 5%; - box-shadow: 10px 10px 10px black; - border-radius: 5px; - width: 854px; - height: 480px; + width: 960px; + height: 540px; margin-right: 0.3em; margin-left: -40%; margin-top: auto; margin-bottom: 20%; } +#streamframe { + height: 100%; + width: 100%; +} + #chatbox { flex: 1; height: 53rem; @@ -60,6 +62,6 @@ a { padding: 15px; border-bottom: solid; border-left: solid; - border-color: white; - border-width: 1px; + border-color: lightblue; + border-width: 2px; } diff --git a/frontend/index.html b/frontend/index.html index fefdb0f..1e20b76 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,46 +1,56 @@ - - Maya's Stream - - - - - - - + + Maya's Stream + + + + + + + - -
-
-
-

This is where the stream will go.

-
+
+
+ +
- - -
+ + +
- + - + \ No newline at end of file