1 import React from 'react';
2 import { Container } from 'react-bootstrap';
3 import { useTranslation } from 'react-i18next';
5 import Buttons from '../map/Buttons';
6 import OpenSeadragon from '../map/OpenSeadragon';
7 import Pins from '../map/Pins';
10 const container = React.useRef();
11 const { t } = useTranslation();
13 React.useEffect(() => {
14 window.document.title = t('map.heading');
17 return <Container fluid>
18 <OpenSeadragon ref={container}>
19 <div className="d-flex align-items-center justify-content-between">
20 <h1>{t('map.heading')}</h1>
23 <div ref={container} style={{ height: '80vh' }} />