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,26 @@
import { useRecoilValue } from 'recoil';
import { clientConfigState } from '../../stores/ClientConfigStore';
import { ClientConfig } from '../../../interfaces/client-config.model';
import { Layout, Row, Col } from 'antd';
const { Content } = Layout;
export default function FooterComponent() {
const clientConfig = useRecoilValue<ClientConfig>(clientConfigState);
const { extraPageContent } = clientConfig;
return (
<Content style={{ margin: '80px 16px 0', overflow: 'initial' }}>
<div>
<Row>
<Col span={24}>Video player goes here</Col>
</Row>
<Row>
<Col span={24}>
<Content dangerouslySetInnerHTML={{ __html: extraPageContent }} />
</Col>
</Row>
</div>
</Content>
);
}