dhmit / paris_1970

Fall 2020 Project: This was Paris in 1970
9 stars 5 forks source link

Update map square content formatting #274

Closed D4S44K closed 1 year ago

D4S44K commented 1 year ago

I attempted to format the photographs on the side panel that appears when a user clicks a map square so that they look more like the design on Figma. Originally, miniature versions of every photograph from the map square were used which did not use up all of the space of the panel, as shown below.

image

The changes I made are as follows:

This is what the panel looks like after my changes:

image

I could not finish coding all of the changes that I was trying to make. In particular, I did not get to finish adding a photographer caption to each photo. In the code, I created a new method called getPhotoGridForMapSquare() with the intent of modifying the code from getPhotoGrid() to put a div around each photo so that a caption could be added. Currently, the getPhotoGridForMapSquare() method is identical to getPhotoGrid().