vevcom / projectNext

Project Next is Omegas new website coming soon
MIT License
8 stars 0 forks source link

Feat/mazemap #221

Closed Paulijuz closed 6 months ago

Paulijuz commented 7 months ago

The map on the front page has been broken for a while so I tough I should probably do something about it now. I found out that by simply setting the key to a blank string instead of 'no_key' all the errors went away and the map appeard again, but with the watermark "for development purposes only" and over google hq instead of lophet. So that was boring.

Then I remembered that mazemap exists. And so I implemented a simple component for a mazemap iframe. I also changed a the styling of the map a bit (it has rounded edges now so Johan will probably like it).

The only issue with mazemap is that it doesn't require holding shift to zoom. This means that when you scroll down the frontpage and you mouse hit's the map you stop scrolling and start zooming, which is a bit annoying. But oh well, we have a working map now at least.

This pr closes #78