X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fpages%2FMap.js;h=8291ef2e982fc9a544fc8e4c6a4d4c51ad5b843c;hb=5a0be9cded90d70dd16a56d30b4804dbd830aa0f;hp=50a28fbfe1bf89a731addb2607f34bc5b2197c55;hpb=18424fc6de2fc902ee2b2d3143955081263adff4;p=alttp.git diff --git a/resources/js/components/pages/Map.js b/resources/js/components/pages/Map.js index 50a28fb..8291ef2 100644 --- a/resources/js/components/pages/Map.js +++ b/resources/js/components/pages/Map.js @@ -1,21 +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`)}

+
+ + + ; };