Link to new help page from offline notice

This commit is contained in:
Gabe Kangas
2021-01-04 12:28:09 -08:00
parent 611b5dd9a2
commit cdd3525e4e
2 changed files with 7 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ export default function Help(props: Props) {
}, },
{ {
icon: <SlidersTwoTone style={{ fontSize: '24px' }} />, icon: <SlidersTwoTone style={{ fontSize: '24px' }} />,
title: "I want to tweak my encoding", title: "I want to tweak my encoding quality or performance",
content: ( content: (
<div> <div>
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a> <a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a>
@@ -83,8 +83,8 @@ export default function Help(props: Props) {
title: "I found a bug", title: "I found a bug",
content: ( content: (
<div> <div>
If you found a bug, then report it in our If you found a bug, then please
<a href="https://github.com/owncast/owncast/" target="_blank" rel="noopener noreferrer"> Github Issues</a> <a href="https://github.com/owncast/owncast/issues/new/choose" target="_blank" rel="noopener noreferrer"> let us know</a>
</div> </div>
) )
}, },
@@ -94,7 +94,7 @@ export default function Help(props: Props) {
content: ( content: (
<div> <div>
Most general questions are answered in our Most general questions are answered in our
<a href="https://owncast.online/docs/faq/" target="_blank" rel="noopener noreferrer"> FAQ</a> <a href="https://owncast.online/docs/faq/" target="_blank" rel="noopener noreferrer"> FAQ</a> or exist in our <a href="https://github.com/owncast/owncast/discussions">discussions</a>
</div> </div>
) )
}, },

View File

@@ -2,6 +2,7 @@ import { Result, Card } from "antd";
import { MessageTwoTone, QuestionCircleTwoTone, BookTwoTone, PlaySquareTwoTone } from '@ant-design/icons'; import { MessageTwoTone, QuestionCircleTwoTone, BookTwoTone, PlaySquareTwoTone } from '@ant-design/icons';
import OwncastLogo from "./components/logo" import OwncastLogo from "./components/logo"
import LogTable from "./components/log-table"; import LogTable from "./components/log-table";
import Link from 'next/link';
const { Meta } = Card; const { Meta } = Card;
@@ -32,12 +33,10 @@ export default function Offline({ logs = [] }) {
}, },
{ {
icon: <QuestionCircleTwoTone twoToneColor="#ffd33d" />, icon: <QuestionCircleTwoTone twoToneColor="#ffd33d" />,
title: "Need some help?", title: "Not sure what to do next?",
content: ( content: (
<div> <div>
Take a look at our <a target="_blank" href="https://owncast.online/docs/troubleshooting">troubleshooting steps </a> If you're having issues or would like to know how to customize and configure your Owncast server visit <Link href="/help">the help page.</Link>
to see if there's any common problems you're running into. If you still have questions <a target="_blank" href="https://github.com/owncast/owncast/issues/new/choose">
let us know how we can help</a>.
</div> </div>
), ),
} }