X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fpages%2FMap.js;h=8291ef2e982fc9a544fc8e4c6a4d4c51ad5b843c;hb=2dd77d469225174b6b37509fce43b92f451412e7;hp=d8a10393d12a0c70292ceb4307e682594c4c4569;hpb=f17b9f3b6f7f9e678c681c719eea6fb5c41a387f;p=alttp.git diff --git a/resources/js/components/pages/Map.js b/resources/js/components/pages/Map.js index d8a1039..8291ef2 100644 --- a/resources/js/components/pages/Map.js +++ b/resources/js/components/pages/Map.js @@ -1,23 +1,38 @@ import React from 'react'; import { Container } from 'react-bootstrap'; +import { Helmet } from 'react-helmet'; import { useTranslation } from 'react-i18next'; +import { useParams } from 'react-router'; +import CanonicalLinks from '../common/CanonicalLinks'; import Buttons from '../map/Buttons'; +import List from '../map/List'; import OpenSeadragon from '../map/OpenSeadragon'; import Pins from '../map/Pins'; +import UWSuperTiles from '../map/UWSuperTiles'; const Map = () => { + const [uwOverlay, setUWOverlay] = React.useState(false); + + const { activeMap } = useParams(); const container = React.useRef(); const { t } = useTranslation(); return + + {t('map.heading')} - {t(`map.${activeMap}Long`)} + + + -
-

{t('map.heading')}

- +
+

{t('map.heading')} - {t(`map.${activeMap}Long`)}

+
+ + ; };