Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically Display Gallery #97

Open
4 tasks
clementine-smart opened this issue Jul 11, 2022 · 0 comments
Open
4 tasks

Dynamically Display Gallery #97

clementine-smart opened this issue Jul 11, 2022 · 0 comments
Assignees
Labels

Comments

@clementine-smart
Copy link
Contributor

clementine-smart commented Jul 11, 2022

Dependent on ticket #14 & #87 & Display a photo gallery using LightGallery.js #1 being completed. Lightgallery will be already implemented by ticket #1 but only rendering hardcoded images.

Your task is to dynamically display photos for each garden in the lightGallery.js in the gallery component

The server-side route is ready to be consumed from front-end. You will need to use the Consume function in consume.js to make an API request. Have a look at some of the helper functions in other components to see how they have used it.

The routes are in server/routes/gallery.js. Make sure you understand the shape of the data you are consuming, it will be important when passing it to lightGallery.

  • Do a bit of research so you understand how lightGallery.js works
  • Dynamically render the gallery images in the gallery component
  • Remove the hardcoded images
  • Write tests, run linting etc...
@mano-pihema mano-pihema self-assigned this Jul 11, 2022
@yiyuchen-nz yiyuchen-nz self-assigned this Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants