Reorganize admin pages and consolidate some sections. For #1904

This commit is contained in:
Gabe Kangas
2022-12-27 18:48:21 -08:00
parent 389ba36f15
commit 5a41f4a1ea
15 changed files with 123 additions and 87 deletions

View File

@@ -0,0 +1,34 @@
import React from 'react';
import { Tabs } from 'antd';
import StreamKeys from './StreamKeys';
import ServerConfig from './ServerConfig';
import StorageConfig from './StorageConfig';
export default function PublicFacingDetails() {
return (
<div className="config-public-details-page">
<Tabs
defaultActiveKey="1"
centered
items={[
{
label: `Server Config`,
key: '1',
children: <ServerConfig />,
},
{
label: `Stream Keys`,
key: '2',
children: <StreamKeys />,
},
{
label: `S3 Object Storage`,
key: '3',
children: <StorageConfig />,
},
]}
/>
</div>
);
}