import { Button, Card, Col, Divider, Result, Row } from 'antd'; import Meta from 'antd/lib/card/Meta'; import Title from 'antd/lib/typography/Title'; import React, { ReactElement } from 'react'; import dynamic from 'next/dynamic'; import { useTranslation } from 'next-export-i18n'; import { AdminLayout } from '../../components/layouts/AdminLayout'; // Lazy loaded components const ApiTwoTone = dynamic(() => import('@ant-design/icons/ApiTwoTone'), { ssr: false, }); const BugTwoTone = dynamic(() => import('@ant-design/icons/BugTwoTone'), { ssr: false, }); const CameraTwoTone = dynamic(() => import('@ant-design/icons/CameraTwoTone'), { ssr: false, }); const DatabaseTwoTone = dynamic(() => import('@ant-design/icons/DatabaseTwoTone'), { ssr: false, }); const EditTwoTone = dynamic(() => import('@ant-design/icons/EditTwoTone'), { ssr: false, }); const Html5TwoTone = dynamic(() => import('@ant-design/icons/Html5TwoTone'), { ssr: false, }); const LinkOutlined = dynamic(() => import('@ant-design/icons/LinkOutlined'), { ssr: false, }); const QuestionCircleTwoTone = dynamic(() => import('@ant-design/icons/QuestionCircleTwoTone'), { ssr: false, }); const SettingTwoTone = dynamic(() => import('@ant-design/icons/SettingTwoTone'), { ssr: false, }); const SlidersTwoTone = dynamic(() => import('@ant-design/icons/SlidersTwoTone'), { ssr: false, }); export default function Help() { const { t } = useTranslation(); const questions = [ { icon: , title: t('I want to configure my owncast instance'), content: (
{t('Learn more')}
), }, { icon: , title: t('Help configuring my broadcasting software'), content: (
{t('Learn more')}
), }, { icon: , title: t('I want to embed my stream into another site'), content: (
{t('Learn more')}
), }, { icon: , title: t('I want to customize my website'), content: (
{t('Learn more')}
), }, { icon: , title: t('I want to tweak my video output'), content: ( ), }, { icon: , title: t('I want to use an external storage provider'), content: ( ), }, ]; const otherResources = [ { icon: , title: t('I found a bug'), content: (
{t('If you found a bug, then please')} {' '} {t('let us know')}
), }, { icon: , title: t('I have a general question'), content: (
{t('Most general questions are answered in our')} {' '} {t('FAQ')} {' '} {t('or exist in our')}{' '} {t('discussions')}
), }, { icon: , title: t('I want to build add-ons for Owncast'), content: (
{t('You can build your own bots, overlays, tools and add-ons with our')}  {t('developer APIs.')} 
), }, ]; return (
{t('How can we help you?')} {t('Troubleshooting')} {t('Documentation')} {t('Common tasks')} {questions.map(question => ( ))} {t('Other')} {otherResources.map(question => ( ))}
); } Help.getLayout = function getLayout(page: ReactElement) { return ; };