move components folder and fix build errors (#18)

* move components folder and fix build errors

Fixes https://github.com/owncast/owncast/issues/689

* Prettified Code!

Co-authored-by: nebunez <nebunez@users.noreply.github.com>
This commit is contained in:
nebunez
2021-02-06 22:38:58 -05:00
committed by GitHub
parent 900a07f948
commit a123967645
41 changed files with 290 additions and 291 deletions

View File

@@ -1,8 +1,8 @@
import React from 'react';
import { Typography } from 'antd';
import VideoVariantsTable from './components/config/video-variants-table';
import VideoLatency from './components/config/video-latency';
import VideoVariantsTable from '../components/config/video-variants-table';
import VideoLatency from '../components/config/video-latency';
const { Title } = Typography;
@@ -11,18 +11,20 @@ export default function ConfigVideoSettings() {
<div className="config-video-variants">
<Title level={2}>Video configuration</Title>
<p>
Before changing your video configuration <a href="https://owncast.online/docs/encoding">visit the video documentation</a>{' '}
to learn how it impacts your stream performance.
Before changing your video configuration{' '}
<a href="https://owncast.online/docs/encoding">visit the video documentation</a> to learn
how it impacts your stream performance.
</p>
<p>
<VideoVariantsTable />
</p>
<br/><hr/><br/>
<p>
<VideoLatency />
</p>
<p>
<VideoVariantsTable />
</p>
<br />
<hr />
<br />
<p>
<VideoLatency />
</p>
</div>
);
}