diff --git a/web/components/layouts/main.tsx b/web/components/layouts/main.tsx index 5c0183fc3..4c5d64040 100644 --- a/web/components/layouts/main.tsx +++ b/web/components/layouts/main.tsx @@ -1,61 +1,19 @@ -import { useRecoilValue } from 'recoil'; -import { Layout, Row, Col } from 'antd'; -import { useState } from 'react'; -import { ServerStatus } from '../../interfaces/server-status.model'; -import { ServerStatusStore, serverStatusState } from '../stores/ServerStatusStore'; -import { ClientConfigStore, clientConfigState } from '../stores/ClientConfigStore'; -import { ClientConfig } from '../../interfaces/client-config.model'; - -const { Header, Content, Footer, Sider } = Layout; +import { Layout } from 'antd'; +import { ServerStatusStore } from '../stores/ServerStatusStore'; +import { ClientConfigStore } from '../stores/ClientConfigStore'; +import { Content, Footer, Header, Sidebar } from '../ui'; function Main() { - const serverStatus = useRecoilValue(serverStatusState); - const clientConfig = useRecoilValue(clientConfigState); - - const { name, version, extraPageContent } = clientConfig; - const [chatCollapsed, setChatCollapsed] = useState(false); - - const toggleChatCollapsed = () => { - setChatCollapsed(!chatCollapsed); - }; - return ( <> - - + +
-
- {name} - -
- -
- - Video player goes here - - - - - - -
-
-
Footer: Owncast {version}
+ +