]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/pages/Map.js
add helmet
[alttp.git] / resources / js / components / pages / Map.js
index d8a10393d12a0c70292ceb4307e682594c4c4569..cbd3581d8d4a90c1266d2c74a4bff2451a1fcc95 100644 (file)
@@ -1,8 +1,10 @@
 import React from 'react';
 import { Container } from 'react-bootstrap';
+import { Helmet } from 'react-helmet';
 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';
 
@@ -11,6 +13,10 @@ const Map = () => {
        const { t } = useTranslation();
 
        return <Container fluid>
+               <Helmet>
+                       <title>{t('map.heading')}</title>
+                       <meta name="description" content={t('map.description')} />
+               </Helmet>
                <OpenSeadragon ref={container}>
                        <div className="d-flex align-items-center justify-content-between">
                                <h1>{t('map.heading')}</h1>
@@ -18,6 +24,7 @@ const Map = () => {
                        </div>
                        <div ref={container} style={{ height: '80vh' }} />
                        <Pins />
+                       <List />
                </OpenSeadragon>
        </Container>;
 };