From e6285c81ae9e454d631855eb2993dd139dfd954f Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Sat, 13 Jun 2026 15:08:49 +0200 Subject: [PATCH] updated iframe with multi stream option --- frontend/src/pages/Stream.jsx | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/frontend/src/pages/Stream.jsx b/frontend/src/pages/Stream.jsx index 6e39b34..768ff32 100644 --- a/frontend/src/pages/Stream.jsx +++ b/frontend/src/pages/Stream.jsx @@ -1,4 +1,14 @@ +import { useState } from "react"; + +const streams = [ + { id: "aramstream", label: "Aram" }, + { id: "generalstream", label: "General" }, + { id: "gueststream", label: "Guest" }, +]; + export default function Stream() { + const [activeStream, setActiveStream] = useState("aramstream"); + return (
@@ -6,12 +16,27 @@ export default function Stream() { Stream +
+ {streams.map((s) => ( + + ))} +
+