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