vkoves / electrify-chicago

Learn about Chicago's most polluting buildings, and what they can do to clean up their act!
http://electrifychicago.net
9 stars 5 forks source link

Add new /building-id/:ID route #28

Closed vkoves closed 1 year ago

vkoves commented 1 year ago

Adds a new /buidling-id/:ID route that can pull up a building based solely by its building ID and then redirects to the appropriate page:

https://github.com/vkoves/electrify-chicago/assets/3187531/fc8682e8-a1bc-47e8-a39d-4ba5efd8bf1b

netlify[bot] commented 1 year ago

Deploy Preview for radiant-cucurucho-d09bae ready!

Name Link
Latest commit b1e57de5331516384e4ce4ec62ff8242eda17655
Latest deploy log https://app.netlify.com/sites/radiant-cucurucho-d09bae/deploys/648a49be8e079e00097f22ae
Deploy Preview https://deploy-preview-28--radiant-cucurucho-d09bae.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

vkoves commented 1 year ago

This might help do this with a redirect: https://www.andrewrowland.com/how-to-generate-redirects-in-gridsome/