diff --git a/web/pages/index.tsx b/web/pages/index.tsx index 43693a123..1b7077f0e 100644 --- a/web/pages/index.tsx +++ b/web/pages/index.tsx @@ -8,7 +8,7 @@ TODO: Link each overview value to the sub-page that focuses on it. */ import React, { useState, useEffect, useContext } from "react"; -import { Row, Skeleton, Empty, Typography } from "antd"; +import { Row, Skeleton, Result, List, Typography, Card } from "antd"; import { UserOutlined, ClockCircleOutlined } from "@ant-design/icons"; import { formatDistanceToNow, formatRelative } from "date-fns"; import { BroadcastStatusContext } from "../utils/broadcast-status-context"; @@ -28,16 +28,54 @@ import OwncastLogo from "./components/logo" const { Title } = Typography; function Offline() { + const data = [ + { + title: "Send some test content", + content: ( +
+ With any video you have around you can pass it to the test script and start streaming it. +
+ ./test/ocTestStream.sh yourVideo.mp4 +
+
+ ), + }, + { + title: "Use your broadcasting software", + content: ( +
+ Learn how to point your existing software to your new server and start streaming your content. +
+ ) + }, + { + title: "Something else", + }, + ]; return (
- } - imageStyle={{ - height: 60, + } + title="No stream is active." + subTitle="You should start one." + /> + + There is no stream currently active. Start one. - } + dataSource={data} + renderItem={(item) => ( + + {item.content} + + )} />
);