From 14c6b3bed27777c3a913b5dc8ec2c88e837b5a9b Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Tue, 29 Dec 2020 17:59:30 +0100 Subject: [PATCH] updated layout --- web/pages/help.tsx | 72 +++++++++++++++++++++++++++++++++------------- 1 file changed, 52 insertions(+), 20 deletions(-) diff --git a/web/pages/help.tsx b/web/pages/help.tsx index ba8b21f7f..0d7344493 100644 --- a/web/pages/help.tsx +++ b/web/pages/help.tsx @@ -2,6 +2,10 @@ import { Button, Card, Col, Divider, Row } from 'antd' import Meta from 'antd/lib/card/Meta' import Title from 'antd/lib/typography/Title' import { + AlertOutlined, + AlertTwoTone, + ApiTwoTone, + BookOutlined, BugTwoTone, CameraTwoTone, DatabaseTwoTone, @@ -10,68 +14,71 @@ import { FireFilled, FireOutlined, Html5TwoTone, + LinkOutlined, QuestionCircleFilled, + QuestionCircleTwoTone, SettingTwoTone, SlidersTwoTone, VideoCameraTwoTone } from '@ant-design/icons'; import React from 'react' +import Text from 'antd/lib/typography/Text'; interface Props { } export default function Help(props: Props) { const questions = [ { - icon: , + icon: , title: "I want to configure my owncast instance", content: (
- Learn more + Learn more
) }, { - icon: , + icon: , title: "I need help configuring my broadcasting software", content: ( ) }, { - icon: , + icon: , title: "I want to embed my stream into another site", content: ( ) }, { - icon: , + icon: , title: "I want to customize my website", content: ( ) }, { - icon: , + icon: , title: "I want to tweak my encoding", content: ( ) }, { - icon: , + icon: , title: "I want to offload my video to an external storage provider", content: ( ) }, @@ -79,7 +86,7 @@ export default function Help(props: Props) { const otherResources = [ { - icon: , + icon: , title: "I found a bug", content: (
@@ -87,20 +94,45 @@ export default function Help(props: Props) { Github Issues
) + }, + { + icon: , + title: "I have a general question", + content: ( +
+ Most general questions are answered in our + FAQ +
+ ) + }, + { + icon: , + title: "I want to use the API", + content: ( +
+ You can view the API documentation for either the + latest + or + development + release. +
+ ) } ] return (
- How can we help you? + How can we help you? - - Having issues with owncast? - + + + Troubleshooting + - - Having any questions about owncast? - + + + Documentation +