prettier plus updates to the header entry. Stream gets iframe page instead of redirect

This commit is contained in:
2026-05-09 21:22:59 +02:00
parent 8f5714ac28
commit d98b18aeb9
18 changed files with 513 additions and 462 deletions
+9 -5
View File
@@ -2,13 +2,17 @@ import "./App.css";
import Layout from "./components/Layout";
import Home from "./pages/Home";
import Stream from "./pages/Stream";
function App() {
return (
<Layout>
<Home />
</Layout>
);
const path = window.location.pathname.toLowerCase();
let content = <Home />;
if (path === "/stream") {
content = <Stream />;
}
return <Layout>{content}</Layout>;
}
export default App;