zeeguu / web

Frontend for the zeeguu web application.
https://www.zeeguu.org
3 stars 5 forks source link

Helper Method to get Static Images #393

Closed tfnribeiro closed 1 month ago

tfnribeiro commented 1 month ago

As raised in issue 386, we have to import APP_DOMAIN and remember to concatenate it to all static paths when setting the source for an image.

Here is my proposal to fix this, by having a getStaticPath, which expects the folder + image name to make the concatenation.

netlify[bot] commented 1 month ago

Deploy Preview for voluble-nougat-015dd1 ready!

Name Link
Latest commit ea5ab91d8f714bfc55f5690abda7160e432721f9
Latest deploy log https://app.netlify.com/sites/voluble-nougat-015dd1/deploys/6659b64cb08fec0008d6c8d8
Deploy Preview https://deploy-preview-393--voluble-nougat-015dd1.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 configuration.