Projekt

Obecné

Profil

Stáhnout (1.15 KB) Statistiky
| Větev: | Tag: | Revize:
1
import { AnnotationPanel } from '../../components/annotation/AnnotationPanel';
2
import { DocumentAnnotationView } from '../../components/annotation/DocumentAnnotationView';
3
import { TagPanel } from '../../components/annotation/TagPanel';
4
import { MainLayout } from '../../layouts/MainLayout';
5
import 'antd/dist/antd.css';
6
import styles from '/styles/Annotation.module.scss';
7
import AnnotationProvider, { AnnotationContext } from '../../contexts/AnnotationContext';
8

    
9
/**
10
 * Creates an annotation screen.
11
 * @returns The annotation screen.
12
 */
13
function Annotation() {
14
    return (
15
        <AnnotationProvider>
16
            <MainLayout>
17
                <div className={styles.layoutWrapper}>
18
                    <div className={styles.tags}>
19
                        <TagPanel />
20
                    </div>
21
                    <div className={styles.document}>
22
                        <DocumentAnnotationView />
23
                    </div>
24
                    <div className={styles.annotations}>
25
                        <AnnotationPanel />
26
                    </div>
27
                </div>
28
            </MainLayout>
29
        </AnnotationProvider>
30
    );
31
}
32

    
33
export default Annotation;
    (1-1/1)