Projekt

Obecné

Profil

Stáhnout (1.13 KB) Statistiky
| Větev: | Tag: | Revize:
1 c73aecde Dominik Poch
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 6d10fe14 Dominik Poch
import 'antd/dist/antd.css';
6 c73aecde Dominik Poch
import styles from '/styles/Annotation.module.scss';
7 acb8a961 Dominik Poch
import AnnotationProvider from '../../contexts/AnnotationContext';
8 6d10fe14 Dominik Poch
9
/**
10
 * Creates an annotation screen.
11
 * @returns The annotation screen.
12
 */
13
function Annotation() {
14
    return (
15 c057279b Lukáš Vlček
        <AnnotationProvider>
16
            <MainLayout>
17 c73aecde Dominik Poch
                <div className={styles.layoutWrapper}>
18 c057279b Lukáš Vlček
                    <div className={styles.tags}>
19
                        <TagPanel />
20
                    </div>
21
                    <div className={styles.document}>
22
                        <DocumentAnnotationView />
23
                    </div>
24
                    <div className={styles.annotations}>
25 c73aecde Dominik Poch
                        <AnnotationPanel />
26 c057279b Lukáš Vlček
                    </div>
27 ce63b2ab Dominik Poch
                </div>
28 c057279b Lukáš Vlček
            </MainLayout>
29
        </AnnotationProvider>
30 6d10fe14 Dominik Poch
    );
31
}
32
33
export default Annotation;