restructured components folders and layout (#1886)

This commit is contained in:
t1enne
2022-04-28 18:54:33 +02:00
committed by GitHub
parent 91b0db9c2e
commit b90eadcb4e
12 changed files with 109 additions and 50 deletions

View File

@@ -0,0 +1,13 @@
import { useRecoilValue } from 'recoil';
import { clientConfigState } from '../../stores/ClientConfigStore';
import { ClientConfig } from '../../../interfaces/client-config.model';
import { Layout } from 'antd';
const { Footer } = Layout;
export default function FooterComponent() {
const clientConfig = useRecoilValue<ClientConfig>(clientConfigState);
const { version } = clientConfig;
return <Footer style={{ textAlign: 'center' }}>Footer: Owncast {version}</Footer>;
}

View File

@@ -0,0 +1 @@
export { default } from './Footer';