updated layout
This commit is contained in:
@@ -2,6 +2,10 @@ import { Button, Card, Col, Divider, Row } from 'antd'
|
|||||||
import Meta from 'antd/lib/card/Meta'
|
import Meta from 'antd/lib/card/Meta'
|
||||||
import Title from 'antd/lib/typography/Title'
|
import Title from 'antd/lib/typography/Title'
|
||||||
import {
|
import {
|
||||||
|
AlertOutlined,
|
||||||
|
AlertTwoTone,
|
||||||
|
ApiTwoTone,
|
||||||
|
BookOutlined,
|
||||||
BugTwoTone,
|
BugTwoTone,
|
||||||
CameraTwoTone,
|
CameraTwoTone,
|
||||||
DatabaseTwoTone,
|
DatabaseTwoTone,
|
||||||
@@ -10,68 +14,71 @@ import {
|
|||||||
FireFilled,
|
FireFilled,
|
||||||
FireOutlined,
|
FireOutlined,
|
||||||
Html5TwoTone,
|
Html5TwoTone,
|
||||||
|
LinkOutlined,
|
||||||
QuestionCircleFilled,
|
QuestionCircleFilled,
|
||||||
|
QuestionCircleTwoTone,
|
||||||
SettingTwoTone,
|
SettingTwoTone,
|
||||||
SlidersTwoTone,
|
SlidersTwoTone,
|
||||||
VideoCameraTwoTone
|
VideoCameraTwoTone
|
||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import Text from 'antd/lib/typography/Text';
|
||||||
|
|
||||||
interface Props { }
|
interface Props { }
|
||||||
|
|
||||||
export default function Help(props: Props) {
|
export default function Help(props: Props) {
|
||||||
const questions = [
|
const questions = [
|
||||||
{
|
{
|
||||||
icon: <SettingTwoTone />,
|
icon: <SettingTwoTone style={{ fontSize: '24px' }} />,
|
||||||
title: "I want to configure my owncast instance",
|
title: "I want to configure my owncast instance",
|
||||||
content: (
|
content: (
|
||||||
<div>
|
<div>
|
||||||
<a href="https://owncast.online/docs/configuration/" target="_blank" rel="noopener noreferrer">Learn more</a>
|
<a href="https://owncast.online/docs/configuration/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: <CameraTwoTone />,
|
icon: <CameraTwoTone style={{ fontSize: '24px' }} />,
|
||||||
title: "I need help configuring my broadcasting software",
|
title: "I need help configuring my broadcasting software",
|
||||||
content: (
|
content: (
|
||||||
<div>
|
<div>
|
||||||
<a href="https://owncast.online/docs/broadcasting/" target="_blank" rel="noopener noreferrer">Learn more</a>
|
<a href="https://owncast.online/docs/broadcasting/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: <Html5TwoTone />,
|
icon: <Html5TwoTone style={{ fontSize: '24px' }} />,
|
||||||
title: "I want to embed my stream into another site",
|
title: "I want to embed my stream into another site",
|
||||||
content: (
|
content: (
|
||||||
<div>
|
<div>
|
||||||
<a href="https://owncast.online/docs/embed/" target="_blank" rel="noopener noreferrer">Learn more</a>
|
<a href="https://owncast.online/docs/embed/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: <EditTwoTone />,
|
icon: <EditTwoTone style={{ fontSize: '24px' }} />,
|
||||||
title: "I want to customize my website",
|
title: "I want to customize my website",
|
||||||
content: (
|
content: (
|
||||||
<div>
|
<div>
|
||||||
<a href="https://owncast.online/docs/website/" target="_blank" rel="noopener noreferrer">Learn more</a>
|
<a href="https://owncast.online/docs/website/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: <SlidersTwoTone />,
|
icon: <SlidersTwoTone style={{ fontSize: '24px' }} />,
|
||||||
title: "I want to tweak my encoding",
|
title: "I want to tweak my encoding",
|
||||||
content: (
|
content: (
|
||||||
<div>
|
<div>
|
||||||
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer">Learn more</a>
|
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
icon: <DatabaseTwoTone />,
|
icon: <DatabaseTwoTone style={{ fontSize: '24px' }} />,
|
||||||
title: "I want to offload my video to an external storage provider",
|
title: "I want to offload my video to an external storage provider",
|
||||||
content: (
|
content: (
|
||||||
<div>
|
<div>
|
||||||
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer">Learn more</a>
|
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer"><LinkOutlined/> Learn more</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
@@ -79,7 +86,7 @@ export default function Help(props: Props) {
|
|||||||
|
|
||||||
const otherResources = [
|
const otherResources = [
|
||||||
{
|
{
|
||||||
icon: <BugTwoTone />,
|
icon: <BugTwoTone style={{ fontSize: '24px' }} />,
|
||||||
title: "I found a bug",
|
title: "I found a bug",
|
||||||
content: (
|
content: (
|
||||||
<div>
|
<div>
|
||||||
@@ -87,20 +94,45 @@ export default function Help(props: Props) {
|
|||||||
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer"> Github Issues</a>
|
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer"> Github Issues</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: <QuestionCircleTwoTone style={{ fontSize: '24px' }} />,
|
||||||
|
title: "I have a general question",
|
||||||
|
content: (
|
||||||
|
<div>
|
||||||
|
Most general questions are answered in our
|
||||||
|
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer"> FAQ</a>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
icon: <ApiTwoTone style={{ fontSize: '24px' }} />,
|
||||||
|
title: "I want to use the API",
|
||||||
|
content: (
|
||||||
|
<div>
|
||||||
|
You can view the API documentation for either the
|
||||||
|
<a href="https://owncast.online/api/latest" target="_blank" rel="noopener noreferrer"> latest</a>
|
||||||
|
or
|
||||||
|
<a href="https://owncast.online/api/development" target="_blank" rel="noopener noreferrer"> development</a>
|
||||||
|
release.
|
||||||
|
</div>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Title>How can we help you?</Title>
|
<Title style={{textAlign: 'center'}}>How can we help you?</Title>
|
||||||
<Row gutter={[16, 16]} justify="space-around" align="middle">
|
<Row gutter={[16, 16]} justify="space-around" align="middle">
|
||||||
<Col span={12}>
|
<Col span={12} style={{textAlign: 'center'}}>
|
||||||
<Title level={2}>Having issues with owncast?</Title>
|
<AlertOutlined style={{ fontSize: '64px' }}/>
|
||||||
<Button href="https://owncast.online/docs/troubleshooting/" icon={<FireFilled/>} type="primary">Try Troubleshooting</Button>
|
<Title level={2}>Troubleshooting</Title>
|
||||||
|
<Button href="https://owncast.online/docs/troubleshooting/" icon={<LinkOutlined/>} type="primary">Read Troubleshoting</Button>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={12} style={{textAlign: 'center'}}>
|
||||||
<Title level={2}>Having any questions about owncast?</Title>
|
<BookOutlined style={{ fontSize: '64px' }}/>
|
||||||
<Button href="https://owncast.online/docs/faq/" icon={<QuestionCircleFilled/>} type="primary">Read our FAQ</Button>
|
<Title level={2}>Documentation</Title>
|
||||||
|
<Button href="https://owncast.online/docs/faq/" icon={<LinkOutlined/>} type="primary">Read the Docs</Button>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|||||||
Reference in New Issue
Block a user