BUGFIX: Fixed database not storing the num_viewers for each stream
UI: Changed styling for components
This commit is contained in:
BIN
frontend/public/images/category_thumbnails/fifa_24.webp
Normal file
BIN
frontend/public/images/category_thumbnails/fifa_24.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 168 KiB |
@@ -55,9 +55,9 @@ body[data-theme="light"] {
|
||||
--user-pfp-border: #ffffff;
|
||||
--user-pfp-border-shadow: -10px 15px 25px rgba(0, 0, 0, 0.754);
|
||||
|
||||
--user-borderBg: rgb(123, 0, 0);
|
||||
--user-borderBg: rgb(70, 0, 67);
|
||||
--user-box: rgb(128, 0, 255);
|
||||
--user-box-strip: rgb(255, 0, 0);
|
||||
--user-box-strip: rgb(120, 3, 120);
|
||||
--user-box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.754);
|
||||
--user-sideBox: rgb(149, 0, 255);
|
||||
--user-contentBox: rgb(255, 255, 253);
|
||||
|
||||
@@ -41,9 +41,6 @@ const Footer = () => {
|
||||
{/* About Section */}
|
||||
<div className="flex-1 min-w-[250px]">
|
||||
<h2 className="text-2xl font-bold">Gander</h2>
|
||||
<p className="text-sm mt-2">
|
||||
Your very favourite streaming service
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Office Section */}
|
||||
|
||||
@@ -79,8 +79,7 @@ const AllCategoriesPage: React.FC = () => {
|
||||
|
||||
return (
|
||||
<DynamicPageContent
|
||||
className="min-h-screen bg-gradient-radial from-[#ff00f1] via-[#0400ff] to-[#ff0000]"
|
||||
style={{ backgroundImage: "url(/images/background-pattern.svg)" }}
|
||||
className="min-h-screen"
|
||||
>
|
||||
<ListRow
|
||||
ref={listRowRef}
|
||||
|
||||
@@ -133,7 +133,7 @@ const UserPage: React.FC = () => {
|
||||
bg-[var(--user-box)] z-10 flex-shrink justify-center"
|
||||
style={{ boxShadow: "var(--user-box-shadow)" }}
|
||||
>
|
||||
<div className="absolute top-4 w-[99.8%] h-[1.5vh] min-h-[10px] max-h-[2em] bg-[var(--user-box-strip)]"></div>
|
||||
<div className="absolute top-4 w-[99.8%] h-[1vh] min-h-[1em] max-h-[2em] bg-[var(--user-box-strip)]"></div>
|
||||
</div>
|
||||
{/* Profile Picture */}
|
||||
<div
|
||||
|
||||
@@ -56,7 +56,7 @@ def handle_leave(data) -> None:
|
||||
if user_id:
|
||||
remove_favourability_entry(data["user_id"], stream_id)
|
||||
num_viewers = len(list(socketio.server.manager.get_participants("/", stream_id)))
|
||||
update_viewers(str(user_id), str(stream_id))
|
||||
update_viewers(stream_id, num_viewers)
|
||||
emit("status",
|
||||
{
|
||||
"message": f"Welcome to the chat, stream_id: {stream_id}",
|
||||
|
||||
Reference in New Issue
Block a user