import Link from 'next/link';
import { Result, Card, Row, Col } from 'antd';
import {
MessageTwoTone,
QuestionCircleTwoTone,
BookTwoTone,
PlaySquareTwoTone,
ProfileTwoTone,
} from '@ant-design/icons';
import OwncastLogo from '../components/logo';
import LogTable from '../components/log-table';
const { Meta } = Card;
export default function Offline({ logs = [], config }) {
const data = [
{
icon: ,
title: 'Use your broadcasting software',
content: (
),
},
{
icon: ,
title: 'Chat is disabled',
content: 'Chat will continue to be disabled until you begin a live stream.',
},
{
icon: ,
title: 'Embed your video onto other sites',
content: (
),
},
{
icon: ,
title: 'Not sure what to do next?',
content: (
If you're having issues or would like to know how to customize and configure your
Owncast server visit the help page.
),
},
];
if (!config?.yp?.enabled) {
data.push({
icon: ,
title: 'Find an audience on the Owncast Directory',
content: (
List yourself in the Owncast Directory and show off your stream. Enable it in{' '}
settings.
),
});
}
return (
<>
}
title="No stream is active."
subTitle="You should start one."
/>
{data.map(item => (
))}
>
);
}