1 |
6d10fe14
|
Dominik Poch
|
import { Layout } from 'antd';
|
2 |
|
|
import { AnnotationPanel } from '../../components/annotation/annotationPanel';
|
3 |
|
|
import { DocumentAnnotationView } from '../../components/annotation/documentAnnotationView';
|
4 |
|
|
import { TagPanel } from '../../components/annotation/tagPanel';
|
5 |
|
|
import { MainLayout } from '../../layouts/mainLayout';
|
6 |
|
|
import 'antd/dist/antd.css';
|
7 |
|
|
import styles from '/styles/annotation.module.scss';
|
8 |
|
|
|
9 |
|
|
const { Content, Sider } = Layout;
|
10 |
|
|
|
11 |
|
|
/**
|
12 |
|
|
* Creates an annotation screen.
|
13 |
|
|
* @returns The annotation screen.
|
14 |
|
|
*/
|
15 |
|
|
function Annotation() {
|
16 |
|
|
return (
|
17 |
|
|
<MainLayout>
|
18 |
|
|
<Layout hasSider>
|
19 |
|
|
<Sider className={styles.leftSidePanel}>
|
20 |
|
|
<TagPanel />
|
21 |
|
|
</Sider>
|
22 |
|
|
<Content className={styles.mainView}>
|
23 |
|
|
<DocumentAnnotationView />
|
24 |
|
|
</Content>
|
25 |
|
|
<Sider className={styles.rightSidePanel}>
|
26 |
|
|
<AnnotationPanel />
|
27 |
|
|
</Sider>
|
28 |
|
|
</Layout>
|
29 |
|
|
</MainLayout>
|
30 |
|
|
);
|
31 |
|
|
}
|
32 |
|
|
|
33 |
|
|
export default Annotation;
|