diff --git a/web/pages/index.tsx b/web/pages/index.tsx index 1b7077f0e..dacd1cd5d 100644 --- a/web/pages/index.tsx +++ b/web/pages/index.tsx @@ -8,12 +8,13 @@ TODO: Link each overview value to the sub-page that focuses on it. */ import React, { useState, useEffect, useContext } from "react"; -import { Row, Skeleton, Result, List, Typography, Card } from "antd"; +import { Row, Skeleton, Typography } from "antd"; import { UserOutlined, ClockCircleOutlined } from "@ant-design/icons"; import { formatDistanceToNow, formatRelative } from "date-fns"; import { BroadcastStatusContext } from "../utils/broadcast-status-context"; import StatisticItem from "./components/statistic" import LogTable from "./components/log-table"; +import Offline from './offline-notice'; import { STREAM_STATUS, @@ -23,65 +24,11 @@ import { FETCH_INTERVAL, } from "../utils/apis"; import { formatIPAddress, isEmptyObject } from "../utils/format"; -import OwncastLogo from "./components/logo" const { Title } = Typography; -function Offline() { - const data = [ - { - title: "Send some test content", - content: ( -
- ./test/ocTestStream.sh yourVideo.mp4 --
+ ./test/ocTestStream.sh yourVideo.mp4 ++ + ), + }, + { + title: "Use your broadcasting software", + content: ( + + ) + }, + { + title: "Something else", + }, + ]; + return ( +