]> git.localhorst.tv Git - alttp.git/blob - resources/js/components/pages/Map.js
50a28fbfe1bf89a731addb2607f34bc5b2197c55
[alttp.git] / resources / js / components / pages / Map.js
1 import React from 'react';
2 import { Container } from 'react-bootstrap';
3 import { useTranslation } from 'react-i18next';
4
5 import Buttons from '../map/Buttons';
6 import OpenSeadragon from '../map/OpenSeadragon';
7
8 const Map = () => {
9         const container = React.useRef();
10         const { t } = useTranslation();
11
12         return <Container fluid>
13                 <OpenSeadragon ref={container}>
14                         <div className="d-flex align-items-center justify-content-between">
15                                 <h1>{t('map.heading')}</h1>
16                                 <Buttons />
17                         </div>
18                         <div ref={container} style={{ height: '80vh' }} />
19                 </OpenSeadragon>
20         </Container>;
21 };
22
23 export default Map;