]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/pages/Map.js
list items shown on map
[alttp.git] / resources / js / components / pages / Map.js
index 50a28fbfe1bf89a731addb2607f34bc5b2197c55..841227cd4ac45a8c5ac0433359748b4bf0c3ca2d 100644 (file)
@@ -3,12 +3,18 @@ import { Container } from 'react-bootstrap';
 import { useTranslation } from 'react-i18next';
 
 import Buttons from '../map/Buttons';
+import List from '../map/List';
 import OpenSeadragon from '../map/OpenSeadragon';
+import Pins from '../map/Pins';
 
 const Map = () => {
        const container = React.useRef();
        const { t } = useTranslation();
 
+       React.useEffect(() => {
+               window.document.title = t('map.heading');
+       }, []);
+
        return <Container fluid>
                <OpenSeadragon ref={container}>
                        <div className="d-flex align-items-center justify-content-between">
@@ -16,6 +22,8 @@ const Map = () => {
                                <Buttons />
                        </div>
                        <div ref={container} style={{ height: '80vh' }} />
+                       <Pins />
+                       <List />
                </OpenSeadragon>
        </Container>;
 };